diff options
| author | Alex Deucher <[email protected]> | 2025-04-11 18:16:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-21 14:55:55 +0000 |
| commit | 56a0a80af043eadb4af86ab426b3c00624acb832 (patch) | |
| tree | a5c72d360fc575437afc3bcd254044f9d785fc0b /drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h | |
| parent | drm/amdgpu: Clear overflow for SRIOV (diff) | |
| download | kernel-56a0a80af043eadb4af86ab426b3c00624acb832.tar.gz kernel-56a0a80af043eadb4af86ab426b3c00624acb832.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h | 1 |
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 381b9c6f0573..db79141e1c1e 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 { |
