[Nouveau] [PATCH 2/2] drm/nouveau/therm: enable fan management by default

Ben Skeggs skeggsb at gmail.com
Sun Sep 8 22:29:27 PDT 2013


On Mon, Sep 9, 2013 at 8:43 AM, Martin Peres <martin.peres at free.fr> wrote:
> From: Martin Peres <martin.peres at labri.fr>
>
> This should enable automatic fan management for all cards by default, at
> boot time. However, this commit actually affects only nv40-c0 as nvc0+
> cards already have vbios's PDAEMON fw already taking care of fan management.
You mean, like this?

http://cgit.freedesktop.org/~darktama/nouveau/commit/?h=devel-keplerpm&id=83eeb8d4218221d890a10006269ea725d9e02d19

There's a couple of patches before that that are quite important for
proper behaviour on (especially) nv4x.

Ben.

>
> Signed-off-by: Martin Peres <martin.peres at labri.fr>
> ---
>  drivers/gpu/drm/nouveau/core/subdev/therm/base.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/base.c b/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
> index f1de7a9..aaf8285 100644
> --- a/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
> +++ b/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
> @@ -335,7 +335,7 @@ nouveau_therm_preinit(struct nouveau_therm *therm)
>         nouveau_therm_ic_ctor(therm);
>         nouveau_therm_fan_ctor(therm);
>
> -       nouveau_therm_fan_mode(therm, NOUVEAU_THERM_CTRL_NONE);
> +       nouveau_therm_fan_mode(therm, NOUVEAU_THERM_CTRL_AUTO);
>         nouveau_therm_sensor_preinit(therm);
>         return 0;
>  }
> --
> 1.8.4
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau


More information about the Nouveau mailing list