aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_pm.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-18 11:44:36 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 02:03:16 -0400
commit354d0781e5cef1f227ee3064cb65053365177d3b (patch)
tree37e7604dc519824ff9f5ac985ade470b3caf7d2b /drivers/gpu/drm/nouveau/nouveau_pm.h
parentd0f67a48f47a1874622418ba6bc2c45935b01b36 (diff)
drm/nvc0/pm: initial implementation of clocks_get()
Not too certain on memory clock yet, but it gets the right numbers for each perflvl on my NVC0. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_pm.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_pm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.h b/drivers/gpu/drm/nouveau/nouveau_pm.h
index 884bb7f90a18..f519883d9a43 100644
--- a/drivers/gpu/drm/nouveau/nouveau_pm.h
+++ b/drivers/gpu/drm/nouveau/nouveau_pm.h
@@ -63,6 +63,9 @@ int nva3_pm_clocks_get(struct drm_device *, struct nouveau_pm_level *);
63void *nva3_pm_clocks_pre(struct drm_device *, struct nouveau_pm_level *); 63void *nva3_pm_clocks_pre(struct drm_device *, struct nouveau_pm_level *);
64void nva3_pm_clocks_set(struct drm_device *, void *); 64void nva3_pm_clocks_set(struct drm_device *, void *);
65 65
66/* nvc0_pm.c */
67int nvc0_pm_clocks_get(struct drm_device *, struct nouveau_pm_level *);
68
66/* nouveau_temp.c */ 69/* nouveau_temp.c */
67void nouveau_temp_init(struct drm_device *dev); 70void nouveau_temp_init(struct drm_device *dev);
68void nouveau_temp_fini(struct drm_device *dev); 71void nouveau_temp_fini(struct drm_device *dev);