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)
commit727962f030c23422a01e8b22d0f463815fb15ec4
tree3c5c2937ea9a4e25f694e8065bea32e7bee31aa2
parent82abf33766712d8446ea137a3400165e31bd12c7
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