drm/radeon/kms: enable misc pm power state features on r1xx-r4xx
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 30 Apr 2010 19:34:12 +0000 (15:34 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:43 +0000 (18:21 +1000)
voltage drop, dynamic voltage, dynamic sclk, pcie lane adjust, etc,

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c

index 493b9b48da30ca3b7d9c42f3a5c75ca6db9cc831..14b7541df38a2618129a322247f32f2469e935d5 100644 (file)
@@ -220,7 +220,6 @@ void r100_set_power_state(struct radeon_device *rdev, bool static_switch)
 
 void r100_pm_misc(struct radeon_device *rdev)
 {
-#if 0
        int requested_index = rdev->pm.requested_power_state_index;
        struct radeon_power_state *ps = &rdev->pm.power_state[requested_index];
        struct radeon_voltage *voltage = &ps->clock_info[0].voltage;
@@ -308,7 +307,6 @@ void r100_pm_misc(struct radeon_device *rdev)
                                      ps->pcie_lanes);
                DRM_INFO("Setting: p: %d\n", ps->pcie_lanes);
        }
-#endif
 }
 
 void r100_pm_prepare(struct radeon_device *rdev)