aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_pm.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-08-13 22:43:47 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 04:01:11 -0500
commitcb9fa62671ace5ac40b9924e9014cebf04b78228 (patch)
tree4dc19083d28b04a44cc89e6f4b66efe154c6b370 /drivers/gpu/drm/nouveau/nouveau_pm.h
parent8f27c54342dffbfbafbddd6e43f011e6cb16d285 (diff)
drm/nv50/pm: add support for pwm fan control
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.h b/drivers/gpu/drm/nouveau/nouveau_pm.h
index f19b0507fdfd..1b0bcef9ff35 100644
--- a/drivers/gpu/drm/nouveau/nouveau_pm.h
+++ b/drivers/gpu/drm/nouveau/nouveau_pm.h
@@ -66,6 +66,8 @@ int nv50_pm_clock_get(struct drm_device *, u32 id);
66void *nv50_pm_clock_pre(struct drm_device *, struct nouveau_pm_level *, 66void *nv50_pm_clock_pre(struct drm_device *, struct nouveau_pm_level *,
67 u32 id, int khz); 67 u32 id, int khz);
68void nv50_pm_clock_set(struct drm_device *, void *); 68void nv50_pm_clock_set(struct drm_device *, void *);
69int nv50_pm_fanspeed_get(struct drm_device *);
70int nv50_pm_fanspeed_set(struct drm_device *, int percent);
69 71
70/* nva3_pm.c */ 72/* nva3_pm.c */
71int nva3_pm_clocks_get(struct drm_device *, struct nouveau_pm_level *); 73int nva3_pm_clocks_get(struct drm_device *, struct nouveau_pm_level *);