drm/amdgpu: Add work_struct for GPU reset from kfd.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 17 May 2022 18:25:20 +0000 (14:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jun 2022 19:26:07 +0000 (15:26 -0400)
commitb5fd0cf3ea377a7332721df8a8c8e7715f93c8d4
tree0b192dd2416c6bd79028efe1886e36bb1aff98b9
parent2f83658ffc8c259f05e79dc632e34b26bb8b75c5
drm/amdgpu: Add work_struct for GPU reset from kfd.

We need to have a work_struct to cancel this reset if another
already in progress.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c