diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-02-24 02:53:48 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-29 14:15:16 +0400 |
commit | 798bcf7341cd434f89a4ddd6882ac043b1399825 (patch) | |
tree | d471f3e249f8da7754c2727fe8a33825a7ac7da6 /drivers/gpu/drm/radeon/rs600.c | |
parent | c79a49ca000ebcf4adf5448366284c5c1f25aa20 (diff) | |
download | linux-798bcf7341cd434f89a4ddd6882ac043b1399825.tar.xz |
drm/radeon/kms: move clock/pcie setting callbacks into pm struct
tidy up radeon_asic struct.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König<christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rs600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rs600.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/rs600.c b/drivers/gpu/drm/radeon/rs600.c index b07d297b0b4f..8c2a3d4d638c 100644 --- a/drivers/gpu/drm/radeon/rs600.c +++ b/drivers/gpu/drm/radeon/rs600.c @@ -194,7 +194,7 @@ void rs600_pm_misc(struct radeon_device *rdev) /* set pcie lanes */ if ((rdev->flags & RADEON_IS_PCIE) && !(rdev->flags & RADEON_IS_IGP) && - rdev->asic->set_pcie_lanes && + rdev->asic->pm.set_pcie_lanes && (ps->pcie_lanes != rdev->pm.power_state[rdev->pm.current_power_state_index].pcie_lanes)) { radeon_set_pcie_lanes(rdev, |