drm/amd/display: avoid link loss short pulse stuck the system
authorYu-ting Shen <yu-tshen@amd.com>
Tue, 19 Oct 2021 06:22:02 +0000 (14:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Nov 2021 16:32:34 +0000 (12:32 -0400)
commitbca5bea4030d59b2d100c997b8044033247c1a99
tree040608a99fef9416770227c282e7c96d0548a1ea
parent670d2a6240536bb7a5dabbd7eb32ebec8c033301
drm/amd/display: avoid link loss short pulse stuck the system

[Why]
MST monitor sends link loss short pulse continuous but sink is
occupy by HDMI input to lead link training fail.

[How]
disable link once retraining fail.

Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Yu-ting Shen <yu-tshen@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@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.c