]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1384ecc39916852d261591bdf182c0e6c8fc2701
tree237ddd6f8037b23728f978452152792dd6ccd21b
parent2031ae0dd4f4527f4ad2796659d7054ae1b737b7
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