search for: fanboost

Displaying 16 results from an estimated 16 matches for "fanboost".

2017 Jun 27
1
[PATCH] drm/nouveau/therm: fix spelling mistake on array thresolds
...drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c @@ -83,7 +83,7 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, { struct nvkm_subdev *subdev = &therm->subdev; bool active; - const char *thresolds[] = { + static const char * const thresholds[] = { "fanboost", "downclock", "critical", "shutdown" }; int temperature = therm->func->temp_get(therm); @@ -94,10 +94,10 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, if (dir == NVKM_THERM_THRS_FALLING) nvkm_info(subdev, &qu...
2013 Mar 08
1
[Bug 62035] New: [Regression kernel 3.8.0+] G86 GeForce 8400M GS 3D desktop effects does not work
...0 Mar 8 20:06:41 pf-XPS-M1330 kernel: [ 3.574785] nouveau [ DRM] DCB conn 04: 0311 Mar 8 20:06:41 pf-XPS-M1330 kernel: [ 3.574787] nouveau [ DRM] DCB conn 05: 0313 Mar 8 20:06:41 pf-XPS-M1330 kernel: [ 3.574855] nouveau [ PTHERM][0000:01:00.0] temperature (89 C) hit the 'fanboost' threshold Mar 8 20:06:41 pf-XPS-M1330 kernel: [ 3.574966] nouveau [ PTHERM][0000:01:00.0] Thermal management: automatic Mar 8 20:06:41 pf-XPS-M1330 kernel: [ 3.575019] nouveau E[ PTHERM][0000:01:00.0] unhandled intr 0x000001a1 Mar 8 20:06:41 pf-XPS-M1330 kernel: [ 3.594679] nouv...
2020 Sep 16
2
[PATCH v2 1/2] drm/nouveau: return temperatures in temp_get() via parameter
...index ddb2b2c600ca..1e8803901abc 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c @@ -86,7 +86,9 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, static const char * const thresholds[] = { "fanboost", "downclock", "critical", "shutdown" }; - int temperature = therm->func->temp_get(therm); + int temperature; + + WARN_ON(nvkm_therm_temp_get(therm, &temperature) < 0); if (thrs < 0 || thrs > 3) return; @@ -140,7 +142,9 @@ nvkm_therm_th...
2020 Sep 16
2
[PATCH v2 1/2] drm/nouveau: return temperatures in temp_get() via parameter
...drm/nouveau/nvkm/subdev/therm/temp.c > > +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c > > @@ -86,7 +86,9 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, > > static const char * const thresholds[] = { > > "fanboost", "downclock", "critical", "shutdown" > > }; > > - int temperature = therm->func->temp_get(therm); > > + int temperature; > > + > > + WARN_ON(nvkm_therm_temp_get(therm, &temperature) < 0); > &...
2017 Nov 22
2
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
...c > index ddb2b2c6..e7b8cbe2 100644 > --- a/drm/nouveau/nvkm/subdev/therm/temp.c > +++ b/drm/nouveau/nvkm/subdev/therm/temp.c > @@ -86,7 +86,10 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, > static const char * const thresholds[] = { > "fanboost", "downclock", "critical", "shutdown" > }; > - int temperature = therm->func->temp_get(therm); > + int temperature; > + > + if (therm->func->temp_get(therm, &temperature)) > + return; > > if (thrs < 0 || thrs >...
2017 Oct 08
1
[RFC PATCH 01/29] therm: split return code and value in nvkm_get_temp
...c > index ddb2b2c6..5ec2dfb3 100644 > --- a/drm/nouveau/nvkm/subdev/therm/temp.c > +++ b/drm/nouveau/nvkm/subdev/therm/temp.c > @@ -86,7 +86,10 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, > static const char * const thresholds[] = { > "fanboost", "downclock", "critical", "shutdown" > }; > - int temperature = therm->func->temp_get(therm); > + int temperature; > + > + if (therm->func->temp_get(therm, &temperature) < 0) > + return; > > if (thrs < 0 || thr...
2017 Sep 15
0
[RFC PATCH 01/29] therm: split return code and value in nvkm_get_temp
...ouveau/nvkm/subdev/therm/temp.c index ddb2b2c6..5ec2dfb3 100644 --- a/drm/nouveau/nvkm/subdev/therm/temp.c +++ b/drm/nouveau/nvkm/subdev/therm/temp.c @@ -86,7 +86,10 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, static const char * const thresholds[] = { "fanboost", "downclock", "critical", "shutdown" }; - int temperature = therm->func->temp_get(therm); + int temperature; + + if (therm->func->temp_get(therm, &temperature) < 0) + return; if (thrs < 0 || thrs > 3) return; @@ -140,7 +143,10 @...
2017 Nov 22
1
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
...a/drm/nouveau/nvkm/subdev/therm/temp.c >>> +++ b/drm/nouveau/nvkm/subdev/therm/temp.c >>> @@ -86,7 +86,10 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, >>> static const char * const thresholds[] = { >>> "fanboost", "downclock", "critical", "shutdown" >>> }; >>> - int temperature = therm->func->temp_get(therm); >>> + int temperature; >>> + >>> + if (therm->func->temp_get(therm, &temperature)) &gt...
2020 Sep 16
0
[PATCH v2 1/2] drm/nouveau: return temperatures in temp_get() via parameter
...; --- a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c > +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c > @@ -86,7 +86,9 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, > static const char * const thresholds[] = { > "fanboost", "downclock", "critical", "shutdown" > }; > - int temperature = therm->func->temp_get(therm); > + int temperature; > + > + WARN_ON(nvkm_therm_temp_get(therm, &temperature) < 0); > > if (thrs <...
2017 Nov 17
0
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
...ouveau/nvkm/subdev/therm/temp.c index ddb2b2c6..e7b8cbe2 100644 --- a/drm/nouveau/nvkm/subdev/therm/temp.c +++ b/drm/nouveau/nvkm/subdev/therm/temp.c @@ -86,7 +86,10 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, static const char * const thresholds[] = { "fanboost", "downclock", "critical", "shutdown" }; - int temperature = therm->func->temp_get(therm); + int temperature; + + if (therm->func->temp_get(therm, &temperature)) + return; if (thrs < 0 || thrs > 3) return; @@ -140,7 +143,10 @@ nvkm_...
2020 Sep 17
0
[PATCH v2 1/2] drm/nouveau: return temperatures in temp_get() via parameter
...dev/therm/temp.c > > > +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c > > > @@ -86,7 +86,9 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, > > > static const char * const thresholds[] = { > > > "fanboost", "downclock", "critical", "shutdown" > > > }; > > > - int temperature = therm->func->temp_get(therm); > > > + int temperature; > > > + > > > + WARN_ON(nvkm_therm_temp_get(therm, &tem...
2017 Nov 22
0
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
...644 >> --- a/drm/nouveau/nvkm/subdev/therm/temp.c >> +++ b/drm/nouveau/nvkm/subdev/therm/temp.c >> @@ -86,7 +86,10 @@ nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, >> static const char * const thresholds[] = { >> "fanboost", "downclock", "critical", "shutdown" >> }; >> - int temperature = therm->func->temp_get(therm); >> + int temperature; >> + >> + if (therm->func->temp_get(therm, &temperature)) >> +...
2017 Sep 02
3
[PATCH 0/3] Several hwmon fixes
We should simply return errors while the GPU is turned off, because the sensors aren't accessable and setting any kind of value doesn't make any sense. Fixes sensors values reported by "sensors" Before: nouveau-pci-0100 Adapter: PCI adapter GPU core: +0.60 V (min = +0.60 V, max = +1.20 V) temp1: -0.0°C (high = +95.0°C, hyst = +3.0°C) (crit
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
2017 Nov 17
35
[PATCH 00/32] Updated State of my clk patches
Last update here: https://lists.freedesktop.org/archives/nouveau/2017-September/028848.html Basically big cleanup, reordering, simplifications and some renaming to make the code easier to read and to review. I also moved some bugfixes to the front so they can be merged prior the other patches. There was also a bug related to the therm daemon triggering a pstate change leading to PMU lockups,
2017 Sep 15
42
[RFC PATCH 00/29] Current State of my clk patches
Just wanted to post updated versions of my last series/patches. Reviews welcomed. It would be also nice if we agree on features I should focus upstreaming, so that this work can be better splitted or reordered. Sadly most of my patches depend on the rather big clk subdev rework and I think those patches shows best, why I think this rework is actually needed and makes things much easier to add