[PATCH 05/13] drm/amdgpu/user: add priorty to user queue structure

Alex Deucher alexander.deucher at amd.com
Thu Apr 10 18:53:54 UTC 2025


So we can track this when we create user queues.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
index fd0542f60433b..e0bc45e36dbc5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
@@ -56,6 +56,7 @@ struct amdgpu_usermode_queue {
 	struct xarray		fence_drv_xa;
 	struct amdgpu_userq_fence_driver *fence_drv;
 	struct dma_fence	*last_fence;
+	int			priority;
 };
 
 struct amdgpu_userq_funcs {
-- 
2.49.0



More information about the amd-gfx mailing list