Re: [Intel-gfx] [PATCH 03/15] drm/i915: Serialize per-engine resets against new requests

2017-07-17 Thread Michel Thierry
On 17/07/17 02:11, Chris Wilson wrote: We rely on disabling the execlists (by stopping the tasklet) to prevent new requests from submitting to the engine ELSP before we are ready. However, we re-enable the engine before we call init_hw which gives userspace the opportunity to subit a new request

[Intel-gfx] [PATCH 03/15] drm/i915: Serialize per-engine resets against new requests

2017-07-17 Thread Chris Wilson
We rely on disabling the execlists (by stopping the tasklet) to prevent new requests from submitting to the engine ELSP before we are ready. However, we re-enable the engine before we call init_hw which gives userspace the opportunity to subit a new request which is then overwritten by init_hw --