drm/amd/amdgpu: sdma resume fail during S4 on CI
authorjimqu <Jim.Qu@amd.com>
Tue, 30 Aug 2016 00:59:42 +0000 (08:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2016 06:32:42 +0000 (08:32 +0200)
commit2d4ab6c1368a8bdf2d4c8a2980f028f6f0fb142e
tree582d6a0ef11ba0c645ccf007dcdd69046bbb3a97
parent2b2627113eee3050a0744a98940b987ad1341c0b
drm/amd/amdgpu: sdma resume fail during S4 on CI

commit 10ea9434065e56fe14287f89258ecf2fb684ed1a upstream.

SDMA could be fail in the thaw() and restore() processes, do software reset
if each SDMA engine is busy.

Signed-off-by: JimQu <Jim.Qu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/cik_sdma.c