drm/radeon: fix freeze for laptop with Turks/Thames GPU.

[ Upstream commit 6dfd197283 ]

Laptop with Turks/Thames GPU will freeze if dpm is enabled. It seems
the SMC engine is relying on some state inside the CP engine. CP needs
to chew at least one packet for it to get in good state for dynamic
power management.

This patch simply disabled and re-enable DPM after the ring test which
is enough to avoid the freeze.

Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Jérôme Glisse 2015-06-05 13:33:57 -04:00 • committed by Sasha Levin
commit 1b56dd7c11