Re: [Intel-gfx] [PATCH 07/40] drm/i915: Seal races between async GPU cancellation, retirement and signaling

2019-05-08 Thread Tvrtko Ursulin
On 08/05/2019 09:06, Chris Wilson wrote: Currently there is an underlying assumption that i915_request_unsubmit() is synchronous wrt the GPU -- that is the request is no longer in flight as we remove it. In the near future that may change, and this may upset our signaling as we can process an

[Intel-gfx] [PATCH 07/40] drm/i915: Seal races between async GPU cancellation, retirement and signaling

2019-05-08 Thread Chris Wilson
Currently there is an underlying assumption that i915_request_unsubmit() is synchronous wrt the GPU -- that is the request is no longer in flight as we remove it. In the near future that may change, and this may upset our signaling as we can process an interrupt for that request while it is no