From 063422c226e30c75a2562a2455643c5dabb03092 Mon Sep 17 00:00:00 2001 From: Amber Lin Date: Wed, 5 Aug 2026 13:57:48 -0400 Subject: [PATCH] drm/amdgpu: Set queue reset method for GC 12.1 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 Reviewed-by: Jesse Zhang Signed-off-by: Alex Deucher --- 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 4f34a963acf3..505f35d636ff 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c @@ -1567,6 +1567,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;