]> 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)
commite8b2536124ec13ff77bf4ca0fa37da01b4fa12a8
treef64b55a10b44912267538a1ffdb7d85293edb3ce
parent728549e5fae46ad1f1dbcdf69a10211002b5a5e4
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