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

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 22 11:49:31 UTC 2017


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 the request no longer matches the target
> > seqno, we need to restart the wait to reacquire that seqno.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > Cc: Michal Winiarski <michal.winiarski at intel.com>
> 
> Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

Applied this and the similar fix inside notify_ring().
-Chris


More information about the Intel-gfx mailing list