OSDN Git Service

drm/amdgpu: Use per device reset_domain for XGMI on sriov configuration
authorshaoyunl <shaoyun.liu@amd.com>
Wed, 7 Sep 2022 03:05:11 +0000 (23:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 16:54:23 +0000 (12:54 -0400)
commit46c676600c715f833b066581247cd5a461e03441
tree237ddd6f8037b23728f978452152792dd6ccd21b
parent1ed1f6be6eb3daa8097d6419dde516c9854a8790
drm/amdgpu: Use per device reset_domain for XGMI on sriov configuration

For SRIOV configuration, host driver control the reset method(either FLR or
heavier chain reset). The host will notify the guest individually with FLR
message if individual GPU within the hive need to be reset. So for guest
side, no need to use hive->reset_domain to replace the original per
device reset_domain

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c