drm/i915/overlay: Ensure that the reg_bo is in the GTT prior to writing.
commitf5e94f450c18978a508e3985edbe83053f96915c
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 08:35:00 +0000 (12 09:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:25 +0000 (9 13:32 -0800)
treeefab63eeec2e2ddcc414fc2602b8929070fe6fda
parentc1d0cb6bc6c9ff417acaa7d8d84c30f6931cdfc6
drm/i915/overlay: Ensure that the reg_bo is in the GTT prior to writing.

commit 0ddc1289f3ffd779779ddd3922f26ae7d0a21604 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_overlay.c