drm/amd/display: Fix in overriding DP drive settings
[Why & How] Check always_match_dpcd_with_hw_lane_settings bit before overriding the DP drive settings Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com> Acked-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: George Shen <george.shen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
f18368b686
commit
95133f41b0
@@ -1674,8 +1674,9 @@ static void override_training_settings(
|
||||
: POST_CURSOR2_DISABLED;
|
||||
}
|
||||
|
||||
dp_hw_to_dpcd_lane_settings(lt_settings,
|
||||
lt_settings->hw_lane_settings, lt_settings->dpcd_lane_settings);
|
||||
if (lt_settings->always_match_dpcd_with_hw_lane_settings)
|
||||
dp_hw_to_dpcd_lane_settings(lt_settings,
|
||||
lt_settings->hw_lane_settings, lt_settings->dpcd_lane_settings);
|
||||
|
||||
/* Initialize training timings */
|
||||
if (overrides->cr_pattern_time != NULL)
|
||||
|
||||
Reference in New Issue
Block a user