drm/amd/display: Remove CR AUX RD Interval limit for LTTPR
authorGeorge Shen <George.Shen@amd.com>
Thu, 9 Dec 2021 01:28:14 +0000 (20:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:44 +0000 (08:54 -0500)
[Why]
DP spec specifies that DPRX shall use the read interval in the
TRAINING_AUX_RD_INTERVAL_PHY_REPEATER LTTPR DPCD register. This
register's bit definition is the same as the AUX read interval register
for DPRX.

[How}
Remove logic which forces AUX read interval to 100us for repeaters when
in LTTPR non-transparent mode.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Wesley Chalmers <wesley.chalmers@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: George Shen <George.Shen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c

index 04878817e62251de3669dbbb8a5b83fae39cc38a..9dc99929b0cdfd34d2060f7fdc4ebac79029de17 100644 (file)
@@ -1544,9 +1544,6 @@ static enum link_training_result perform_clock_recovery_sequence(
                /* 3. wait receiver to lock-on*/
                wait_time_microsec = lt_settings->cr_pattern_time;
 
-               if (link->lttpr_mode == LTTPR_MODE_NON_TRANSPARENT)
-                       wait_time_microsec = TRAINING_AUX_RD_INTERVAL;
-
                if (link->dc->debug.apply_vendor_specific_lttpr_wa &&
                                (link->chip_caps & EXT_DISPLAY_PATH_CAPS__DP_FIXED_VS_EN)) {
                        wait_time_microsec = 16000;