]> 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)
commit66f9e6cfde0b3d56a202539b6746d38d6b80d457
treeaa241d38d51e983ad2e909d60d6c627477b676a6
parenta81d4aba91ca3b23bc02883e137b2a0137f073ea
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