Re: [Intel-gfx] [PATCH v2] drm/i915: Wait for concurrent global resets to complete

2017-06-19 Thread Michel Thierry
On 19/06/17 08:37, Chris Wilson wrote: If we enter i915_handle_error() a second time and a global reset is already in progress, we can simply wait for completion of the first reset. Currently we exit earlier prior to the actual reset being performed -- the worst of both worlds! v2: Plug into

[Intel-gfx] [PATCH v2] drm/i915: Wait for concurrent global resets to complete

2017-06-19 Thread Chris Wilson
If we enter i915_handle_error() a second time and a global reset is already in progress, we can simply wait for completion of the first reset. Currently we exit earlier prior to the actual reset being performed -- the worst of both worlds! v2: Plug into the existing reset_queue, and remember that