]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: stop data_exchange work thread before reset
authorTiecheng Zhou <Tiecheng.Zhou@amd.com>
Wed, 19 Aug 2020 02:27:09 +0000 (10:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Sep 2020 21:03:22 +0000 (17:03 -0400)
commit8832ec68877f75681541d63bda8e9a6fc4af0715
tree770ac9d3e89b8106bb0b8eeb4b063a788693197b
parent44819f856ceaaf442dbca7b56409a06255ea645a
drm/amdgpu: stop data_exchange work thread before reset

In FLR routine, init_data_exchange is called at reset_sriov
while fini_data_exchange is not. This will duplicating work
thread.

So call fini_data_exchange before reset for SRIOV

Signed-off-by: Tiecheng Zhou <Tiecheng.Zhou@amd.com>
Signed-off-by: Bokun Zhang <Bokun.Zhang@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c