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

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 27 11:51:50 UTC 2017


Quoting Joonas Lahtinen (2017-11-27 11:18:55)
> 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>

Thanks, I've applied this but I'm going to hold off pushing while CI is
on fire.
-Chris


More information about the Intel-gfx mailing list