intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [drm][i915] Increase LSPCON timeout
@ 2018-08-13 17:51 Fredrik Schön
  2018-08-14 13:09 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Fredrik Schön @ 2018-08-13 17:51 UTC (permalink / raw)
  To: intel-gfx; +Cc: Fredrik Schön

100 ms is not enough time for the LSPCON adapter on Intel NUC devices to
settle. This causes dropped display modes at driver initialisation.

Increase timeout to 1000 ms.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1570392
Signed-off-by: Fredrik Schön <fredrik.schon@gmail.com>
---
 drivers/gpu/drm/i915/intel_lspcon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_lspcon.c b/drivers/gpu/drm/i915/intel_lspcon.c
index 8ae8f42f430a..be1b08f589a4 100644
--- a/drivers/gpu/drm/i915/intel_lspcon.c
+++ b/drivers/gpu/drm/i915/intel_lspcon.c
@@ -74,7 +74,7 @@ static enum drm_lspcon_mode lspcon_wait_mode(struct intel_lspcon *lspcon,
 	DRM_DEBUG_KMS("Waiting for LSPCON mode %s to settle\n",
 		      lspcon_mode_name(mode));
 
-	wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 100);
+	wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 1000);
 	if (current_mode != mode)
 		DRM_ERROR("LSPCON mode hasn't settled\n");
 
-- 
2.17.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-08-16 21:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-13 17:51 [PATCH] [drm][i915] Increase LSPCON timeout Fredrik Schön
2018-08-14 13:09 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-08-14 16:08 ` ✓ Fi.CI.IGT: " Patchwork
2018-08-15 22:39 ` [PATCH] [drm][i915] " Rodrigo Vivi
2018-08-15 22:45   ` Rodrigo Vivi
2018-08-16  7:17     ` Jani Nikula
2018-08-16  7:33       ` Sharma, Shashank
2018-08-16  7:43         ` Chris Wilson
2018-08-16  8:15           ` Sharma, Shashank
2018-08-16  8:36             ` Fredrik Schön
2018-08-16 18:23               ` Rodrigo Vivi
2018-08-16 21:35                 ` fredrikschon
2018-08-16 21:43                   ` Rodrigo Vivi
2018-08-16 21:51                     ` Fredrik Schön
2018-08-16 21:58                       ` Rodrigo Vivi
2018-08-16  9:53       ` Saarinen, Jani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).