From: "Volkin, Bradley D" Subject: Re: [PATCH v2 3/5] drm/i915: Add a batch pool debugfs file Date: Wed, 9 Jul 2014 08:56:31 -0700 Message-ID: <20140709155631.GA21127@bdvolkin-ubuntu-desktop> References: <1404858400-18879-1-git-send-email-bradley.d.volkin@intel.com> <1404858400-18879-4-git-send-email-bradley.d.volkin@intel.com> <20140709073638.GB12556@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 9CD036E6B7 for ; Wed, 9 Jul 2014 09:04:55 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140709073638.GB12556@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Wed, Jul 09, 2014 at 12:36:38AM -0700, Chris Wilson wrote: > On Tue, Jul 08, 2014 at 03:26:38PM -0700, bradley.d.volkin@intel.com wrote: > > From: Brad Volkin > > > > It provides some useful information about the buffers in > > the global command parser batch pool. > > > > v2: rebase on global pool instead of per-ring pools > > Include the counts in i915_gem_objects as well. > > The issue is that the kernel allocated objects will perturb the number > of objects allocated (possibly substantially) so having the kernel > listed for its consumption will help track usage. Ok, so maybe reuse per_file_stats() and add another line like those but for the batch pool? Brad > -Chris > > -- > Chris Wilson, Intel Open Source Technology Centre