From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH 3/5] drm/i915: switch ring->id to be a real id Date: Sun, 30 Oct 2011 18:48:35 -0700 Message-ID: <20111030184835.2925abfc@bwidawsk.net> References: <1320001932-1846-1-git-send-email-daniel.vetter@ffwll.ch> <1320001932-1846-3-git-send-email-daniel.vetter@ffwll.ch> 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 F36B09E8BC for ; Sun, 30 Oct 2011 18:48:44 -0700 (PDT) In-Reply-To: <1320001932-1846-3-git-send-email-daniel.vetter@ffwll.ch> 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: Daniel Vetter Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org On Sun, 30 Oct 2011 20:12:10 +0100 Daniel Vetter wrote: > ... and add a helpr function for the places where we want a flag. > > This way we can use ring->id to index into arrays. > > v2: Resurrect the missing beautification-space Chris Wilson noted. > I'm moving this space around because I'll reuse ring_str in the next > patch. > > Signed-off-by: Daniel Vetter > Reviewed-by: Chris Wilson Reviewed-by: Ben Widawsky