diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2009-11-02 18:53:02 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-11-05 23:13:25 -0500 |
commit | 7433874e31f7f2e6e942b12012790565731d0f4a (patch) | |
tree | b67ed1c06492f5d0831762ab8b3a9267b65b94da /drivers/gpu/drm/radeon/r600.c | |
parent | a3fa6320ce964f799388b152a1b0f6e2c3b32a7f (diff) |
drm/radeon/kms: add debugfs for power management for AtomBIOS devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 35360b09df31..8d6bc12192d2 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -1621,10 +1621,13 @@ int r600_init(struct radeon_device *rdev) | |||
1621 | r600_scratch_init(rdev); | 1621 | r600_scratch_init(rdev); |
1622 | /* Initialize surface registers */ | 1622 | /* Initialize surface registers */ |
1623 | radeon_surface_init(rdev); | 1623 | radeon_surface_init(rdev); |
1624 | /* Initialize clocks */ | ||
1624 | radeon_get_clock_info(rdev->ddev); | 1625 | radeon_get_clock_info(rdev->ddev); |
1625 | r = radeon_clocks_init(rdev); | 1626 | r = radeon_clocks_init(rdev); |
1626 | if (r) | 1627 | if (r) |
1627 | return r; | 1628 | return r; |
1629 | /* Initialize power management */ | ||
1630 | radeon_pm_init(rdev); | ||
1628 | /* Fence driver */ | 1631 | /* Fence driver */ |
1629 | r = radeon_fence_driver_init(rdev); | 1632 | r = radeon_fence_driver_init(rdev); |
1630 | if (r) | 1633 | if (r) |