From 1cf49dea28dfc76f0816a4bc73c2ab975c72f55d Mon Sep 17 00:00:00 2001 From: Wenjing Liu Date: Wed, 23 Aug 2017 17:02:34 -0400 Subject: [PATCH] drm/amd/display: do not reset lane count in EQ fallback [Description] According to DP1.4 specs we should not reset lane count back when falling back in failing EQ training. This causes PHY test pattern compliance to fail as infinite LT when LT fails EQ to 4 RBR and fails CR in a loop. Signed-off-by: Wenjing Liu Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index e19447d526ea..446e2933474c 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -1302,8 +1302,6 @@ bool decide_fallback_link_setting( current_link_setting->lane_count); } else if (!reached_minimum_link_rate (current_link_setting->link_rate)) { - current_link_setting->lane_count = - initial_link_settings.lane_count; current_link_setting->link_rate = reduce_link_rate( current_link_setting->link_rate); -- 2.30.2