Re: [Intel-gfx] [PATCH] drm/i915: Serialize insertion into the file->mm.request_list

2019-08-20 Thread Matthew Auld
On Tue, 20 Aug 2019 at 09:26, Chris Wilson wrote: > > Currently, we remove the from per-file request list for throttling and > retirement under a dedicated spinlock, but insertion is governed by > struct_mutex. This needs to be the same lock so that the > retirement/insertion of neighbouring

[Intel-gfx] [PATCH] drm/i915: Serialize insertion into the file->mm.request_list

2019-08-20 Thread Chris Wilson
Currently, we remove the from per-file request list for throttling and retirement under a dedicated spinlock, but insertion is governed by struct_mutex. This needs to be the same lock so that the retirement/insertion of neighbouring requests (at the tail) doesn't break the list. Signed-off-by: