]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Add IPS residency info to debugfs
authorRay Wu <ray.wu@amd.com>
Tue, 6 Jan 2026 09:58:48 +0000 (17:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:25:04 +0000 (17:25 -0500)
commitd5db4f88e0db6fdbc3f3681458132c0d18a44a29
treed746715eb9c9ebb42803433642efe5677658725f
parenta625dc4989a2affb8f06e7b418bf30e1474b99c1
drm/amd/display: Add IPS residency info to debugfs

[Why]
For debugging and testing purpose

[How]
Usage:
- echo 1 > /sys/kernel/debug/dri/0/amdgpu_dm_ips_residency_cntl
- echo 0 > /sys/kernel/debug/dri/0/amdgpu_dm_ips_residency_cntl
- cat /sys/kernel/debug/dri/0/amdgpu_dm_ips_residency

Reviewed-by: ChiaHsuan (Tom) Chung <chiahsuan.chung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan 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