summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-04-30 15:34:12 -0400
committerDave Airlie <airlied@redhat.com>2010-05-18 18:21:43 +1000
commit78930b1c39dd4a5afd5aa873eec11b5bd7079866 (patch)
tree28c422d0f92c7b37743d7a1504cd40ab49814be0 /drivers/gpu/drm
parent536fcd5124df6af3b95f1bffc925d9ccb6d5b9df (diff)
downloadlinux-78930b1c39dd4a5afd5aa873eec11b5bd7079866.tar.bz2
drm/radeon/kms: enable misc pm power state features on r1xx-r4xx
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/radeon/r100.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index 493b9b48da30..14b7541df38a 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -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)