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>
Showing
- drivers/gpu/drm/nouveau/core/subdev/therm/fan.c 9 additions, 4 deletionsdrivers/gpu/drm/nouveau/core/subdev/therm/fan.c
- drivers/gpu/drm/nouveau/core/subdev/therm/nv50.c 27 additions, 0 deletionsdrivers/gpu/drm/nouveau/core/subdev/therm/nv50.c
- drivers/gpu/drm/nouveau/core/subdev/therm/priv.h 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/core/subdev/therm/priv.h
Please register or sign in to comment