From: Chris Wilson Subject: Re: [PATCH 1/3] drm/i915: collect more per ring error info Date: Fri, 07 Oct 2011 17:19:42 +0100 Message-ID: References: <1317762713-15143-1-git-send-email-ben@bwidawsk.net> <1317762713-15143-2-git-send-email-ben@bwidawsk.net> <20111007135201.GA2907@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id A93A1A0E0B for ; Fri, 7 Oct 2011 09:19:47 -0700 (PDT) In-Reply-To: <20111007135201.GA2907@phenom.ffwll.local> 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 , Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 7 Oct 2011 15:52:01 +0200, Daniel Vetter wrote: > On Tue, Oct 04, 2011 at 02:11:51PM -0700, Ben Widawsky wrote: > > V1: Just added per ring page faults > > Reviewed-by: Daniel Vetter > > > > V2: Added much more per ring stuff > > Signed-off-by: Ben Widawsky > > While you wrestle this, can we cut down on the line-noise a bit by using > ring->mmio_base an per-ring functions? By storing VCS, BCS, RCS in > ring->id instead of the flags that are currently there this should reduce > quite a bit. You beat me to it, I was also going to suggest this. Seconded ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre