drm/i915: Use an uninterruptible wait for page-flips during modeset
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Sep 2010 22:04:43 +0000 (23:04 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Sep 2010 13:19:57 +0000 (14:19 +0100)
commite6c3a2a6d358a726c2c52cb0132c9ad8f6f37486
treec326448ac6aa0abe53d7cb5a9706894572fd19ca
parentd3849eded23e6c78b19acc1a3a7811a01d2f541d
drm/i915: Use an uninterruptible wait for page-flips during modeset

We need to drain the pending flips prior to disabling the pipe during
modeset, and these need to be done in an uninterruptible fashion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c