From: Alex Deucher Date: Fri, 11 Apr 2025 18:16:41 +0000 (-0400) Subject: drm/amdgpu/userq: track the xcp_id associated with the queue X-Git-Tag: v6.16-rc1~144^2~10^2~185 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56a0a80af043eadb4af86ab426b3c00624acb832;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu/userq: track the xcp_id associated with the queue Track this to align with KFD for enforce isolation handling. Reviewed-by: Sunil Khatri Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h index 381b9c6f0573d..db79141e1c1e0 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; + u32 xcp_id; }; struct amdgpu_userq_funcs {