[Intel-gfx] [PATCH] drm/i915: Move whole object to CPU domain for coherent shmem access

Chris Wilson chris at chris-wilson.co.uk
Mon Mar 13 14:30:28 UTC 2017


On Mon, Mar 13, 2017 at 11:06:20AM +0200, Joonas Lahtinen wrote:
> On pe, 2017-03-10 at 00:09 +0000, Chris Wilson wrote:
> > If the object is coherent, we can simply update the cache domain on the
> > whole object rather than calculate the before/after clflushes. The
> > advantage is that we then get correct tracking of ellided flushes when
> > changing coherency later.
> > 
> > Testcase: igt/gem_pwrite_snooped
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Thanks, pushed
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list