[Intel-gfx] [PATCH 2/2] drm/i915: Show pin mapped counts and sizes in debugfs

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 14 12:32:27 UTC 2016


On Thu, Apr 14, 2016 at 12:57:02PM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Show a total and purgeable number of pin mapped objects
> and their total and purgeable size.
> 
> Example output (new stat prefixed with a star):
> 
>   # cat i915_gem_objects
>   19920 objects, 289243136 bytes
>   19920 [18466] objects, 288714752 [267911168] bytes in gtt
>     0 [0] active objects, 0 [0] bytes
>     19917 [18466] inactive objects, 288714752 [267911168] bytes
>   0 unbound objects, 0 bytes
>   0 purgeable objects, 0 bytes
>   1 pinned mappable objects, 3145728 bytes
>   0 fault mappable objects, 0 bytes
> * 19914 [0] pin mapped objects, 285560832 [0] bytes [purgeable]
>   4294967296 [268435456] gtt total
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

Both Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list