aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-04-29 19:27:20 +0000
committerAlex Deucher <[email protected]>2025-04-30 22:16:14 +0000
commit2e828a25f850f1b7bd9be61fdac07bf6901b0d08 (patch)
treec9a4d5c6307472c5586297fe09b6e7673e4a563d /drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
parentdrm/amdgpu/mes: consolidate on a single mes reset callback (diff)
downloadkernel-2e828a25f850f1b7bd9be61fdac07bf6901b0d08.tar.gz
kernel-2e828a25f850f1b7bd9be61fdac07bf6901b0d08.zip
drm/amdgpu/mes: use correct MES pipe for resets
Use the KIQ pipe for kernel queues and the SCHED pipe for user queues. Fixes: 2408b0272b04 ("drm/amdgpu/mes: consolidate on a single mes reset callback") Cc: Michael Chen <[email protected]> Cc: Shaoyun Liu <[email protected]> Reviewed-by: Michael Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_v12_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mes_v12_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
index f9f2fbc0a716..b4f17332d466 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
@@ -869,7 +869,7 @@ static int mes_v12_0_reset_hw_queue(struct amdgpu_mes *mes,
mes_reset_queue_pkt.doorbell_offset = input->doorbell_offset;
}
- if (mes->adev->enable_uni_mes)
+ if (input->is_kq)
pipe = AMDGPU_MES_KIQ_PIPE;
else
pipe = AMDGPU_MES_SCHED_PIPE;