Re: [Intel-gfx] [PATCH 3/4] drm/i915: Lock signaler timeline while navigating

2019-09-19 Thread Tvrtko Ursulin
On 18/09/2019 15:54, Chris Wilson wrote: As we need to take a walk back along the signaler timeline to find the fence before upon which we want to wait, we need to lock that timeline to prevent it being modified as we walk. Similarly, we also need to acquire a reference to the earlier fence

[Intel-gfx] [PATCH 3/4] drm/i915: Lock signaler timeline while navigating

2019-09-18 Thread Chris Wilson
As we need to take a walk back along the signaler timeline to find the fence before upon which we want to wait, we need to lock that timeline to prevent it being modified as we walk. Similarly, we also need to acquire a reference to the earlier fence while it still exists! Though we lack the