From: Daniel Vetter Subject: Re: [PATCH 1/3] drm/i915: collect more per ring error info Date: Fri, 7 Oct 2011 15:52:01 +0200 Message-ID: <20111007135201.GA2907@phenom.ffwll.local> References: <1317762713-15143-1-git-send-email-ben@bwidawsk.net> <1317762713-15143-2-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 mail-ww0-f43.google.com (mail-ww0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E50A9E936 for ; Fri, 7 Oct 2011 06:51:28 -0700 (PDT) Received: by wwf27 with SMTP id 27so4722460wwf.12 for ; Fri, 07 Oct 2011 06:51:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1317762713-15143-2-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: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48