Commit 50d2c602 authored by Sung Lee's avatar Sung Lee Committed by Alex Deucher

drm/amd/display: Do not send training pattern if VS Different

[Why]
The DP 1.4a Spec requires that training pattern only under certain
specific conditions. Currently driver will re-send
training pattern every time voltage swing value changes,
but that should not be the case.

[How]
Do not re-send training pattern every time VS values
are different. Only send it on the first iteration.
Signed-off-by: default avatarSung Lee <sung.lee@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarAbdoulaye Berthe <Abdoulaye.Berthe@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 43563bc2
...@@ -983,7 +983,7 @@ static enum link_training_result perform_clock_recovery_sequence( ...@@ -983,7 +983,7 @@ static enum link_training_result perform_clock_recovery_sequence(
offset); offset);
/* 2. update DPCD of the receiver*/ /* 2. update DPCD of the receiver*/
if (!retries_cr) if (!retry_count)
/* EPR #361076 - write as a 5-byte burst, /* EPR #361076 - write as a 5-byte burst,
* but only for the 1-st iteration.*/ * but only for the 1-st iteration.*/
dpcd_set_lt_pattern_and_lane_settings( dpcd_set_lt_pattern_and_lane_settings(
......
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