mbox series

[0/5] drm/ttm: Introduce TTM res manager debugfs helpers

Message ID 20220407025652.146426-1-zack@kde.org (mailing list archive)
Headers show
Series drm/ttm: Introduce TTM res manager debugfs helpers | expand

Message

Zack Rusin April 7, 2022, 2:56 a.m. UTC
From: Zack Rusin <zackr@vmware.com>

This series introduces generic TTM resource manager debugfs helpers and
refactors TTM drivers which have been using hand rolled out versions
of those to use the new code.

Because those entries are managed by TTM the location of them moves to
/sys/kernel/debug/ttm/. If there are any scripts which depend on the old
locations we can certainly add a new root dentry to
ttm_resource_manager_debugfs_init to preserve the old locations.

Zack Rusin (5):
  drm/ttm: Add common debugfs code for resource managers
  drm/vmwgfx: Add debugfs entries for various ttm resource managers
  drm/amdgpu: Use TTM builtin resource manager debugfs code
  drm/qxl: Use TTM builtin resource manager debugfs code
  drm/radeon: Use TTM builtin resource manager debugfs code

 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 81 ++++---------------------
 drivers/gpu/drm/qxl/qxl_ttm.c           | 40 +++---------
 drivers/gpu/drm/radeon/radeon_ttm.c     | 37 +++--------
 drivers/gpu/drm/ttm/ttm_resource.c      | 65 ++++++++++++++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c     | 10 +++
 include/drm/ttm/ttm_resource.h          |  4 ++
 6 files changed, 104 insertions(+), 133 deletions(-)