[Intel-gfx] [PATCH v2 3/5] drm/i915: Add a batch pool debugfs file

Volkin, Bradley D bradley.d.volkin at intel.com
Wed Jul 9 17:56:31 CEST 2014


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 at intel.com wrote:
> > From: Brad Volkin <bradley.d.volkin at intel.com>
> > 
> > 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



More information about the Intel-gfx mailing list