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

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Mar 13 09:06:20 UTC 2017


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>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list