]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/therm: don't try pwm/toggle control if GPIO_FAN is input
authorBen Skeggs <bskeggs@redhat.com>
Fri, 7 Dec 2012 01:37:28 +0000 (11:37 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:29 +0000 (16:00 +1000)
commit1d2c570c32e391641533c6897ed05fbdff968aa7
treeef5e9ce0f59cbd03031f0ffeb169403cb2d622bd
parente6d70c6cbac3d667101af133e9e04111207808aa
drm/nouveau/therm: don't try pwm/toggle control if GPIO_FAN is input

My GTX660 has the GPIO_FAN function, but it's configured in input-mode;
presumably to monitor the frequency set by an I2C fan controller?

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/include/subdev/bios/gpio.h
drivers/gpu/drm/nouveau/core/subdev/therm/fan.c