1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

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:
Wenjing Liu 2017-08-21 16:43:08 -04:00 committed by Alex Deucher
parent 39902db034
commit c25e2d1f8f

View file

@ -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;