]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: fix the kfd pre_reset sequence in sriov
authorshaoyunl <shaoyun.liu@amd.com>
Fri, 5 Nov 2021 16:34:14 +0000 (12:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Nov 2021 22:08:00 +0000 (17:08 -0500)
commitbb7c5225816f2dbe8e4730d9880ba43b25c9c73a
treead1fd0576c9d13eef386382ddbe5d6392337c70a
parent9a47bb37519ce91bf6de9b50115f010d5e6c0902
drm/amd/amdgpu: fix the kfd pre_reset sequence in sriov

The KFD pre_reset should be called before reset been executed, it will
hold the lock to prevent other rocm process to sent the packlage to hiq
during host execute the real reset on the HW

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