[Intel-gfx] [PATCH 1/2] drm/i915: Don't emit semaphore wait if wrap happened

Daniel Vetter daniel at ffwll.ch
Tue Dec 11 14:08:30 CET 2012


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



More information about the Intel-gfx mailing list