Re: [Intel-gfx] [PATCH] drm/i915: Confirm request->global_seqno after spin completion

2017-09-22 Thread Chris Wilson
Quoting Michał Winiarski (2017-09-21 22:27:17) > On Thu, Sep 21, 2017 at 10:09:03PM +0100, Chris Wilson wrote: > > After we see our target seqno has been completed by the hw, we need to > > confirm that it still matches the request (as it may have been preempted > > before the spin completes). If t

Re: [Intel-gfx] [PATCH] drm/i915: Confirm request->global_seqno after spin completion

2017-09-21 Thread Michał Winiarski
On Thu, Sep 21, 2017 at 10:09:03PM +0100, Chris Wilson wrote: > After we see our target seqno has been completed by the hw, we need to > confirm that it still matches the request (as it may have been preempted > before the spin completes). If the request no longer matches the target > seqno, we nee

[Intel-gfx] [PATCH] drm/i915: Confirm request->global_seqno after spin completion

2017-09-21 Thread Chris Wilson
After we see our target seqno has been completed by the hw, we need to confirm that it still matches the request (as it may have been preempted before the spin completes). If the request no longer matches the target seqno, we need to restart the wait to reacquire that seqno. Signed-off-by: Chris W