• Martin Peres's avatar
    drm/nouveau/therm: add support for fan-control modes · 2f951a5d
    Martin Peres authored
    For now, only 2 control modes are available:
    - NONE: The fan is never touched (default)
    - MANUAL: The fan is set to the user-defined fan speed (pwm1)
    
    This patch introduces a distinction between ptherm internal fan management
    and external fan management. The latter is bound to respect the fan mode
    while the first can still select the speed it wants unless the NONE mode
    is selected. This is important for automatic fan management.
    Signed-off-by: default avatarMartin Peres <martin.peres@labri.fr>
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    2f951a5d
nouveau_pm.c 24.2 KB