Displaying 5 results from an estimated 5 matches for "fan_duty".
2024 Mar 23
0
[PATCH] therm.c: Adding an array index check before accessing an element.
...rm/nouveau/nvkm/subdev/bios/therm.c
index 5babc5a7c7d5..78387053f214 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c
@@ -180,6 +180,8 @@ nvbios_therm_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan)
cur_trip->fan_duty = duty_lut[(value & 0xf000) >> 12];
break;
case 0x25:
+ if (fan->nr_fan_trip == 0)
+ fan->nr_fan_trip++;
cur_trip = &fan->trip[fan->nr_fan_trip - 1];
cur_trip->fan_duty = value;
break;
--
2.30.2
2013 Aug 30
5
[PATCH 1/2] drm/nouveau/bios/therm: handle vbioses with duplicate entries (mostly nva5)
...e/subdev/bios/therm.c b/drivers/gpu/drm/nouveau/core/subdev/bios/therm.c
index 22a2057..22ac6db 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/bios/therm.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/bios/therm.c
@@ -184,7 +184,8 @@ nvbios_therm_fan_parse(struct nouveau_bios *bios,
cur_trip->fan_duty = value;
break;
case 0x26:
- fan->pwm_freq = value;
+ if (!fan->pwm_freq)
+ fan->pwm_freq = value;
break;
case 0x3b:
fan->bump_period = value;
--
1.8.4
2013 Sep 04
0
[PATCH 1/2] drm/nouveau/bios/therm: handle vbioses with duplicate entries (mostly nva5)
...au/core/subdev/bios/therm.c
> index 22a2057..22ac6db 100644
> --- a/drivers/gpu/drm/nouveau/core/subdev/bios/therm.c
> +++ b/drivers/gpu/drm/nouveau/core/subdev/bios/therm.c
> @@ -184,7 +184,8 @@ nvbios_therm_fan_parse(struct nouveau_bios *bios,
> cur_trip->fan_duty = value;
> break;
> case 0x26:
> - fan->pwm_freq = value;
> + if (!fan->pwm_freq)
> + fan->pwm_freq = value;
> break;
>...
2013 Jun 25
10
[Bug 66177] New: pwm1 value not restored during hibernate/restore cycle in the event of manual fan management mode
https://bugs.freedesktop.org/show_bug.cgi?id=66177
Priority: medium
Bug ID: 66177
Assignee: nouveau at lists.freedesktop.org
Summary: pwm1 value not restored during hibernate/restore cycle
in the event of manual fan management mode
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
2020 Aug 12
6
[PATCH] drm/nouveau: Add fine-grain temperature reporting
Commit d32656373857 ("drm/nouveau/therm/gp100: initial implementation of
new gp1xx temperature sensor") added support for reading finer-grain
temperatures, but continued to report temperatures in 1 degree Celsius
increments via nvkm_therm_temp_get().
Rather than altering nvkm_therm_temp_get() to report finer-grain
temperatures, which would be inconvenient for other users of the