[Intel-gfx] [PATCH] drm/i915/gem: Clear read/write domains for GPU clear

Chris Wilson chris at chris-wilson.co.uk
Mon Jun 24 16:00:19 UTC 2019


Quoting Matthew Auld (2019-06-24 16:50:48)
> On 24/06/2019 15:16, Chris Wilson wrote:
> > Update the domains for the write via the GPU so that we do not
> > shortcircuit any set-domain wait afterwards.
> 
> I'm lost. How do we short-circuit the set-domain wait?

If we never change the read_domain, then we may skip the clflush on
set_cpu_domain thus missing the updated contents on !llc.

So s/wait/clflush/ to be precise
-Chris


More information about the Intel-gfx mailing list