[PATCH v3 0/4] Add support of VM PT and MQD per client-id

Sunil Khatri sunil.khatri at amd.com
Tue Jun 17 10:26:15 UTC 2025


The set of patches rearranges the debugfs related code in the drm
subsystem to better manager the root node "dri". Since the dentry
for the "dri" is needed in other functionality so the task is necessary.

Over the above amdgpu VM PT support along with User queues MQD dumping
support is added based on per client-id as that is a unique no across
devices and unlike PID it is more reliable.

Sunil Khatri (4):
  drm: move debugfs functionality from drm_drv.c to drm_debugfs.c
  drm: add debugfs support on per client-id basis
  drm/amdgpu: add debugfs support for VM pagetable per client
  drm/amdgpu: add support of debugfs for mqd information

 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c   |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 50 +++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c    | 58 +++++++++++++++++++++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h    |  4 +-
 drivers/gpu/drm/drm_debugfs.c             | 59 +++++++++++++++++++++--
 drivers/gpu/drm/drm_drv.c                 | 11 ++---
 drivers/gpu/drm/drm_file.c                | 10 ++++
 drivers/gpu/drm/drm_internal.h            |  6 +--
 include/drm/drm_debugfs.h                 | 12 +++++
 include/drm/drm_device.h                  |  4 ++
 include/drm/drm_drv.h                     | 10 ++++
 include/drm/drm_file.h                    |  7 +++
 12 files changed, 215 insertions(+), 18 deletions(-)

-- 
2.34.1



More information about the dri-devel mailing list