drm/i915/overlay: Ensure that the reg_bo is in the GTT prior to writing.
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 08:35:00 +0000 (09:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:41 +0000 (10:23 +0100)
commit0ddc1289f3ffd779779ddd3922f26ae7d0a21604
tree005311e32548ee581272694c174eb6e458d40ce6
parent6ba3ddd9838f5e4d6ac7c6dce95648d205e11bff
drm/i915/overlay: Ensure that the reg_bo is in the GTT prior to writing.

Just makes sure that writes are not being aliased by the CPU cache and
do make it out to main memory.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=24977
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_overlay.c