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)
commit9c23f7fc4cef14b46830b7f9eb0dc1b2d6f55d4d
treeaa241d38d51e983ad2e909d60d6c627477b676a6
parent93dfb40cd887c4f39e38f047c4d9ea0b7188a58a
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