[Intel-gfx] [PATCH] drm/i915: Make contexts non-snooped on non-LLC platforms

Chris Wilson chris at chris-wilson.co.uk
Mon Mar 31 17:39:37 CEST 2014


On Mon, Mar 31, 2014 at 06:09:49PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> We don't do CPU access to GPU contexts so making the GPU access snoop
> the CPU caches seems silly, and potentially expensive.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Maybe define a macro to be HAS_L3_CACHE?

The root cause is that our singular enum is not flexible enough to
account for all platform variations.

Otherwise, lgtm.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list