drm/i915: Make contexts non-snooped on non-LLC platforms
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Apr 2014 13:36:10 +0000 (16:36 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Apr 2014 12:37:10 +0000 (14:37 +0200)
commitad2ac08bf34b54c99026ebe50ea275b08b5b8ca2
tree4e522de6bea26dc71ea54388e4af79eb8720b2fe
parent4e04632e882719e46edcbbc0b76fad778a0ed845
drm/i915: Make contexts non-snooped on non-LLC platforms

We don't do CPU access to GPU contexts so making the GPU access snoop
the CPU caches seems silly, and potentially expensive.

v2: Use !IS_VALLEYVIEW instead of HAS_LLC as this is really
    about what the PTEs can represent.
    Add a comment clarifying the situation.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c