Re: [Intel-gfx] [PATCH 2/5] drm/i915: Serialise with remote retirement

2019-11-21 Thread Tvrtko Ursulin
On 21/11/2019 07:10, Chris Wilson wrote: Since retirement may be running in a worker on another CPU, it may be skipped in the local intel_gt_wait_for_idle(). To ensure the state is consistent for our sanity checks upon load, serialise with the remote retirer by waiting on the timeline->mutex. O

[Intel-gfx] [PATCH 2/5] drm/i915: Serialise with remote retirement

2019-11-20 Thread Chris Wilson
Since retirement may be running in a worker on another CPU, it may be skipped in the local intel_gt_wait_for_idle(). To ensure the state is consistent for our sanity checks upon load, serialise with the remote retirer by waiting on the timeline->mutex. Outside of this use case, e.g. on suspend or