]> 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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 23 Jun 2015 12:55:13 +0000 (14:55 +0200)
commit8ff2f15484e7e280d14098aabcb37f02c512c1bc
treecc3665b1bc29edefba39ee51988cf32dba9ee54c
parenta161c7118ad2f43104f34866c932693dff966d2f
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: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/radeon_device.c