drm/amdkfd: Block per-queue reset when halt_if_hws_hang=1
authorJay Cornwall <jay.cornwall@amd.com>
Thu, 16 Jan 2025 20:36:39 +0000 (14:36 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jan 2025 21:22:02 +0000 (16:22 -0500)
commitf214b7beb00621b983e67ce97477afc3ab4b38f4
treeccf76e65bf797071757f56d754ff8eed3790cadd
parent64179a1416e1420a34226ab3beb5f84710953d16
drm/amdkfd: Block per-queue reset when halt_if_hws_hang=1

The purpose of halt_if_hws_hang is to preserve GPU state for driver
debugging when queue preemption fails. Issuing per-queue reset may
kill wavefronts which caused the preemption failure.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: Jonathan Kim <Jonathan.Kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.12.x
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c