]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move kfd post_reset out of reset_sriov function
authorshaoyunl <shaoyun.liu@amd.com>
Thu, 18 Nov 2021 16:43:16 +0000 (11:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Nov 2021 19:06:52 +0000 (14:06 -0500)
commita69b982d9a6ebcd6ba24a3411fe443933f7d8c6f
tree9671ea07440d80dc7989995a0575d85455ab3a5c
parentb069cf618c1433735a594da051ced0473458d262
drm/amdgpu: move kfd post_reset out of reset_sriov function

Fixes: bb7c5225816f ("drm/amd/amdgpu: fix the kfd pre_reset sequence in sriov")
For sriov XGMI  configuration, the host driver will handle the hive reset,
so in guest side, the reset_sriov only be called once on one device. This will
make kfd post_reset unblanced with kfd pre_reset since kfd pre_reset already
been moved out of reset_sriov function. Move kfd post_reset out of reset_sriov
function to make them balance .

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