[Intel-gfx] [PATCH] drm/i915: Flush everything on switching to the kernel_context

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Nov 27 11:18:55 UTC 2017


On Sun, 2017-11-26 at 21:48 +0000, Chris Wilson wrote:
> Even though all rendering should have been flushed at the end of the
> previous requests, add an extra flush after switching to the
> kernel_context. As the switch to the kernel_context is used when idling
> the gpu (e.g. suspend), having an extra layer of paranoia to ensure
> everything is flushed to memory seems sensible.
> 
> 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