Re: [Intel-gfx] [PATCH 2/2] drm/i915: Wait on vma activity before taking the mutex

2020-01-24 Thread Tvrtko Ursulin
On 23/01/2020 22:44, Chris Wilson wrote: Optimistically wait for the prior vma activity before taking the mutex to minimise the mutex hold time while unbinding. We will then verify the vma is idle with a second wait under the mutex to ensure it is safe to unbind. Signed-off-by: Chris Wilson C

[Intel-gfx] [PATCH 2/2] drm/i915: Wait on vma activity before taking the mutex

2020-01-23 Thread Chris Wilson
Optimistically wait for the prior vma activity before taking the mutex to minimise the mutex hold time while unbinding. We will then verify the vma is idle with a second wait under the mutex to ensure it is safe to unbind. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/