]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: fix freeze for laptop with Turks/Thames GPU.
authorJérôme Glisse <jglisse@redhat.com>
Fri, 5 Jun 2015 17:33:57 +0000 (13:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jun 2015 00:03:32 +0000 (17:03 -0700)
commit0be48e365dae8923571f04ae48f2ed9c20fed510
tree61453ea7cb6445409db76f3d4c3417c0222a238d
parent4357dd7929722f6209a655c89ec8963300ad59fa
drm/radeon: fix freeze for laptop with Turks/Thames GPU.

commit 6dfd197283bffc23a2b046a7f065588de7e1fc1e upstream.

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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_device.c