diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-24 14:53:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-24 15:32:22 +0100 |
commit | 15da95656dc44538fa71e3c00fc65db05b4a4788 (patch) | |
tree | 8c934016fcc982d83b01ba8ab99e37333737501f /drivers/dca | |
parent | 8d59bc6ae9133b9986130835a060dc2532d04b00 (diff) | |
download | op-kernel-dev-15da95656dc44538fa71e3c00fc65db05b4a4788.zip op-kernel-dev-15da95656dc44538fa71e3c00fc65db05b4a4788.tar.gz |
drm/i915/debugfs: Show context objects in i915_gem_objects
One of the uses for i915_gem_objects is pin-pointing leaks. For this, we
can compare the number of allocated objects and who owns them, a
discrepancy here often indicates a kernel bug. One allocator of unreported
objects is for backing context objects, so include those in the listing.
v2: Take filelist_mutex which requires a little dance with struct_mutex
to avoid nesting filelist_mutex inside struct_mutex.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464098023-3294-10-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions