]> 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)
commitdb80a1294c231b6ac725085f046bb2931e00c9db
tree51c7ef6bef8b97798f8474ff08ecc556bf254c72
parent6f0f70cdaf872cd5146a4af96c179bf5d39703b5
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