summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h
diff options
context:
space:
mode:
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>2021-12-15 16:55:25 -0500
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>2022-02-09 12:16:29 -0500
commit681260df4dad45337b14ba762f94b402204e9ac3 (patch)
treea232a52d78e39c96bcf0f32ea7e65769e4d210a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h
parent02599bc7f7047f2b316ab499f41d72ca14e3b3d3 (diff)
downloadlinux-681260df4dad45337b14ba762f94b402204e9ac3.tar.gz
linux-681260df4dad45337b14ba762f94b402204e9ac3.tar.bz2
linux-681260df4dad45337b14ba762f94b402204e9ac3.zip
drm/amdgpu: Drop hive->in_reset
Since we serialize all resets no need to protect from concurrent resets. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://www.spinics.net/lists/amd-gfx/msg74115.html
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h
index 6121aaa292cb..2f2ce53645a5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h
@@ -33,7 +33,6 @@ struct amdgpu_hive_info {
struct list_head node;
atomic_t number_devices;
struct mutex hive_lock;
- atomic_t in_reset;
int hi_req_count;
struct amdgpu_device *hi_req_gpu;
struct task_barrier tb;