[Intel-gfx] [PATCH 61/66] drm/i915: Use multiple VMs

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 2 13:38:33 CEST 2013


On Tue, Jul 02, 2013 at 02:34:59PM +0300, Ville Syrjälä wrote:
> On Tue, Jul 02, 2013 at 12:07:10PM +0100, Chris Wilson wrote:
> > On Tue, Jul 02, 2013 at 01:58:13PM +0300, Ville Syrjälä wrote:
> > > Also IIRC someone told me that w/ uncached mappings the caches aren't
> > > snooped even on LLC platforms. If that's true, MOCS seems even more
> > > dangerous since the client could easily mix cached and uncached
> > > accesses. I don't really understand why uncached mappings wouldn't
> > > snoop on LLC platforms since the snooping should be more or less free.
> > 
> > Who said that? Doesn't appear to be the case on SNB/IVB/HSW as far as I
> > can tell.
> 
> Can't remember now who said it, or could be I just misunderstood. But if
> it's not true, then MOCS seems actually useful. Otherwise it's going to
> be a clflush fest when you want to change from cached to uncached.

Well MOCS doesn't apply for GTT access by the CPU, so there you only
need to be concerned about whether you are rendering to a scanout. That
is tracked in the ddx, but as you point out mesa would have to assume
that any winsys buffer is a potential scanout unless we add an interface
for it to ask the display server.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list