]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Improve HWS hang detection and handling
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 20 Dec 2019 07:07:54 +0000 (02:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:54:56 +0000 (11:54 -0500)
commit3aa02e924b8f94a7d7561bdc8eac2d01e0642dbb
tree81d10d04199044f1c86abdc359fc8adee755d254
parent94108e59bfc692efc91ae4c8c4194e7f851f2737
drm/amdkfd: Improve HWS hang detection and handling

Move HWS hang detection into unmap_queues_cpsch to catch hangs in all
cases. If this happens during a reset, don't schedule another reset
because the reset already in progress is expected to take care of it.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Tested-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: shaoyunl <shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h