summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-02-27 06:38:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-21 17:56:39 +0300
commit9546c05628a7782508ce4b779b4b00c2276b9e38 (patch)
tree9822dda857ae3450c072e7743240055bf0f8635b /drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
parenta83be6e4798efbfd3f6ca511806fbaab73a4d7e7 (diff)
downloadlinux-9546c05628a7782508ce4b779b4b00c2276b9e38.tar.xz
drm/amdgpu/userq: add priorty to user queue structure
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
index 0701f33e6740..b2da513b3d02 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
@@ -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 {