drm/amdgpu/userq: track the xcp_id associated with the queue
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Apr 2025 18:16:41 +0000 (14:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:55:55 +0000 (10:55 -0400)
Track this to align with KFD for enforce isolation
handling.

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

index 381b9c6f0573d18076c155f7f6132f0c2da45fe1..db79141e1c1e0437d61550caaef1d192ba679817 100644 (file)
@@ -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;
+       u32                     xcp_id;
 };
 
 struct amdgpu_userq_funcs {