]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee5f09b42ee18127d64083e40c261ec93c8c9812
tree2ab0a8e015b6ff66d3de77f2ad2a7ba87555b28a
parentf0f304602470cffb9c01f3a0c82976de7ee31f8c
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