Re: [Intel-gfx] [PATCH] drm/i915: Spin until breadcrumb threads are complete

2016-11-09 Thread Chris Wilson
On Wed, Nov 09, 2016 at 02:53:34PM +, Tvrtko Ursulin wrote: > Looks OK. Side note to myself - catch up on the rcu waiter business. > > Reviewed-by: Tvrtko Ursulin Ta, pushed to have one less wart. -Chris -- Chris Wilson, Intel Open Source Technology Centre _

Re: [Intel-gfx] [PATCH] drm/i915: Spin until breadcrumb threads are complete

2016-11-09 Thread Tvrtko Ursulin
On 08/11/2016 14:37, Chris Wilson wrote: When we need to reset the global seqno on wraparound, we have to wait until the current rbtrees are drained (or otherwise the next waiter will be out of sequence). The current mechanism to kick and spin until complete, may exit too early as it would break

[Intel-gfx] [PATCH] drm/i915: Spin until breadcrumb threads are complete

2016-11-08 Thread Chris Wilson
When we need to reset the global seqno on wraparound, we have to wait until the current rbtrees are drained (or otherwise the next waiter will be out of sequence). The current mechanism to kick and spin until complete, may exit too early as it would break if the target thread was currently running.