]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
drm/radeon/dpm: re-enable state transitions for BTC
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2013 20:04:02 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2013 20:04:02 +0000 (16:04 -0400)
Was disabled due to stability issues on certain boards
caused by the a bug in the parsing of the atom mc reg tables.
That's fixed now so re-enable.

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

index bab01858341746e40b228e8eca385c0353e60ee1..f072660c7665a6e1b653254527cf3075d9bfd112 100644 (file)
@@ -2326,14 +2326,11 @@ int btc_dpm_set_power_state(struct radeon_device *rdev)
                return ret;
        }
 
-#if 0
-       /* XXX */
        ret = rv770_unrestrict_performance_levels_after_switch(rdev);
        if (ret) {
                DRM_ERROR("rv770_unrestrict_performance_levels_after_switch failed\n");
                return ret;
        }
-#endif
 
        return 0;
 }