Commit 78930b1c authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

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: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 536fcd51
...@@ -220,7 +220,6 @@ void r100_set_power_state(struct radeon_device *rdev, bool static_switch) ...@@ -220,7 +220,6 @@ void r100_set_power_state(struct radeon_device *rdev, bool static_switch)
void r100_pm_misc(struct radeon_device *rdev) void r100_pm_misc(struct radeon_device *rdev)
{ {
#if 0
int requested_index = rdev->pm.requested_power_state_index; int requested_index = rdev->pm.requested_power_state_index;
struct radeon_power_state *ps = &rdev->pm.power_state[requested_index]; struct radeon_power_state *ps = &rdev->pm.power_state[requested_index];
struct radeon_voltage *voltage = &ps->clock_info[0].voltage; struct radeon_voltage *voltage = &ps->clock_info[0].voltage;
...@@ -308,7 +307,6 @@ void r100_pm_misc(struct radeon_device *rdev) ...@@ -308,7 +307,6 @@ void r100_pm_misc(struct radeon_device *rdev)
ps->pcie_lanes); ps->pcie_lanes);
DRM_INFO("Setting: p: %d\n", ps->pcie_lanes); DRM_INFO("Setting: p: %d\n", ps->pcie_lanes);
} }
#endif
} }
void r100_pm_prepare(struct radeon_device *rdev) void r100_pm_prepare(struct radeon_device *rdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment