]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu/userq: add priorty to user queue structure
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 03:38:08 +0000 (22:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:56:39 +0000 (10:56 -0400)
So we can track this when we create user queues.

Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Jesse.Zhang <Jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h

index 0701f33e6740f93d5c903c5c9e7cf14130347b8c..b2da513b3d02187f6da7805f8fe4b5407e2a8173 100644 (file)
@@ -57,6 +57,7 @@ struct amdgpu_usermode_queue {
        struct amdgpu_userq_fence_driver *fence_drv;
        struct dma_fence        *last_fence;
        u32                     xcp_id;
+       int                     priority;
 };
 
 struct amdgpu_userq_funcs {