All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amber Lin <amber.lin@amd.com>
To: <amd-gfx@lists.freedesktop.org>, <shaoyun.liu@amd.com>,
	<alexander.deucher@amd.com>, <Jesse.Zhang@amd.com>
Cc: Amber Lin <amber.lin@amd.com>
Subject: [PATCH 2/2] drm/amdgpu: Set queue reset method for GC 12.1
Date: Thu, 20 Aug 2026 11:25:04 -0400	[thread overview]
Message-ID: <20260820152504.1160822-2-amber.lin@amd.com> (raw)
In-Reply-To: <20260820152504.1160822-1-amber.lin@amd.com>

Explicitely set use_mmio_for_reset=false in gfx_v12_1_sw_init for using
MES to perform queue/pipe reset

Signed-off-by: Amber Lin <amber.lin@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
index 9dd7a3335719..97f4da7b7607 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
@@ -1560,6 +1560,9 @@ static int gfx_v12_1_sw_init(struct amdgpu_ip_block *ip_block)
 
 	gfx_v12_1_alloc_ip_dump(adev);
 
+	adev->gfx.me.use_mmio_for_reset = false;
+	adev->gfx.mec.use_mmio_for_reset = false;
+
 	mutex_init(&adev->gfx.mec.reset_mutex);
 
 	return 0;
-- 
2.43.0


  reply	other threads:[~2026-08-20 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20 15:25 [PATCH 1/2] drm/amdgpu: Fix reset_hw_queue on MES 12.1 Amber Lin
2026-08-20 15:25 ` Amber Lin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-08-11 19:54 [PATCH 1/2] drm/amdgpu: Fix per queue reset " Amber Lin
2026-08-11 19:54 ` [PATCH 2/2] drm/amdgpu: Set queue reset method for GC 12.1 Amber Lin

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=20260820152504.1160822-2-amber.lin@amd.com \
    --to=amber.lin@amd.com \
    --cc=Jesse.Zhang@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=shaoyun.liu@amd.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.