[Intel-gfx] [PATCH] drm/i915: dp: increase probe retries

Takashi Iwai tiwai at suse.de
Tue Aug 6 14:40:24 CEST 2013


We've seen a problem that the DP port on a docking station is often
not detected properly or misconfigured (no proper native modes) with a
Haswell-based laptop.  The trace showed that the driver gave up or got
only insufficient EDID, maybe due to some unstable aux communication.

As a band-aid fix, increase the number of retries from 5 to 10.
This seems enough for our cases.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 drivers/gpu/drm/i915/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 26e162b..8491830 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -548,7 +548,7 @@ intel_dp_i2c_aux_ch(struct i2c_adapter *adapter, int mode,
 		break;
 	}
 
-	for (retry = 0; retry < 5; retry++) {
+	for (retry = 0; retry < 10; retry++) {
 		ret = intel_dp_aux_ch(intel_dp,
 				      msg, msg_bytes,
 				      reply, reply_bytes);
-- 
1.8.3.1




More information about the Intel-gfx mailing list