diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-08-09 17:21:44 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-07 11:14:16 +0100 |
commit | 0ad6ef2c587dea59212c4e2ab3ec3b0067500a2a (patch) | |
tree | 2c28359e67b4100846175c7e88ce58b93ad8327d /drivers/gpu | |
parent | 4e6cfefc729be2aa20647415317577ed98d4f7bf (diff) | |
download | linux-stable-0ad6ef2c587dea59212c4e2ab3ec3b0067500a2a.tar.gz linux-stable-0ad6ef2c587dea59212c4e2ab3ec3b0067500a2a.tar.bz2 linux-stable-0ad6ef2c587dea59212c4e2ab3ec3b0067500a2a.zip |
drm/i915/dp: Boost timeout for enabling transcoder to 100ms
Adam Hill reported that his Arrandale system required a much longer, up
to 200x500us, wait for the panel to initialise or else modesetting would
fail.
References:
https://bugs.freedesktop.org/show_bug.cgi?id=29141
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reported-and-tested-by: Adam Hill <sidepipeuk@yahoo.co.uk>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index cbb509383089..83c85450608e 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -2069,7 +2069,7 @@ static void ironlake_crtc_dpms(struct drm_crtc *crtc, int mode) I915_WRITE(transconf_reg, temp | TRANS_ENABLE); I915_READ(transconf_reg); - if (wait_for(I915_READ(transconf_reg) & TRANS_STATE_ENABLE, 10, 0)) + if (wait_for(I915_READ(transconf_reg) & TRANS_STATE_ENABLE, 100, 1)) DRM_ERROR("failed to enable transcoder\n"); } |