]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdkfd: Reset GPU on queue preemption failure
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Tue, 26 Mar 2024 19:32:46 +0000 (15:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 03:09:31 +0000 (23:09 -0400)
commit8bdfb4ea95ca738d33ef71376c21eba20130f2eb
tree03902e841eb975e94cbd0516fd5709f3e4975774
parent718c4fb221dbeff9072810841b949413c5ffc345
drm/amdkfd: Reset GPU on queue preemption failure

Currently, with F32 HWS GPU reset is only when unmap queue fails.

However, if compute queue doesn't repond to preemption request in time
unmap will return without any error. In this case, only preemption error
is logged and Reset is not triggered. Call GPU reset in this case also.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c