]> 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)
commit6e45efa6f64cb51643c4bee4204645405bc2e373
tree237ddd6f8037b23728f978452152792dd6ccd21b
parent7e44487e47009af8164d5020eb8972f893c9bc90
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