drm/i915: Reject changes of fb base when we have a flip pending
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Mar 2014 13:15:08 +0000 (13:15 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:05 +0000 (21:30 +0100)
commit7d5e379989f46d80617709d4c45947136c50b2c6
treef4137105bed19e62bc967896b6724081231639e2
parent227213438aff3050f2dd2be92dc48c8370d445a2
drm/i915: Reject changes of fb base when we have a flip pending

This should be impossible due to the wait for outstanding flips that the
caller is meant to perform prior to updating the scanout base. Paranoia
tells me to check anyway.

References: https://bugs.freedesktop.org/show_bug.cgi?id=75502
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c