diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-07-28 04:52:13 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 13:01:10 +0400 |
commit | 04de6a046188d86ff60b1ede974dbf580287fc98 (patch) | |
tree | d6ed41b5f6f00580ca446bdc07f6f392028a0179 /drivers/gpu/drm/nouveau/nouveau_state.c | |
parent | 9232969e19ae7251a93ab72e405cf71e5109ec05 (diff) | |
download | linux-04de6a046188d86ff60b1ede974dbf580287fc98.tar.xz |
drm/nv41/pm: implement a second type of fanspeed pwm
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 06664e779792..0806d017d86b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -298,6 +298,13 @@ static int nouveau_init_engine_ptrs(struct drm_device *dev) engine->pm.fanspeed_get = nv40_pm_fanspeed_get; engine->pm.fanspeed_set = nv40_pm_fanspeed_set; break; + case 0x42: + case 0x43: + case 0x47: + case 0x4b: + engine->pm.fanspeed_get = nv41_pm_fanspeed_get; + engine->pm.fanspeed_set = nv41_pm_fanspeed_set; + break; default: break; } |