Re: [Intel-gfx] [PATCH] drm/i915: Prevent timeline updates whilst performing reset

2016-12-22 Thread Mika Kuoppala
Chris Wilson writes: > As the fence may be signaled concurrently from an interrupt on another > device, it is possible for the list of requests on the timeline to be > modified as we walk it. Take both (the context's timeline and the global > timeline) locks to prevent such modifications. > > Fix

[Intel-gfx] [PATCH] drm/i915: Prevent timeline updates whilst performing reset

2016-12-19 Thread Chris Wilson
As the fence may be signaled concurrently from an interrupt on another device, it is possible for the list of requests on the timeline to be modified as we walk it. Take both (the context's timeline and the global timeline) locks to prevent such modifications. Fixes: 80b204bce8f2 ("drm/i915: Enabl