aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorshaoyunl <[email protected]>2021-03-04 21:58:29 -0500
committerAlex Deucher <[email protected]>2021-03-23 23:10:35 -0400
commit655ce9cb13b5967558d81dd644868473ecfb5ee4 (patch)
tree5de2bd1db5cd339272969cba893ee12f71992f55 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parenta330b52a9e59167a77e42844fd66a1610051811e (diff)
drm/amdgpu: Add reset_list for device list used for reset
The gmc.xgmi.head list originally is designed for device list in the XGMI hive. Mix use it for reset purpose will prevent the reset function to adjust XGMI device list which is required in next change Signed-off-by: shaoyunl <[email protected]> Reviewed-by: Andrey Grodzovsky [email protected] Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index a65f42558690..d660deec20f0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1044,6 +1044,7 @@ struct amdgpu_device {
int asic_reset_res;
struct work_struct xgmi_reset_work;
+ struct list_head reset_list;
long gfx_timeout;
long sdma_timeout;