]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Remove per-client stats from debugfs/i915_gem_objects
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Jan 2021 11:08:54 +0000 (11:08 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 13:20:46 +0000 (13:20 +0000)
commitb0e40f0c582b80bddf16994d4b02d5faaef4767a
tree51c7ef6bef8b97798f8474ff08ecc556bf254c72
parent5dd49ab3f34662ae4bd806a421072c8c8b929019
drm/i915/gem: Remove per-client stats from debugfs/i915_gem_objects

Rather than trying to avoid the use-after-free possible with the current
context chasing, simply remove presentation of the per-client stats from
debugfs. While we know from bug reports that this debugfs/i915_gem_objects
has been used by chromeos (and chrome itself) for debug purposes, google
suggests that it is unparsed, so we are free to invoke debugfs is not
ABI and remove details from it.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210118110854.1873-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c