diff options
author | Tom Chung <[email protected]> | 2024-04-17 17:29:42 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-05-08 14:56:51 -0400 |
commit | 504a336a57df8e5c7e136b1a594ffc4a1875dae8 (patch) | |
tree | c3aede7e3aedb99395783c7a22daa455143aaa74 /drivers/gpu/drm/amd/display/dc/inc/clock_source.h | |
parent | 23554c3ec85a7d7300f896e5a75bbb1e6a06f5c6 (diff) |
drm/amd/display: Add Replay capability and state in debugfs
[Why & How]
User can get the panel replay capability and state for debug.
sudo cat /sys/kernel/debug/dri/0/eDP-1/replay_capability
"Sink support: no" - if panel doesn't support Replay
"Sink support: yes" - if panel supports Replay
"Driver support: no\n" - if driver doesn't support Replay
"Driver support: yes\n" - if driver supports Replay
sudo cat /sys/kernel/debug/dri/0/eDP-1/replay_state
It will return current panel replay state
Reviewed-by: Sun peng Li <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/clock_source.h')
0 files changed, 0 insertions, 0 deletions