Commit 04300171 authored by David Galiffi's avatar David Galiffi Committed by Alex Deucher

drm/amd/display: Incorrect Read Interval Time For CR Sequence

[WHY]
TRAINING_AUX_RD_INTERVAL (DPCD 000Eh) modifies the read interval
for the EQ training sequence. CR read interval should remain 100 us.
Currently, the CR interval is also being modified.

[HOW]
lt_settings->cr_pattern_time should always be 100 us.
Signed-off-by: default avatarDavid Galiffi <david.galiffi@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0b6cbbd5
...@@ -1035,7 +1035,7 @@ static void initialize_training_settings( ...@@ -1035,7 +1035,7 @@ static void initialize_training_settings(
if (link->preferred_training_settings.cr_pattern_time != NULL) if (link->preferred_training_settings.cr_pattern_time != NULL)
lt_settings->cr_pattern_time = *link->preferred_training_settings.cr_pattern_time; lt_settings->cr_pattern_time = *link->preferred_training_settings.cr_pattern_time;
else else
lt_settings->cr_pattern_time = get_training_aux_rd_interval(link, 100); lt_settings->cr_pattern_time = 100;
if (link->preferred_training_settings.eq_pattern_time != NULL) if (link->preferred_training_settings.eq_pattern_time != NULL)
lt_settings->eq_pattern_time = *link->preferred_training_settings.eq_pattern_time; lt_settings->eq_pattern_time = *link->preferred_training_settings.eq_pattern_time;
......
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