drm/i915: Wait for vblank between disabling a sprite and unpinning the fb
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Mar 2013 15:49:13 +0000 (17:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Mar 2013 16:48:11 +0000 (17:48 +0100)
commitc626d3179ce41c60c33390e2cdc4151246b689aa
tree054abc75b21ca0c39c8cd5ef3667c6fc0b365af1
parent85fc95ba85fe4f51691e0c032954d49e73becd47
drm/i915: Wait for vblank between disabling a sprite and unpinning the fb

When disabling a sprite, wait for the sprite to stop fetching data
from memory before unpinning the fb.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c