aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 2bc1505132c3..0a56b9ab0f58 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1771,7 +1771,7 @@ intel_dp_start_link_train(struct intel_dp *intel_dp)
1771 for (i = 0; i < intel_dp->lane_count; i++) 1771 for (i = 0; i < intel_dp->lane_count; i++)
1772 if ((intel_dp->train_set[i] & DP_TRAIN_MAX_SWING_REACHED) == 0) 1772 if ((intel_dp->train_set[i] & DP_TRAIN_MAX_SWING_REACHED) == 0)
1773 break; 1773 break;
1774 if (i == intel_dp->lane_count) { 1774 if (i == intel_dp->lane_count && voltage_tries == 5) {
1775 ++loop_tries; 1775 ++loop_tries;
1776 if (loop_tries == 5) { 1776 if (loop_tries == 5) {
1777 DRM_DEBUG_KMS("too many full retries, give up\n"); 1777 DRM_DEBUG_KMS("too many full retries, give up\n");