Re: [Intel-gfx] [PATCH] drm/i915: Split I915_RESET_IN_PROGRESS into two flags

2017-02-23 Thread Michel Thierry
On 23/02/17 08:59, Chris Wilson wrote: I915_RESET_IN_PROGRESS is being used for both signaling the requirement to i915_mutex_lock_interruptible() to avoid taking the struct_mutex and to instruct a waiter (already holding the struct_mutex) to perform the reset. To allow for a little more coordin

[Intel-gfx] [PATCH] drm/i915: Split I915_RESET_IN_PROGRESS into two flags

2017-02-23 Thread Chris Wilson
I915_RESET_IN_PROGRESS is being used for both signaling the requirement to i915_mutex_lock_interruptible() to avoid taking the struct_mutex and to instruct a waiter (already holding the struct_mutex) to perform the reset. To allow for a little more coordination, split these two meaning into a coupl