]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: add debugfs directory v2
authorChristian König <christian.koenig@amd.com>
Tue, 17 Nov 2020 14:48:08 +0000 (15:48 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 20 Jan 2021 11:56:45 +0000 (12:56 +0100)
commit223e1e2bb5f00a4d67f97e91cfdfa312f6c318e9
treef64b55a10b44912267538a1ffdb7d85293edb3ce
parent5169dd99135518863d2c37db499d3de5fbb06335
drm/ttm: add debugfs directory v2

As far as I can tell the buffer_count was never used by an
userspace application.

The number of BOs in the system is far better suited in
debugfs than sysfs and we now should be able to add other
information here as well.

v2: add that additionally to sysfs

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/414954/
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_module.c
drivers/gpu/drm/ttm/ttm_module.h