linux-brain/drivers/gpu/drm/amd/display/amdgpu_dm
Anson Jacob a23430e79e drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex
[ Upstream commit 1a394b3c3de2577f200cb623c52a5c2b82805cec ]

link_rate is updated via debugfs using hex values, set it to output
in hex as well.

eg: Resolution: 1920x1080@144Hz
cat /sys/kernel/debug/dri/0/DP-1/link_settings
Current:  4  0x14  0  Verified:  4  0x1e  0  Reported:  4  0x1e  16  Preferred:  0  0x0  0

echo "4 0x1e" > /sys/kernel/debug/dri/0/DP-1/link_settings

cat /sys/kernel/debug/dri/0/DP-1/link_settings
Current:  4  0x1e  0  Verified:  4  0x1e  0  Reported:  4  0x1e  16  Preferred:  4  0x1e  0

Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 12:26:28 +02:00
..
Makefile drm/amd/display: Moving powerplay functions to a separate class 2018-07-05 16:38:41 -05:00
amdgpu_dm.c drm/amd/display: Reject non-zero src_y and src_x for video planes 2021-07-19 08:53:15 +02:00
amdgpu_dm.h drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check 2021-07-19 08:53:10 +02:00
amdgpu_dm_color.c drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check 2021-07-19 08:53:10 +02:00
amdgpu_dm_crc.c drm/amd/display: Fix to be able to stop crc calculation 2021-01-27 11:47:45 +01:00
amdgpu_dm_crc.h drm/amd/display: Split out DC programming for CRC capture 2019-08-21 22:18:25 -05:00
amdgpu_dm_debugfs.c drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex 2021-09-22 12:26:28 +02:00
amdgpu_dm_debugfs.h amdgpu_dm: no need to check return value of debugfs_create functions 2019-06-13 13:59:49 -05:00
amdgpu_dm_helpers.c drm/amd/dm/mst: Ignore payload update failures 2020-02-11 04:35:43 -08:00
amdgpu_dm_irq.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Retry AUX write when fail occurs 2020-09-09 19:12:22 +02:00
amdgpu_dm_mst_types.h drm/amd/display: Cleanup MST non-atomic code workaround 2018-11-07 18:20:49 -05:00
amdgpu_dm_pp_smu.c drm/amdgpu/display bail early in dm_pp_get_static_clocks 2020-08-19 08:16:03 +02:00
amdgpu_dm_services.c drm/amd: drop use of drmP.h in display/ 2019-06-10 23:00:20 +02:00
amdgpu_dm_trace.h drm/amd/display: Add tracing to dc 2018-12-05 17:49:49 -05:00