diff options
| author | Andrey Grodzovsky <[email protected]> | 2021-11-30 21:19:03 +0000 |
|---|---|---|
| committer | Andrey Grodzovsky <[email protected]> | 2022-02-09 17:14:32 +0000 |
| commit | a4c63cafa58b4bd9e15511bab77a4752b93d3aa0 (patch) | |
| tree | aac955591dc25029555d4800454a0faa3ff20a7c /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | |
| parent | drm/nouveau/backlight: Just set all backlight types as RAW (diff) | |
| download | kernel-a4c63cafa58b4bd9e15511bab77a4752b93d3aa0.tar.gz kernel-a4c63cafa58b4bd9e15511bab77a4752b93d3aa0.zip | |
drm/amdgpu: Introduce reset domain
Defined a reset_domain struct such that
all the entities that go through reset
together will be serialized one against
another. Do it for both single device and
XGMI hive cases.
Signed-off-by: Andrey Grodzovsky <[email protected]>
Suggested-by: Daniel Vetter <[email protected]>
Suggested-by: Christian König <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://www.spinics.net/lists/amd-gfx/msg74111.html
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h index d2189bf7d428..6121aaa292cb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h @@ -42,6 +42,8 @@ struct amdgpu_hive_info { AMDGPU_XGMI_PSTATE_MAX_VEGA20, AMDGPU_XGMI_PSTATE_UNKNOWN } pstate; + + struct amdgpu_reset_domain reset_domain; }; struct amdgpu_pcs_ras_field { |
