summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-12-05 14:56:37 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-02-20 16:00:18 +1000
commit68197b4ba0a3c90190795b97248b840a3e506545 (patch)
treee9e5b0afea8c893950603d147481d5a2a48fc24f /drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
parent9cbcd3374a1db6a2faeb660bb49feb9af25c84ec (diff)
downloadop-kernel-dev-68197b4ba0a3c90190795b97248b840a3e506545.zip
op-kernel-dev-68197b4ba0a3c90190795b97248b840a3e506545.tar.gz
drm/nouveau/therm: add interfaces to allow forcing off pwm fan control
Mostly to allow for the possibility of testing 'toggle' fan control easily. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Martin Peres <martin.peres@labri.fr>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/therm/priv.h')
-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 bb940e9..a08ca85 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
+++ b/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h
@@ -47,6 +47,7 @@ struct nouveau_therm_priv {
struct dcb_gpio_func tach;
+ int (*pwm_ctrl)(struct nouveau_therm *, int line, bool);
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 *);
OpenPOWER on IntegriCloud