diff options
author | Martin Peres <martin.peres@free.fr> | 2015-11-29 16:10:18 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-12-18 09:00:59 +1000 |
commit | 8e922040dc6990553ce0cf9d54ed39d11f397801 (patch) | |
tree | fc455c85d3760a0b933f67fd6824fa44f293abfc /drm/nouveau/nvkm/subdev | |
parent | cd7c1159226dea1750d8ecbdd97c077f86351751 (diff) | |
download | nouveau-8e922040dc6990553ce0cf9d54ed39d11f397801.tar.gz |
bios/fan: hardcode the fan mode to linear
This is an oversight that made use of the trip-point-based fan managenent on
cards that never expose those. This led the fan to stay at fan_min.
Fortunately, the emergency code would kick when the temperature would reach
90°C.
Reported-by: Tom Englund <tomenglund26@gmail.com>
Tested-by: Tom Englund <tomenglund26@gmail.com>
Signed-off-by: Martin Peres <martin.peres@free.fr>
Tested-by: Daemon32 <lnf.purple@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92126
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/nvkm/subdev')
-rw-r--r-- | drm/nouveau/nvkm/subdev/bios/fan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/nouveau/nvkm/subdev/bios/fan.c b/drm/nouveau/nvkm/subdev/bios/fan.c index 43006db6f..80fed7e78 100644 --- a/drm/nouveau/nvkm/subdev/bios/fan.c +++ b/drm/nouveau/nvkm/subdev/bios/fan.c @@ -83,6 +83,7 @@ nvbios_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan) fan->type = NVBIOS_THERM_FAN_UNK; } + fan->fan_mode = NVBIOS_THERM_FAN_LINEAR; fan->min_duty = nvbios_rd08(bios, data + 0x02); fan->max_duty = nvbios_rd08(bios, data + 0x03); |