AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Timur Kristóf" <timur.kristof@gmail.com>
To: amd-gfx@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>,
	Alex Deucher <alexander.deucher@amd.com>
Subject: Re: [PATCH 1/2] drm/amdgpu/gfx11: adjust KGQ reset sequence
Date: Thu, 29 Jan 2026 10:35:34 +0100	[thread overview]
Message-ID: <2769950.lGaqSPkdTl@timur-hyperion> (raw)
In-Reply-To: <20260129043936.33607-1-alexander.deucher@amd.com>

On Thursday, January 29, 2026 5:39:35 AM Central European Standard Time Alex 
Deucher wrote:
> Kernel gfx queues do not need to be reinitialized or
> remapped after a reset.  This fixes queue reset failures
> on APUs.
> 
> Fixes: b3e9bfd86658 ("drm/amdgpu/gfx11: add ring reset callbacks")
> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4789
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

The series is:
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
(including with Jesse's suggestion if you choose to implement that).

I notice that gfx_v10_0_reset_kgq() also calls gfx_v10_0_kgq_init_queue(), 
should that call be removed as well or made conditional?

> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 12 ------------
>  1 file changed, 12 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index b5a2d09fc3469..489edf517f91c
> 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> @@ -6854,18 +6854,6 @@ static int gfx_v11_0_reset_kgq(struct amdgpu_ring
> *ring, return r;
>  	}
> 
> -	r = gfx_v11_0_kgq_init_queue(ring, true);
> -	if (r) {
> -		dev_err(adev->dev, "failed to init kgq\n");
> -		return r;
> -	}
> -
> -	r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
> -	if (r) {
> -		dev_err(adev->dev, "failed to remap kgq\n");
> -		return r;
> -	}
> -
>  	return amdgpu_ring_reset_helper_end(ring, timedout_fence);
>  }





  parent reply	other threads:[~2026-01-29  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-29  4:39 [PATCH 1/2] drm/amdgpu/gfx11: adjust KGQ reset sequence Alex Deucher
2026-01-29  4:39 ` [PATCH 2/2] drm/amdgpu/gfx12: " Alex Deucher
2026-01-29  8:56 ` [PATCH 1/2] drm/amdgpu/gfx11: " Zhang, Jesse(Jie)
2026-01-29  9:35 ` Timur Kristóf [this message]
2026-01-29 16:53   ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2769950.lGaqSPkdTl@timur-hyperion \
    --to=timur.kristof@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox