summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nv04_timer.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-27 04:28:17 +0400
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 13:01:25 +0400
commitff2b6c6e587cf2add3071b3a9a5c61abbbaf4677 (patch)
treef4990694728f23e19d2be469c37b0bd3778c50a6 /drivers/gpu/drm/nouveau/nv04_timer.c
parent36f1317ed05f76bfafb442f70575cdaed6da2d8c (diff)
downloadlinux-ff2b6c6e587cf2add3071b3a9a5c61abbbaf4677.tar.xz
drm/nouveau/pm: remove the older interfaces completely
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv04_timer.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv04_timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv04_timer.c b/drivers/gpu/drm/nouveau/nv04_timer.c
index 263301b809dd..55c945290e52 100644
--- a/drivers/gpu/drm/nouveau/nv04_timer.c
+++ b/drivers/gpu/drm/nouveau/nv04_timer.c
@@ -2,6 +2,7 @@
#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
+#include "nouveau_hw.h"
int
nv04_timer_init(struct drm_device *dev)
@@ -17,7 +18,7 @@ nv04_timer_init(struct drm_device *dev)
/* determine base clock for timer source */
if (dev_priv->chipset < 0x40) {
- n = dev_priv->engine.pm.clock_get(dev, PLL_CORE);
+ n = nouveau_hw_get_clock(dev, PLL_CORE);
} else
if (dev_priv->chipset == 0x40) {
/*XXX: figure this out */