drm/nouveau/therm: calculate the pwm divisor on nv50+
authorMartin Peres <martin.peres@labri.fr>
Sun, 2 Sep 2012 02:01:43 +0000 (04:01 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:13:14 +0000 (13:13 +1000)
commitcfc732bbc59d8905634fef7d7b02bdac84ea9221
tree8761fb1e9cf863f329b9265394f8cba2d5e713a3
parentbf6546b4219d2b188529f3242efda4048f5b1b41
drm/nouveau/therm: calculate the pwm divisor on nv50+

v2: Martin Peres <martin.peres@labri.fr>
- fixed unintentional use of floating point

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/fan.c
drivers/gpu/drm/nouveau/core/subdev/therm/nv50.c
drivers/gpu/drm/nouveau/core/subdev/therm/priv.h