Re: [Intel-gfx] [PATCH v2] drm/i915: Avoid lock dropping between rescheduling

2017-03-29 Thread Chris Wilson
On Wed, Mar 29, 2017 at 10:33:47AM +0100, Tvrtko Ursulin wrote: > > On 27/03/2017 21:21, Chris Wilson wrote: > >Unlocking is dangerous. In this case we combine an early update to the > >out-of-queue request, because we know that it will be inserted into the > >correct FIFO priority-ordered slot wh

Re: [Intel-gfx] [PATCH v2] drm/i915: Avoid lock dropping between rescheduling

2017-03-29 Thread Tvrtko Ursulin
On 27/03/2017 21:21, Chris Wilson wrote: Unlocking is dangerous. In this case we combine an early update to the out-of-queue request, because we know that it will be inserted into the correct FIFO priority-ordered slot when it becomes ready in the future. However, given sufficient enthusiasm, it

[Intel-gfx] [PATCH v2] drm/i915: Avoid lock dropping between rescheduling

2017-03-27 Thread Chris Wilson
Unlocking is dangerous. In this case we combine an early update to the out-of-queue request, because we know that it will be inserted into the correct FIFO priority-ordered slot when it becomes ready in the future. However, given sufficient enthusiasm, it may become ready as we are continuing to re