Commit 39da460f authored by Ilya's avatar Ilya Committed by Alex Deucher

drm/amd/display: Fix DP LT sequence on EQ fail

[Why]
The number of lanes wasn't being reset to maximum when reducing link
rate due to an EQ failure. This could result in having fewer lanes in
the verified link capabilities, a lower maximum link bandwidth, and
fewer modes being supported.

[How]
Reset the number of lanes to max when dropping link rate due to EQ
failure during link training.
Reviewed-by: default avatarAric Cyr <Aric.Cyr@amd.com>
Acked-by: default avatarJasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: default avatarIlya <Ilya.Bakoulin@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 559e2655
...@@ -3504,6 +3504,7 @@ static bool decide_fallback_link_setting( ...@@ -3504,6 +3504,7 @@ static bool decide_fallback_link_setting(
current_link_setting->link_rate = current_link_setting->link_rate =
reduce_link_rate( reduce_link_rate(
current_link_setting->link_rate); current_link_setting->link_rate);
current_link_setting->lane_count = initial_link_settings.lane_count;
} else { } else {
return false; return false;
} }
...@@ -3516,6 +3517,7 @@ static bool decide_fallback_link_setting( ...@@ -3516,6 +3517,7 @@ static bool decide_fallback_link_setting(
current_link_setting->link_rate = current_link_setting->link_rate =
reduce_link_rate( reduce_link_rate(
current_link_setting->link_rate); current_link_setting->link_rate);
current_link_setting->lane_count = initial_link_settings.lane_count;
} else { } else {
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment