[PATCH] drm/amdgpu: fix queue reset issue by mmio
Alex Deucher
alexdeucher at gmail.com
Wed Sep 4 12:10:50 UTC 2024
On Wed, Sep 4, 2024 at 6:03 AM Jesse.zhang at amd.com <jesse.zhang at amd.com> wrote:
>
> Initialize the queue type before resetting the queue using mmio.
>
> Signed-off-by: Jesse Zhang <jesse.zhang at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
> index f7d5d4f08a53..10b61ff63802 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
> @@ -832,6 +832,7 @@ int amdgpu_mes_reset_hw_queue_mmio(struct amdgpu_device *adev, int queue_type,
> struct mes_reset_queue_input queue_input;
> int r;
>
> + queue_input.queue_type = queue_type;
> queue_input.use_mmio = true;
> queue_input.me_id = me_id;
> queue_input.pipe_id = pipe_id;
> --
> 2.25.1
>
More information about the amd-gfx
mailing list