]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not clflush snooped objects
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Mar 2011 23:59:52 +0000 (16:59 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 10 May 2011 20:56:44 +0000 (13:56 -0700)
commit104d7d38991ee630726de047f3285355d1523e1b
treeaa241d38d51e983ad2e909d60d6c627477b676a6
parent65d653b6b3556b3ef16af43499292c2f940d3be5
drm/i915: Do not clflush snooped objects

Rely on the GPU snooping into the CPU cache for appropriately bound
objects on MI_FLUSH. Or perhaps one day we will have a cache-coherent
CPU/GPU package...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem.c