drm/i915: Wait for vblank before unpinning old fb
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Dec 2010 16:09:31 +0000 (16:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Dec 2010 10:33:23 +0000 (10:33 +0000)
commitb7f1de289c50beb4998611ba5373e539efd0f79f
treeb5a47897f8372e36012c4ce698a58b73311b0a24
parentc6df541c00e53a4fdff7a130d4365f848075adcc
drm/i915: Wait for vblank before unpinning old fb

Be paranoid and ensure that the vblank has passed and the scanout has
switched to the new fb, before unpinning the old one and possibly
tearing down its PTEs.

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