drm/i915: Drain any pending flips on the fb prior to unpinning
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Sep 2010 14:41:01 +0000 (15:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:24:17 +0000 (11:24 +0100)
commit265db9585e570814d2f7aca109c5563bcde9c948
tree5319dd865de1d85c9135b8b9227f32db636b9aca
parentc78ec30bba52754b9f21a899eac2e2f5a7486116
drm/i915: Drain any pending flips on the fb prior to unpinning

If we have queued a page flip on the current fb and then request a mode
change, wait until the page flip completes before performing the new
request.

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