diff options
author | Tom Chung <chiahsuan.chung@amd.com> | 2024-04-17 17:29:42 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-08 14:56:51 -0400 |
commit | 504a336a57df8e5c7e136b1a594ffc4a1875dae8 (patch) | |
tree | c3aede7e3aedb99395783c7a22daa455143aaa74 /drivers/extcon/extcon-qcom-spmi-misc.c | |
parent | 23554c3ec85a7d7300f896e5a75bbb1e6a06f5c6 (diff) | |
download | linux-504a336a57df8e5c7e136b1a594ffc4a1875dae8.tar.gz linux-504a336a57df8e5c7e136b1a594ffc4a1875dae8.tar.bz2 linux-504a336a57df8e5c7e136b1a594ffc4a1875dae8.zip |
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 <sunpeng.li@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/extcon/extcon-qcom-spmi-misc.c')
0 files changed, 0 insertions, 0 deletions