[Intel-gfx] [PATCH] drm/i915: Make contexts non-snooped on non-LLC platforms
Ville Syrjälä
ville.syrjala at linux.intel.com
Tue Apr 1 12:11:02 CEST 2014
On Mon, Mar 31, 2014 at 04:39:37PM +0100, Chris Wilson wrote:
> 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?
What should I do with such a macro?
>
> 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
--
Ville Syrjälä
Intel OTC
More information about the Intel-gfx
mailing list