]> 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)
commit54af4d05497e1ff5ccb04f287aacb4241ce0938d
treead1fd0576c9d13eef386382ddbe5d6392337c70a
parent0f5b59d8b33509eb21d0e3225db8286b184cfa3a
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