On Mon, Dec 10, 2012 at 03:41:48PM +0200, Mika Kuoppala wrote: > If wrap just happened we need to prevent emitting waits for > pre wrap values. Detect this and emit no-ops instead. > > v2: Use olr > seqno to detect wrap instead of *seqno == 0 > as suggested by Chris Wilson. > > v3: Use last used seqno to detect the wraparound. From > Chris Wilson > > v4: Fixed unnecessary last_seqno assigment > > References: https://bugs.freedesktop.org/show_bug.cgi?id=57967 > Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com> Ok, next try. Applied these two fixes and the seqno wrap patcha again, let's see what happens. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch