drm/amd/display: Add ips status info to debugfs
authorRoman Li <roman.li@amd.com>
Tue, 7 May 2024 20:04:50 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 May 2024 20:20:24 +0000 (16:20 -0400)
commitecfd1bc18a5b8c5b679513f75c75ad2b8deafa13
tree5b88dd5b0804219e9f8d44a45d7a4bd86c878f7a
parenta329598e9eab8cb0f33ec0ede1f7a4e290b1be1c
drm/amd/display: Add ips status info to debugfs

[Why]
For debugging and testing purposes.

[How]
If IPS is supported create ips_status debugfs entry.
Usage: cat /sys/kernel/debug/dri/0/amdgpu_dm_ips_status

Reviewed-by: Jerry Zuo <jerry.zuo@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c