[Intel-gfx] [PATCH] drm/i915: increase lvds power on time out

Daniel Vetter daniel.vetter at ffwll.ch
Fri Jun 7 21:06:55 CEST 2013


Apparently there are some horrible BIOSen out there :(

And under any normal circumstances this shouldn't ever hurt us since
the panel should light up successfully much earlier.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65497
Tested-by: Zoltán Böszörményi <zboszor at pr.hu>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 drivers/gpu/drm/i915/intel_lvds.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index 10c3d56..7e0ee01 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -200,7 +200,7 @@ static void intel_enable_lvds(struct intel_encoder *encoder)
 
 	I915_WRITE(ctl_reg, I915_READ(ctl_reg) | POWER_TARGET_ON);
 	POSTING_READ(lvds_encoder->reg);
-	if (wait_for((I915_READ(stat_reg) & PP_ON) != 0, 1000))
+	if (wait_for((I915_READ(stat_reg) & PP_ON) != 0, 2000))
 		DRM_ERROR("timed out waiting for panel to power on\n");
 
 	intel_panel_enable_backlight(dev, intel_crtc->pipe);
-- 
1.7.10.4




More information about the Intel-gfx mailing list