]> git.hungrycats.org Git - linux/commit
drm/amdgpu/gfx11: fix EOP interrupt routing for KQ and userq
authorJesse Zhang <Jesse.Zhang@amd.com>
Thu, 11 Jun 2026 02:14:32 +0000 (10:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2026 16:59:47 +0000 (12:59 -0400)
commit0a3d35460320baf8744c7dcc3e287e07fbaf6d36
tree4bfedbe7ae4c0017a56c66c22e340374b6745078
parent426ffae6ecc7ec77d32bf8be065c21a1b881b084
drm/amdgpu/gfx11: 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 KQ 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 88e589cc811ba907209a426c426c469bcb4bb894)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c