drm/amdgpu: Add work_struct for GPU reset from debugfs
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 17 May 2022 18:14:19 +0000 (14:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jun 2022 19:25:48 +0000 (15:25 -0400)
commit2f83658ffc8c259f05e79dc632e34b26bb8b75c5
treeba807fe17d7d54df8ee14d1807cc58c619b221cf
parent25a2b22e4148b1ac91960e13f4f5de020ed04d05
drm/amdgpu: Add work_struct for GPU reset from debugfs

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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c