]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Feb 2025 09:05:07 +0000 (10:05 +0100)
commit4d23b42a45dcff725dc8be8c41aa4712241dd764
tree58e8c6a9cc875bd0f71c4dfe92dd1bbf6dfe6248
parent89dcc75d517208bae58ac15fd97a56721a529ade
drm/amdkfd: Block per-queue reset when halt_if_hws_hang=1

commit f214b7beb00621b983e67ce97477afc3ab4b38f4 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c