[Intel-gfx] [PATCH 4/4] drm/i915/execlists: Use coherent writes into the context image

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 14 13:16:12 UTC 2018


Quoting Ville Syrjälä (2018-09-14 14:03:35)
> On Fri, Sep 14, 2018 at 10:42:15AM +0100, Chris Wilson wrote:
> > That we use a WB mapping for updating the RING_TAIL register inside the
> > context image even on !llc machines has been a source of consternation
> > for every reader. It appears to work on bsw+, but it may just have been
> > that we have been incredibly bad at detecting the errors.
> 
> Presumably it's due to the "all ggtt accesses go through pat[0]" and
> we make pat[0] snoop. So presumably the hw should snoop when loading
> the context... maybe.

Shows how much attention I pay, I thought we made pat[0] uncached. Seems
strange to suggest that we should always be snooping when reading GGTT
from the GPU.

We still have the same PTE bits for GGTT as for ppGTT, do we not?
-Chris


More information about the Intel-gfx mailing list