Re: [Intel-gfx] [PATCH] drm/i915/selftests: Move test flush to outside vm->mutex

2020-06-12 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-06-12 16:04:15) > > On 12/06/2020 15:55, Chris Wilson wrote: > > Quoting Tvrtko Ursulin (2020-06-12 15:44:51) > >> From: Tvrtko Ursulin > >> > >> As per our locking rules it is not allowed to wait on requests while > >> holding locks. In this case we were trying to

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Move test flush to outside vm->mutex

2020-06-12 Thread Tvrtko Ursulin
On 12/06/2020 15:55, Chris Wilson wrote: Quoting Tvrtko Ursulin (2020-06-12 15:44:51) From: Tvrtko Ursulin As per our locking rules it is not allowed to wait on requests while holding locks. In this case we were trying to idle the GPU while holding the vm->mutex. Synchronous eviction

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Move test flush to outside vm->mutex

2020-06-12 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-06-12 15:44:51) > From: Tvrtko Ursulin > > As per our locking rules it is not allowed to wait on requests while > holding locks. In this case we were trying to idle the GPU while holding > the vm->mutex. Synchronous eviction would like to have a word. >

[Intel-gfx] [PATCH] drm/i915/selftests: Move test flush to outside vm->mutex

2020-06-12 Thread Tvrtko Ursulin
From: Tvrtko Ursulin As per our locking rules it is not allowed to wait on requests while holding locks. In this case we were trying to idle the GPU while holding the vm->mutex. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/selftests/i915_gem_evict.c | 5 +++-- 1 file changed, 3