From c00946f6d60f52d38ab9d04c4b0c14509faf7fc2 Mon Sep 17 00:00:00 2001 From: Stanislav Lisovskiy Date: Mon, 16 Sep 2019 14:48:55 +0300 Subject: [PATCH v1] drm: Give more chance to dp aux to establish connection. Experimental patch, not for drm-tip. --- drivers/gpu/drm/drm_dp_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index ffc68d305afe..e99bdeefcb13 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/drivers/gpu/drm/drm_dp_helper.c @@ -213,7 +213,7 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request, * aux i2c transactions but real world devices this wasn't * sufficient, bump to 32 which makes Dell 4k monitors happier. */ - for (retry = 0; retry < 32; retry++) { + for (retry = 0; retry < 64; retry++) { if (ret != 0 && ret != -ETIMEDOUT) { usleep_range(AUX_RETRY_INTERVAL, AUX_RETRY_INTERVAL + 100); -- 2.17.1