diff options
| author | John Keeping <[email protected]> | 2023-04-20 10:38:04 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2023-10-24 03:20:57 +0000 |
| commit | e43d31915cc4fca4e04daeca6c0ff25cc57cf956 (patch) | |
| tree | 47d6133cd16753f97eb293f04d6335fc4234a89e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | clk: Show active consumers of clocks in debugfs (diff) | |
| download | kernel-e43d31915cc4fca4e04daeca6c0ff25cc57cf956.tar.gz kernel-e43d31915cc4fca4e04daeca6c0ff25cc57cf956.zip | |
clk: Allow phase adjustment from debugfs
For testing it may be useful to manually adjust a clock's phase. Add
support for writing to the existing clk_phase debugfs file, with the
written value clamped to [0, 360) to match the behaviour of the
clk_set_phase() function.
This is a dangerous feature, so use the existing define
CLOCK_ALLOW_WRITE_DEBUGFS to allow it only if the source is modified.
Signed-off-by: John Keeping <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
