OSDN Git Service

drm/amdgpu: recover XGMI topology for SRIOV VF after reset
authorZhigang Luo <zhigang.luo@amd.com>
Mon, 6 Dec 2021 21:21:03 +0000 (16:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:32:34 +0000 (16:32 -0500)
commita5f67c939eb2d3841c110c5355bf2226e1850828
treeb0224c493907e6071e0d5cfa016f52b85b2f042c
parentdd26e018aaa408faaf16168cbc7e83c2b159ae63
drm/amdgpu: recover XGMI topology for SRIOV VF after reset

For SRIOV VF, the XGMI topology was not recovered after reset. This
change added code to SRIOV VF reset function to update XGMI topology
for SRIOV VF after reset.

Signed-off-by: Zhigang Luo <zhigang.luo@amd.com>
Reviewed-by: Shaoyun Liu <shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c