]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:04 +0000 (23:40 +0100)
commit74cc0f389bb9401463ed7e8a0cbf580711dd9948
treed746c4e97f9e5d2bf1b2f4bb73bc782edc4fc356
parent46b77d237a5c4c393f5461729291030fc3e6e120
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
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