aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorZhikai Zhai <zhikai.zhai@amd.com>2023-06-30 13:56:04 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-07-18 11:14:44 -0400
commitc99fcb02bc73d33f9cc52b1e9b705d7a3320c50b (patch)
tree8389ef536a9302e62ed61d97adaf98ce494f753d /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parent3a87e25aaa1bc406fcb4459cfc78642bb070af1a (diff)
downloadlinux-c99fcb02bc73d33f9cc52b1e9b705d7a3320c50b.tar.gz
linux-c99fcb02bc73d33f9cc52b1e9b705d7a3320c50b.tar.bz2
linux-c99fcb02bc73d33f9cc52b1e9b705d7a3320c50b.zip
drm/amd/display: refine to decide the verified link setting
[WHY] We return false by default when link training fail at link loss. It will cause we get a fail verified link caps directly. [HOW] Record the highest verified link caps. Use the recorded value as the verified link caps if it is not successful in the last attempt to avoid to use the lowest link setting. Reviewed-by: Wenjing Liu <wenjing.liu@amd.com> Acked-by: Alan Liu <haoping.liu@amd.com> Signed-off-by: Zhikai Zhai <zhikai.zhai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions