summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2025-07-04 13:25:48 +0530
committerChristian König <christian.koenig@amd.com>2025-07-04 16:00:48 +0200
commitc03ea34cbf88dd778197a929b3269003567def55 (patch)
tree1d0bc6c6b464b671b2f28e1f6592e3af7884636d /drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
parent719b378d371899c8bbaf0ce5f42bf7db4be819f9 (diff)
drm/amdgpu: add support of debugfs for mqd information
Add debugfs support for mqd for each queue of the client. The address exposed to debugfs could be used to dump the mqd. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://lore.kernel.org/r/20250704075548.1549849-5-sunil.khatri@amd.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
index ec040c2fd6c9..b1ca91b7cda4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
@@ -65,6 +65,7 @@ struct amdgpu_usermode_queue {
struct dma_fence *last_fence;
u32 xcp_id;
int priority;
+ struct dentry *debugfs_queue;
};
struct amdgpu_userq_funcs {