]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/gfx12: fix EOP interrupt routing for KQ and userq
authorJesse Zhang <Jesse.Zhang@amd.com>
Thu, 11 Jun 2026 02:26:04 +0000 (10:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2026 16:59:56 +0000 (12:59 -0400)
commit128abbbfa913e7e099b75ae652cc90cfd66c6d6b
tree6fc4b0c41d0731af928868ed738b626fd86c9dd6
parent0a3d35460320baf8744c7dcc3e287e07fbaf6d36
drm/amdgpu/gfx12: fix EOP interrupt routing for KQ and userq

Try KQ by ring_id first (KCQ and UQ never share a HW slot); fall back
to amdgpu_userq_process_fence_irq() on miss, since KCQ EOPs were
misrouted into the userq fence path when enable_mes is true.

Require a strict (me,pipe,queue) match in the gfx case, then userq gfx
EOPs fall through to amdgpu_userq_process_fence_irq().

Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 6c1f4f7ff08448e0e18cd7fc4e59d6c96a36f25d)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c