OSDN Git Service

drm/radeon: SDMA fix hibernation (CI GPU family).
authorJérôme Glisse <jglisse@redhat.com>
Fri, 19 Jun 2015 14:32:16 +0000 (10:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:41 +0000 (11:21 -0400)
commit2ba8d1bb8f6b589037f7db1f01144fc80750e8f7
treec11b7185908fce2dec02a439454e24031b72b0e6
parent161569deaa03cf3c00ed63352006193f250b0648
drm/radeon: SDMA fix hibernation (CI GPU family).

In order for hibernation to reliably work we need to properly turn
off the SDMA block, sadly after numerous attemps i haven't not found
proper sequence for clean and full shutdown. So simply reset both
SDMA block, this makes hibernation works reliably on sea island GPU
family (CI)

Hibernation and suspend to ram were tested (several times) on :
Bonaire
Hawaii
Mullins
Kaveri
Kabini

Cc: stable@vger.kernel.org
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik_sdma.c