Re: [Intel-gfx] [PATCH] drm/i915: Restart all engines atomically

2017-02-07 Thread Chris Wilson
On Tue, Feb 07, 2017 at 05:58:58PM +0200, Mika Kuoppala wrote: > Chris Wilson writes: > > > When we restart the engines, and we have active requests, a request on > > the first engine may complete and queue a request to the second engine > > before we try to restart the second engine. That queuei

Re: [Intel-gfx] [PATCH] drm/i915: Restart all engines atomically

2017-02-07 Thread Mika Kuoppala
Chris Wilson writes: > When we restart the engines, and we have active requests, a request on > the first engine may complete and queue a request to the second engine > before we try to restart the second engine. That queueing of the > request may itself cause the engine to restart, and so the su

[Intel-gfx] [PATCH] drm/i915: Restart all engines atomically

2017-02-07 Thread Chris Wilson
When we restart the engines, and we have active requests, a request on the first engine may complete and queue a request to the second engine before we try to restart the second engine. That queueing of the request may itself cause the engine to restart, and so the subsequent handling by engine->in