[PATCH 08/10] drm/amdgpu/userq: track the xcp_id associated with the queue

Khatri, Sunil sukhatri at amd.com
Mon Apr 14 06:18:53 UTC 2025


Reviewed-by: Sunil Khatri <sunil.khatri at amd.com>

On 4/12/2025 12:18 AM, Alex Deucher wrote:
> Track this to align with KFD for enforce isolation
> handling.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h | 1 +
>   1 file changed, 1 insertion(+)
>
> 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 {


More information about the amd-gfx mailing list