Displaying 9 results from an estimated 9 matches for "2c92ffb5".
2017 Nov 22
2
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
...> - return (inttemp >> 8);
> - else
> + if (tsensor & 0x20000000) {
> + *val = inttemp >> 8;
> + return 0;
> + } else
> return -ENODEV;
> }
>
> diff --git a/drm/nouveau/nvkm/subdev/therm/nv40.c b/drm/nouveau/nvkm/subdev/therm/nv40.c
> index 2c92ffb5..cfd5b215 100644
> --- a/drm/nouveau/nvkm/subdev/therm/nv40.c
> +++ b/drm/nouveau/nvkm/subdev/therm/nv40.c
> @@ -70,7 +70,7 @@ nv40_sensor_setup(struct nvkm_therm *therm)
> }
>
> static int
> -nv40_temp_get(struct nvkm_therm *therm)
> +nv40_temp_get(struct nvkm_therm *th...
2017 Oct 08
1
[RFC PATCH 01/29] therm: split return code and value in nvkm_get_temp
...> - return (inttemp >> 8);
> - else
> + if (tsensor & 0x20000000) {
> + *val = inttemp >> 8;
> + return 0;
> + } else
> return -ENODEV;
> }
>
> diff --git a/drm/nouveau/nvkm/subdev/therm/nv40.c b/drm/nouveau/nvkm/subdev/therm/nv40.c
> index 2c92ffb5..cfd5b215 100644
> --- a/drm/nouveau/nvkm/subdev/therm/nv40.c
> +++ b/drm/nouveau/nvkm/subdev/therm/nv40.c
> @@ -70,7 +70,7 @@ nv40_sensor_setup(struct nvkm_therm *therm)
> }
>
> static int
> -nv40_temp_get(struct nvkm_therm *therm)
> +nv40_temp_get(struct nvkm_therm *th...
2017 Sep 15
0
[RFC PATCH 01/29] therm: split return code and value in nvkm_get_temp
.../* device valid */
- if (tsensor & 0x20000000)
- return (inttemp >> 8);
- else
+ if (tsensor & 0x20000000) {
+ *val = inttemp >> 8;
+ return 0;
+ } else
return -ENODEV;
}
diff --git a/drm/nouveau/nvkm/subdev/therm/nv40.c b/drm/nouveau/nvkm/subdev/therm/nv40.c
index 2c92ffb5..cfd5b215 100644
--- a/drm/nouveau/nvkm/subdev/therm/nv40.c
+++ b/drm/nouveau/nvkm/subdev/therm/nv40.c
@@ -70,7 +70,7 @@ nv40_sensor_setup(struct nvkm_therm *therm)
}
static int
-nv40_temp_get(struct nvkm_therm *therm)
+nv40_temp_get(struct nvkm_therm *therm, int *val)
{
struct nvkm_device *...
2017 Nov 22
1
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
...t; + *val = inttemp >> 8;
>>> + return 0;
>>> + } else
>>> return -ENODEV;
>>> }
>>>
>>> diff --git a/drm/nouveau/nvkm/subdev/therm/nv40.c b/drm/nouveau/nvkm/subdev/therm/nv40.c
>>> index 2c92ffb5..cfd5b215 100644
>>> --- a/drm/nouveau/nvkm/subdev/therm/nv40.c
>>> +++ b/drm/nouveau/nvkm/subdev/therm/nv40.c
>>> @@ -70,7 +70,7 @@ nv40_sensor_setup(struct nvkm_therm *therm)
>>> }
>>>
>>> static int
>>> -nv40_temp_get(struct nvkm_t...
2017 Nov 17
0
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
.../* device valid */
- if (tsensor & 0x20000000)
- return (inttemp >> 8);
- else
+ if (tsensor & 0x20000000) {
+ *val = inttemp >> 8;
+ return 0;
+ } else
return -ENODEV;
}
diff --git a/drm/nouveau/nvkm/subdev/therm/nv40.c b/drm/nouveau/nvkm/subdev/therm/nv40.c
index 2c92ffb5..cfd5b215 100644
--- a/drm/nouveau/nvkm/subdev/therm/nv40.c
+++ b/drm/nouveau/nvkm/subdev/therm/nv40.c
@@ -70,7 +70,7 @@ nv40_sensor_setup(struct nvkm_therm *therm)
}
static int
-nv40_temp_get(struct nvkm_therm *therm)
+nv40_temp_get(struct nvkm_therm *therm, int *val)
{
struct nvkm_device *...
2017 Nov 22
0
[PATCH 03/32] therm: Split return code and value in nvkm_get_temp
...r & 0x20000000) {
>> + *val = inttemp >> 8;
>> + return 0;
>> + } else
>> return -ENODEV;
>> }
>>
>> diff --git a/drm/nouveau/nvkm/subdev/therm/nv40.c b/drm/nouveau/nvkm/subdev/therm/nv40.c
>> index 2c92ffb5..cfd5b215 100644
>> --- a/drm/nouveau/nvkm/subdev/therm/nv40.c
>> +++ b/drm/nouveau/nvkm/subdev/therm/nv40.c
>> @@ -70,7 +70,7 @@ nv40_sensor_setup(struct nvkm_therm *therm)
>> }
>>
>> static int
>> -nv40_temp_get(struct nvkm_therm *therm)
>> +nv40_...
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
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