Displaying 9 results from an estimated 9 matches for "nvbios_fan_parse".
2015 Nov 29
2
[PATCH] bios/fan: hardcode the fan mode to linear
...r>
---
drm/nouveau/nvkm/subdev/bios/fan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drm/nouveau/nvkm/subdev/bios/fan.c b/drm/nouveau/nvkm/subdev/bios/fan.c
index 43006db..80fed7e 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);
--
2.6.2
2016 Jan 04
2
[PATCH] bios/fan: hardcode the fan mode to linear
...nged, 1 insertion(+)
>>
>> diff --git a/drm/nouveau/nvkm/subdev/bios/fan.c
>> b/drm/nouveau/nvkm/subdev/bios/fan.c
>> index 43006db..80fed7e 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);
>>...
2016 Jan 05
2
[PATCH] bios/fan: hardcode the fan mode to linear
...diff --git a/drm/nouveau/nvkm/subdev/bios/fan.c
>>>> b/drm/nouveau/nvkm/subdev/bios/fan.c
>>>> index 43006db..80fed7e 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_du...
2014 Aug 16
3
[PATCH 1/3] bios/fan: add support for maxwell's fan management table
...end of file
diff --git a/nvkm/include/subdev/bios/fan.h b/nvkm/include/subdev/bios/fan.h
new file mode 100644
index 0000000..119d087
--- /dev/null
+++ b/nvkm/include/subdev/bios/fan.h
@@ -0,0 +1,8 @@
+#ifndef __NVBIOS_FAN_H__
+#define __NVBIOS_FAN_H__
+
+#include <subdev/bios/therm.h>
+
+u16 nvbios_fan_parse(struct nouveau_bios *bios, struct nvbios_therm_fan *fan);
+
+#endif
diff --git a/nvkm/include/subdev/bios/therm.h b/nvkm/include/subdev/bios/therm.h
index 8dc5051..295d093 100644
--- a/nvkm/include/subdev/bios/therm.h
+++ b/nvkm/include/subdev/bios/therm.h
@@ -23,6 +23,12 @@ struct nvbios_therm_sen...
2015 Dec 17
0
[PATCH] bios/fan: hardcode the fan mode to linear
...bios/fan.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drm/nouveau/nvkm/subdev/bios/fan.c b/drm/nouveau/nvkm/subdev/bios/fan.c
> index 43006db..80fed7e 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);
>
>...
2016 Jan 04
0
[PATCH] bios/fan: hardcode the fan mode to linear
...t;>
>>> diff --git a/drm/nouveau/nvkm/subdev/bios/fan.c
>>> b/drm/nouveau/nvkm/subdev/bios/fan.c
>>> index 43006db..80fed7e 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...
2016 Jan 05
0
[PATCH] bios/fan: hardcode the fan mode to linear
...veau/nvkm/subdev/bios/fan.c
>>>>> b/drm/nouveau/nvkm/subdev/bios/fan.c
>>>>> index 43006db..80fed7e 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;
>>>>>...
2014 Aug 16
0
[PATCH 3/3] gm107/therm: add PWM fan support
...tor(struct nouveau_therm *therm)
/* other random init... */
nouveau_therm_fan_set_defaults(therm);
nvbios_perf_fan_parse(bios, &priv->fan->perf);
- if (nvbios_therm_fan_parse(bios, &priv->fan->bios))
- nv_error(therm, "parsing the thermal table failed\n");
+ if (nvbios_fan_parse(bios, &priv->fan->bios)) {
+ nv_debug(therm, "parsing the fan table failed\n");
+ if (nvbios_therm_fan_parse(bios, &priv->fan->bios))
+ nv_error(therm, "parsing both fan tables failed\n");
+ }
nouveau_therm_fan_safety_checks(therm);
return 0;
}
diff...
2014 Aug 17
9
[PATCH 01/10] bios/fan: add support for maxwell's fan management table v2
...end of file
diff --git a/nvkm/include/subdev/bios/fan.h b/nvkm/include/subdev/bios/fan.h
new file mode 100644
index 0000000..119d087
--- /dev/null
+++ b/nvkm/include/subdev/bios/fan.h
@@ -0,0 +1,8 @@
+#ifndef __NVBIOS_FAN_H__
+#define __NVBIOS_FAN_H__
+
+#include <subdev/bios/therm.h>
+
+u16 nvbios_fan_parse(struct nouveau_bios *bios, struct nvbios_therm_fan *fan);
+
+#endif
diff --git a/nvkm/include/subdev/bios/therm.h b/nvkm/include/subdev/bios/therm.h
index 8dc5051..295d093 100644
--- a/nvkm/include/subdev/bios/therm.h
+++ b/nvkm/include/subdev/bios/therm.h
@@ -23,6 +23,12 @@ struct nvbios_therm_sen...