]> git.hungrycats.org Git - linux/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 15:22:43 +0000 (11:22 -0400)
commit6c1f4f7ff08448e0e18cd7fc4e59d6c96a36f25d
treeb2fd719b27987bc6051349c2fee6500d9382dfc5
parent88e589cc811ba907209a426c426c469bcb4bb894
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>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c