drm/i915: Print how many objects are shared in per-process stats
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Mar 2014 13:45:46 +0000 (13:45 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Mar 2014 14:09:36 +0000 (15:09 +0100)
commitc67a17e972913e03e37d9f55d3bcd7bfc0404a37
tree2ab0a8e015b6ff66d3de77f2ad2a7ba87555b28a
parent6313c20490c8ae32ffb40f45c60734db53ca85ea
drm/i915: Print how many objects are shared in per-process stats

The point of this measure is to gauge why a process has a lot of gem
objects in uses and why. Especially for compositors it's interesting
to know whether it's a leak of private objects or just a lot of use
from buffers shared with clients.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Add a bit of commit message flesh to address Ben's comment.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c