aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@labri.fr>2012-09-02 04:01:43 +0200
committerBen Skeggs <bskeggs@redhat.com>2012-10-03 13:13:14 +1000
commitcfc732bbc59d8905634fef7d7b02bdac84ea9221 (patch)
tree8761fb1e9cf863f329b9265394f8cba2d5e713a3 /drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
parentdrm/nouveau/fan: rewrite the fan tachometer driver to get more precision, faster (diff)
downloadlinux-dev-cfc732bbc59d8905634fef7d7b02bdac84ea9221.tar.xz
linux-dev-cfc732bbc59d8905634fef7d7b02bdac84ea9221.zip
drm/nouveau/therm: calculate the pwm divisor on nv50+
v2: Martin Peres <martin.peres@labri.fr> - fixed unintentional use of floating point Signed-off-by: Martin Peres <martin.peres@labri.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/therm/priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h b/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
index b7207b4524f6..c53eb5396972 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
+++ b/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
@@ -42,6 +42,7 @@ struct nouveau_therm_priv {
int (*pwm_get)(struct nouveau_therm *, int line, u32*, u32*);
int (*pwm_set)(struct nouveau_therm *, int line, u32, u32);
+ int (*pwm_clock)(struct nouveau_therm *);
} fan;
/* ic */