]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Update BadOpcode Interrupt handling with MES
authorMukul Joshi <mukul.joshi@amd.com>
Mon, 12 Aug 2024 15:11:28 +0000 (11:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:14:13 +0000 (22:14 -0400)
commiteb067d65c33eecd4b81771384183ad42eec259bf
tree9277ebbe2644ae4a581a6f5c0a968c2bd478c9b6
parent9a16042f02cd08bbd0a5a2d8e9c95347717165a3
drm/amdkfd: Update BadOpcode Interrupt handling with MES

Based on the recommendation of MEC FW, update BadOpcode interrupt
handling by unmapping all queues, removing the queue that got the
interrupt from scheduling and remapping rest of the queues back when
using MES scheduler. This is done to prevent the case where unmapping
of the bad queue can fail thereby causing a GPU reset.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Acked-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h