diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-09-16 11:42:12 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 04:01:12 -0500 |
commit | a175094cd8f3d46060d8e3510bdca57eb2369a86 (patch) | |
tree | 18b8167ad75ebac3456d69da17b645eafc0f000a /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 85a2a365216e8e4eccf826e7dcc06c6298ab5fc1 (diff) |
drm/nouveau/pm: introduce generic handler for on-chip fan controller
The handling of the internal pwm fan controller is similar enough between
current chipsets that it makes sense to share the logic, and bugfixes :)
No hw backends converted yet, will automatically fall-through to the
"old" per-chipset fanspeed hooks for now.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 251eaf87fa28..ea4009eaab20 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -554,6 +554,8 @@ struct nouveau_pm_engine { | |||
554 | 554 | ||
555 | int (*voltage_get)(struct drm_device *); | 555 | int (*voltage_get)(struct drm_device *); |
556 | int (*voltage_set)(struct drm_device *, int voltage); | 556 | int (*voltage_set)(struct drm_device *, int voltage); |
557 | int (*pwm_get)(struct drm_device *, struct dcb_gpio_entry*, u32*, u32*); | ||
558 | int (*pwm_set)(struct drm_device *, struct dcb_gpio_entry*, u32, u32); | ||
557 | int (*fanspeed_get)(struct drm_device *); | 559 | int (*fanspeed_get)(struct drm_device *); |
558 | int (*fanspeed_set)(struct drm_device *, int fanspeed); | 560 | int (*fanspeed_set)(struct drm_device *, int fanspeed); |
559 | int (*temp_get)(struct drm_device *); | 561 | int (*temp_get)(struct drm_device *); |