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)
commit3763d635deaa755c7849074d144c74086565591e
treef64b55a10b44912267538a1ffdb7d85293edb3ce
parente1827807e8d9d5b67c21aa565697211df3f23d25
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