diff mbox series

[7/8] drm/i915/dp: give more time for CDS

Message ID 07e472499bf7b5ff6d1b5ce345cb96e5a677394c.1643130139.git.jani.nikula@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/dp, drm/i915: 128b/132b updates | expand

Commit Message

Jani Nikula Jan. 25, 2022, 5:03 p.m. UTC
Try to avoid the timeout during debugging.

Cc: Uma Shankar <uma.shankar@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp_link_training.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_dp_link_training.c b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
index 1e41a560204a..b1cf99fb3a2d 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_link_training.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
@@ -1273,6 +1273,10 @@  intel_dp_128b132b_lane_cds(struct intel_dp *intel_dp,
 	}
 
 	deadline = jiffies + msecs_to_jiffies((lttpr_count + 1) * 20);
+
+	/* FIXME: Give some slack for CDS. */
+	deadline += msecs_to_jiffies(500);
+
 	for (;;) {
 		usleep_range(2000, 3000);