[PATCH 2/7] drm/amdgpu/userq: add callback for reset

Christian König christian.koenig at amd.com
Tue May 6 09:13:09 UTC 2025


On 4/30/25 17:48, Alex Deucher wrote:
> This is used to reset a queue.
> 
> Reviewed-by: Sunil Khatri <sunil.khatri at amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
> index 4d3eb651acf1a..24d201cdc9887 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
> @@ -77,6 +77,8 @@ struct amdgpu_userq_funcs {
>  		     struct amdgpu_usermode_queue *queue);
>  	int (*map)(struct amdgpu_userq_mgr *uq_mgr,
>  		   struct amdgpu_usermode_queue *queue);
> +	int (*reset)(struct amdgpu_userq_mgr *uq_mgr,
> +		     struct amdgpu_usermode_queue *queue);
>  };
>  
>  /* Usermode queues for gfx */



More information about the amd-gfx mailing list