drm/amdkfd: Implement hang detection in KFD and call amdgpu
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Thu, 12 Jul 2018 02:32:58 +0000 (22:32 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 12 Jul 2018 02:32:58 +0000 (22:32 -0400)
commit73ea648d921ed5c58895c8592321456fe12b697f
tree5d02a5722b37ad2da07d8bffb14d81e99bc3f19b
parent24da5a9ca6c225ecdc33ea9c7c1b3aa0debed203
drm/amdkfd: Implement hang detection in KFD and call amdgpu

The reset will be performed in a new hw_exception work thread to
handle HWS hang without blocking the thread that detected the hang.

Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h