drm/amdgpu: stop all rings before doing gpu recover
authorMonk Liu <Monk.Liu@amd.com>
Mon, 25 Dec 2017 07:14:58 +0000 (15:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Mar 2018 16:52:23 +0000 (11:52 -0500)
commit711826656bebb09b814349fac21cb13f88f92665
tree1d0de6726037201ef12da1a861de954f310e91a2
parentd869ae092e39022c2bba81ea498abe74249a338c
drm/amdgpu: stop all rings before doing gpu recover

found recover_vram_from_shadow sometimes get executed
in paralle with SDMA scheduler, should stop all
schedulers before doing gpu reset/recover

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c