From: Martin Peres Date: Mon, 15 Aug 2011 01:10:30 +0000 (+1000) Subject: drm/nouveau/pm: manual pwm fanspeed management for nv40+ boards X-Git-Tag: v3.3-rc1~121^2~51^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b7d895216f7f954c6cfa0c23b76dccb7a890c1;p=pandora-kernel.git drm/nouveau/pm: manual pwm fanspeed management for nv40+ boards Exposes the following sysfs entries: - fan0_input: read the rotational speed of the fan (poll a bit during 250ms) - pwm0: set the pwm duty cycle - pwm0_min/max: set the minimum/maximum pwm value v2 (Ben Skeggs): - nv50 pwm controller code removed in favour of other more complete code - FAN_RPM -> FAN_SENSE - merged FAN_SENSE readout into common code, not at all nv50-specific - protected fanspeed changes with perflvl_wr - formatting tidying - added some comments where things are shaky v3 (Martin Peres) - ensure duty min/max from thermal table are sane Signed-off-by: Ben Skeggs Signed-off-by: Martin Peres --- Reading git-diff-tree failed