From: Ben Widawsky Subject: Re: [PATCH] drm/i915: Dumb down the semaphore logic Date: Sun, 4 Sep 2011 23:54:45 -0700 Message-ID: <20110904235445.1a39259c@bwidawsk.net> References: <1315194762-6129-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 45EE19E963 for ; Sun, 4 Sep 2011 23:54:28 -0700 (PDT) In-Reply-To: <1315194762-6129-1-git-send-email-ben@bwidawsk.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Ben Widawsky Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org, Eric@freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sun, 4 Sep 2011 20:52:42 -0700 Ben Widawsky 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 > Cc: Daniel Vetter > Cc: Eric Anholt > Signed-off-by: Ben Widawsky I just realized I forgot to use the new invalid #define in the code. I'll resubmit that tomorrow. Ben