diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-18 11:44:36 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-20 02:03:16 -0400 |
commit | 354d0781e5cef1f227ee3064cb65053365177d3b (patch) | |
tree | 37e7604dc519824ff9f5ac985ade470b3caf7d2b /drivers/gpu/drm/nouveau/nouveau_pm.h | |
parent | d0f67a48f47a1874622418ba6bc2c45935b01b36 (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.h | 3 |
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 *); | |||
63 | void *nva3_pm_clocks_pre(struct drm_device *, struct nouveau_pm_level *); | 63 | void *nva3_pm_clocks_pre(struct drm_device *, struct nouveau_pm_level *); |
64 | void nva3_pm_clocks_set(struct drm_device *, void *); | 64 | void nva3_pm_clocks_set(struct drm_device *, void *); |
65 | 65 | ||
66 | /* nvc0_pm.c */ | ||
67 | int nvc0_pm_clocks_get(struct drm_device *, struct nouveau_pm_level *); | ||
68 | |||
66 | /* nouveau_temp.c */ | 69 | /* nouveau_temp.c */ |
67 | void nouveau_temp_init(struct drm_device *dev); | 70 | void nouveau_temp_init(struct drm_device *dev); |
68 | void nouveau_temp_fini(struct drm_device *dev); | 71 | void nouveau_temp_fini(struct drm_device *dev); |