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

2017-11-27 Thread Chris Wilson
Quoting Joonas Lahtinen (2017-11-27 11:18:55) > On Sun, 2017-11-26 at 21:48 +, 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

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

2017-11-27 Thread Joonas Lahtinen
On Sun, 2017-11-26 at 21:48 +, 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

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

2017-11-26 Thread Chris Wilson
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