]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/radeon/dpm: disable sclk ss on rv6xx
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Aug 2013 18:35:02 +0000 (14:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2013 21:37:12 +0000 (17:37 -0400)
Enabling spread spectrum on the engine clock
leads to hangs on some asics.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=66963

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/rv6xx_dpm.c

index e44a90a359a5e5aeb66db89129e5f6082b2f302b..bdd888b4db2bbc7bf4f6f2cc718512fa999e223f 100644 (file)
@@ -1992,6 +1992,9 @@ int rv6xx_dpm_init(struct radeon_device *rdev)
        pi->mclk_ss = radeon_atombios_get_asic_ss_info(rdev, &ss,
                                                       ASIC_INTERNAL_MEMORY_SS, 0);
 
+       /* Disable sclk ss, causes hangs on a lot of systems */
+       pi->sclk_ss = false;
+
        if (pi->sclk_ss || pi->mclk_ss)
                pi->dynamic_ss = true;
        else