summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/rv770.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2009-11-03 00:53:02 +0100
committerDave Airlie <airlied@redhat.com>2009-11-06 14:13:25 +1000
commit7433874e31f7f2e6e942b12012790565731d0f4a (patch)
treeb67ed1c06492f5d0831762ab8b3a9267b65b94da /drivers/gpu/drm/radeon/rv770.c
parenta3fa6320ce964f799388b152a1b0f6e2c3b32a7f (diff)
downloadblackbird-obmc-linux-7433874e31f7f2e6e942b12012790565731d0f4a.tar.gz
blackbird-obmc-linux-7433874e31f7f2e6e942b12012790565731d0f4a.zip
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/rv770.c')
-rw-r--r--drivers/gpu/drm/radeon/rv770.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index ae074fdf804d..b0efd0ddae7a 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -983,10 +983,13 @@ int rv770_init(struct radeon_device *rdev)
r600_scratch_init(rdev);
/* Initialize surface registers */
radeon_surface_init(rdev);
+ /* Initialize clocks */
radeon_get_clock_info(rdev->ddev);
r = radeon_clocks_init(rdev);
if (r)
return r;
+ /* Initialize power management */
+ radeon_pm_init(rdev);
/* Fence driver */
r = radeon_fence_driver_init(rdev);
if (r)
OpenPOWER on IntegriCloud