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

Zack Rusin zack at kde.org
Tue Apr 12 03:35:21 UTC 2022


From: Zack Rusin <zackr at vmware.com>

v2: Switch to using ttm_resource_manager's directly in the debugfs
callbacks

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.

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 | 86 +++++--------------------
 drivers/gpu/drm/qxl/qxl_ttm.c           | 39 ++---------
 drivers/gpu/drm/radeon/radeon_ttm.c     | 36 ++---------
 drivers/gpu/drm/ttm/ttm_resource.c      | 34 ++++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c     | 18 ++++++
 include/drm/ttm/ttm_resource.h          |  4 ++
 6 files changed, 84 insertions(+), 133 deletions(-)

-- 
2.32.0



More information about the dri-devel mailing list