drm/amd/display: Maintain current link settings in link loss interrupt
authorGary Li <garyli12@amd.com>
Thu, 14 Apr 2022 13:01:48 +0000 (09:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Apr 2022 21:11:27 +0000 (17:11 -0400)
commit9fbfeaf110714dd6176e209230569c2dd9a9ad08
treed4e393cbf088bb85bb5d81234dee57e1cb582f2d
parente953cd08d78256764721e459ce11f9d41e8934f9
drm/amd/display: Maintain current link settings in link loss interrupt

[Why]
DP compliance test case 400.3.2.3 is failed because in link loss interrupt
the current link settings is not used in the DP link training.

[How]
In link loss interrupt, use the current link settings in the following DP
link training.

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Gary Li <garyli12@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c