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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Aug 2016 16:44:45 +0000 (12:44 -0400)
commit10ea9434065e56fe14287f89258ecf2fb684ed1a
treee5bb776df6ef1865fdbd190cababc31f9c4f35a9
parent279cf3f23870f7eb8ca071115e06d3d5ca0a2b9e
drm/amd/amdgpu: sdma resume fail during S4 on CI

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/cik_sdma.c