]> 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)
commitd5d73cea0fbfac7bbf96ed24fe302806db4d4554
tree51c7ef6bef8b97798f8474ff08ecc556bf254c72
parent5a63dcc30c77597c2d5db759db951b04b0bc39b4
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