[PATCH 0/5] Add support for XGMI hive reset.

Andrey Grodzovsky andrey.grodzovsky at amd.com
Wed Nov 21 18:10:16 UTC 2018


This set of patches adds support to reset entire XGMI hive
when reset is required.

Patches 1 and 2 add place holder for PSP mode 0 reset.
The actual implementation is still TBD on PSP side.

Patches 3-4 refactoring a bit the XGMI infrastructure as
preparaton for the actual hive reset change.

Patch 5 is GPU reset/recovery refactored to support XGMI
hive reset.

Andrey Grodzovsky (5)
 drm/amdgpu/psp: Add mode 0 reset function.
 drm/amdgpu/psp: Enable mode 0 reset for XGMI.
 drm/amdgpu: Refactor amdgpu_xgmi_add_device
 drm/amdgpu: Expose hive adev list and xgmi_mutex
 drm/amdgpu: Refactor GPU reset for XGMI hive case.

 drivers/gpu/drm/amd/amdgpu/amdgpu.h        |  10 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 371 +++++++++++++++++++++++++++++++++++++++++++++--------------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c    |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h    |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c   |  62 +++++++----
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c     |   8 ++
 6 files changed, 321 insertions(+), 139 deletions(-)



More information about the amd-gfx mailing list