[Intel-gfx] [PATCH] drm/i915: Handle sync_seqno correctly when seqno has wrapped.

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 13 15:15:05 CET 2012


On Tue, 13 Nov 2012 15:51:36 +0200, Mika Kuoppala <mika.kuoppala at linux.intel.com> wrote:
> If seqno has wrapped, normal compare operation will give wrong results.
> i915_seqno_passed can handle the wrap so use it instead.

I'm still a little wary of this patch, as it means that we are emitting
requests that are not associated with an execbuffer and so the
wraparound detection is lost. Perhaps if you were to make the seqno
wraparound handling explicit we could all sleep more soundly...

And then I'd accept this patch for making seqno handling consistent at
least.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list