From: Ben Widawsky Date: Thu, 15 Sep 2011 03:32:47 +0000 (-0700) Subject: drm/i915: Dumb down the semaphore logic X-Git-Tag: v3.2-rc1~135^2~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c99b0f0dea1ced5d0e10cdb9143356cc16b484;p=pandora-kernel.git drm/i915: Dumb down the semaphore logic 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... v2: Remove magic per Keith's suggestions. Ran Daniel's gem_ring_sync_loop test on this. v3: Ignored one of Keith's suggestions. v4: Removed some bloat per Daniel's recommendation. Cc: Daniel Vetter Cc: Keith Packard Signed-off-by: Ben Widawsky Signed-off-by: Keith Packard --- Reading git-diff-tree failed