summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@free.fr>2014-05-12 13:05:01 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2014-05-20 06:28:53 (GMT)
commit6679b2ccc914e84384b1acf0de4423e3738cce9f (patch)
tree97be92a6393aa8dd73ccc8aed5ffe3f829020d53 /drivers/gpu
parentc7e74306632c71398ce6db878cd316cb43072ffb (diff)
downloadlinux-6679b2ccc914e84384b1acf0de4423e3738cce9f.tar.xz
drm/nvd9/therm: handle another kind of PWM fan
Signed-off-by: Martin Peres <martin.peres@free.fr> Tested-by: SaveTheRobots <john.rowley08@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c b/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c
index 43fec17..bbf117b 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c
@@ -40,6 +40,7 @@ pwm_info(struct nouveau_therm *therm, int line)
case 0x00: return 2;
case 0x19: return 1;
case 0x1c: return 0;
+ case 0x1e: return 2;
default:
break;
}