]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Expose connector VRR range via debugfs
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 24 Jan 2019 17:06:00 +0000 (12:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Feb 2019 19:12:25 +0000 (14:12 -0500)
commit02cf4bd1320785e0d8c444879d354753d99202f3
tree3c5c2937ea9a4e25f694e8065bea32e7bee31aa2
parente9c3dd9b478b674f244ababbecdac28e4b5014ab
drm/amd/display: Expose connector VRR range via debugfs

[Why]
It's useful to know the min and max vrr range for IGT testing.

[How]
Expose the min and max vfreq for the connector via a debugfs file
on the connector, "vrr_range".

Example usage: cat /sys/kernel/debug/dri/0/DP-1/vrr_range

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c