[Intel-gfx] [PATCH] drm/i915: Dumb down the semaphore logic

Ben Widawsky ben at bwidawsk.net
Mon Sep 5 08:54:45 CEST 2011


On Sun,  4 Sep 2011 20:52:42 -0700
Ben Widawsky <ben at bwidawsk.net> wrote:

> While I think the previous code is correct, it was hard to follow and
> hard to debug. Since we already have a ring abstraction, might as well
> use it to handle the semaphore updates and compares.
> 
> I don't expect this code to make semaphores better or worse, but you
> never know...
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Eric Anholt <eric at anholt.net>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>

I just realized I forgot to use the new invalid #define in the code.
I'll resubmit that tomorrow.

Ben



More information about the Intel-gfx mailing list