]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 11 Jun 2015 14:26:42 +0000 (10:26 -0400)
commitbef1e19713a2697f069a9a43c77fa74c6ea51e6c
treecc01011088c4f4ecb7bfbe5febfd15d931f74b05
parent445d953b697d1aa92d414195023b11d92df5659a
drm/radeon: fix freeze for laptop with Turks/Thames GPU.

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>
drivers/gpu/drm/radeon/radeon_device.c