drm/amd/display: retry LT on failing LT in automated request
[Description] Link training is not retried in automated link training request. In case link training is occasionally failing, there is not way to retry so the requested lane settings will not set. Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
39902db034
commit
c25e2d1f8f
1 changed files with 3 additions and 2 deletions
|
@ -299,10 +299,11 @@ void dp_retrain_link_dp_test(struct dc_link *link,
|
|||
|
||||
dp_receiver_power_ctrl(link, true);
|
||||
|
||||
dc_link_dp_perform_link_training(
|
||||
perform_link_training_with_retries(
|
||||
link,
|
||||
link_setting,
|
||||
skip_video_pattern);
|
||||
skip_video_pattern,
|
||||
LINK_TRAINING_ATTEMPTS);
|
||||
|
||||
link->cur_link_settings = *link_setting;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue