Displaying 20 results from an estimated 700 matches similar to: "[PATCH 0/3] Expose power budget cap via hwmon"
2016 Nov 30
4
[PATCH v3 0/3] Expose power budget cap via hwmon
There is an optinal header field in the power budget table we can use to
read out the power cap of the GPU.
We should have this in the kernel before actually using it to catch errors
and see how reliable this is, but as it seems it works on all GPUs as
expected on Kepler und Maxwells with the power cap field set in the vbios.
This series keeps things really simple for now until we figure out
2016 Oct 24
7
RFC [PATCH 0/3] Expose power budget cap via hwmon
There is an optinal header field in the power budget table we can use to
read out the power cap of the GPU.
Sadly it is optional and if that field isn't sad, things beome
complicated.
Anyhow, this is good enough for most cards and we can use it later for
capping the power consumption of the GPUs, but first, just export those
values through hwmon.
First design, will change stuff, want
2016 Nov 12
1
[PATCH 1/3] nvbios/power_budget: Add basic power budget parsing
On 11:55 am - Nov 12 2016, Karol Herbst wrote:
> v2: Set entry to 0xff if not found
> Add cap entry for ver 0x30 tables
> Rework to fix memory leak
>
> Signed-off-by: Karol Herbst <karolherbst at gmail.com>
> ---
> .../include/nvkm/subdev/bios/power_budget.h | 24 ++++
> drm/nouveau/nvkm/subdev/bios/Kbuild | 1 +
>
2017 Jan 23
3
[PATCH v4 0/3] Expose power budget cap via hwmon
There is an optinal header field in the power budget table we can use to
read out the power cap of the GPU.
The meaning of this header field was confirmed with nvidia-smi -q:
The rows "Min Power Limit", "Power Limit" and "Max Power Limit" are set
to the "min", "avg" and "max" values from the referenced power budget
entry respectively.
2016 Nov 30
3
[PATCH v3 1/3] nvbios/power_budget: Add basic power budget parsing
On 12/01/2016 05:48 AM, Karol Herbst wrote:
> v2: Set entry to 0xff if not found
> Add cap entry for ver 0x30 tables
> Rework to fix memory leak
> v3: More error checks
> Simplify check for invalid entries
>
> Signed-off-by: Karol Herbst <karolherbst at gmail.com>
> ---
> .../include/nvkm/subdev/bios/power_budget.h | 25 +++++
>
2016 Nov 30
1
[PATCH v3 1/3] nvbios/power_budget: Add basic power budget parsing
On 12/01/2016 08:56 AM, Karol Herbst wrote:
> 2016-11-30 23:48 GMT+01:00 Ben Skeggs <skeggsb at gmail.com>:
>> On 12/01/2016 05:48 AM, Karol Herbst wrote:
>>> v2: Set entry to 0xff if not found
>>> Add cap entry for ver 0x30 tables
>>> Rework to fix memory leak
>>> v3: More error checks
>>> Simplify check for invalid entries
2016 Oct 25
1
[PATCH 1/3] nvbios/power_budget: Add basic power budget parsing
On 25/10/16 00:11, Karol Herbst wrote:
> Signed-off-by: Karol Herbst <karolherbst at gmail.com>
> ---
> .../include/nvkm/subdev/bios/power_budget.h | 20 ++++
> drm/nouveau/nvkm/subdev/bios/Kbuild | 1 +
> drm/nouveau/nvkm/subdev/bios/power_budget.c | 108 +++++++++++++++++++++
> 3 files changed, 129 insertions(+)
> create mode 100644
2016 Nov 12
0
[PATCH 1/3] nvbios/power_budget: Add basic power budget parsing
v2: Set entry to 0xff if not found
Add cap entry for ver 0x30 tables
Rework to fix memory leak
Signed-off-by: Karol Herbst <karolherbst at gmail.com>
---
.../include/nvkm/subdev/bios/power_budget.h | 24 ++++
drm/nouveau/nvkm/subdev/bios/Kbuild | 1 +
drm/nouveau/nvkm/subdev/bios/power_budget.c | 122 +++++++++++++++++++++
3 files changed, 147
2016 Nov 30
0
[PATCH v3 1/3] nvbios/power_budget: Add basic power budget parsing
v2: Set entry to 0xff if not found
Add cap entry for ver 0x30 tables
Rework to fix memory leak
v3: More error checks
Simplify check for invalid entries
Signed-off-by: Karol Herbst <karolherbst at gmail.com>
---
.../include/nvkm/subdev/bios/power_budget.h | 25 +++++
drm/nouveau/nvkm/subdev/bios/Kbuild | 1 +
drm/nouveau/nvkm/subdev/bios/power_budget.c
2016 Nov 30
0
[PATCH v3 1/3] nvbios/power_budget: Add basic power budget parsing
2016-11-30 23:48 GMT+01:00 Ben Skeggs <skeggsb at gmail.com>:
> On 12/01/2016 05:48 AM, Karol Herbst wrote:
>> v2: Set entry to 0xff if not found
>> Add cap entry for ver 0x30 tables
>> Rework to fix memory leak
>> v3: More error checks
>> Simplify check for invalid entries
>>
>> Signed-off-by: Karol Herbst <karolherbst at
2016 Oct 24
0
[PATCH 1/3] nvbios/power_budget: Add basic power budget parsing
Signed-off-by: Karol Herbst <karolherbst at gmail.com>
---
.../include/nvkm/subdev/bios/power_budget.h | 20 ++++
drm/nouveau/nvkm/subdev/bios/Kbuild | 1 +
drm/nouveau/nvkm/subdev/bios/power_budget.c | 108 +++++++++++++++++++++
3 files changed, 129 insertions(+)
create mode 100644 drm/nouveau/include/nvkm/subdev/bios/power_budget.h
create mode 100644
2023 Apr 16
10
[PATCH 0/9] GPU-DRM-nouveau: Adjustments for seven function implementations
Date: Sun, 16 Apr 2023 11:22:23 +0200
Several update suggestions were taken into account
from static source code analysis.
Markus Elfring (9):
debugfs: Move an expression into a function call parameter
in nouveau_debugfs_pstate_set()
debugfs: Move a variable assignment behind a null pointer check
in nouveau_debugfs_pstate_get()
debugfs: Use seq_putc()
in
2016 Oct 24
0
[PATCH 2/3] subdev/iccsense: Parse max and crit power level
Signed-off-by: Karol Herbst <karolherbst at gmail.com>
---
drm/nouveau/include/nvkm/subdev/iccsense.h | 3 +++
drm/nouveau/nvkm/subdev/iccsense/base.c | 13 ++++++++++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/drm/nouveau/include/nvkm/subdev/iccsense.h b/drm/nouveau/include/nvkm/subdev/iccsense.h
index 3c2ddd9..b7a9b04 100644
---
2016 Feb 20
4
[PATCH v3 0/4] Suppor for various power sensors on GF100+
This is a complete rework from the first version I sent out.
Now the implementation is more centered around the power_rails we find in the
SENSE table instead of extdev centered. This makes the implementation a lot
easier and straightforward.
I've added support for the INA219, INA209 and INA3221 sensors found on multiple
Fermi and Kepler cards.
The power consumption is also exported via
2016 Feb 19
4
[PATCH v2 0/4] Suppor for various power sensors on GF100+
This is a complete rework from the last version I sent out.
Now the implementation is more centered around the power_rails we find in the
SENSE table instead of extdev centered. This makes the implementation a lot
easier and straightforward.
I've added support for the INA219, INA209 and INA3221 sensors found on multiple
Fermi and Kepler cards, but only the INA3221 bits are tested so far.
2016 Feb 17
3
[PATCH 0/2] Support for INA3221 power sensor
The INA3221 is usually found on mid and high end kepler+ gpus
Marins Patch implements the new iccsense subdev and all needed bits for the
INA3221 power sensor.
My Patch implements the hwmon power1 interface to expose the current power
consumption through hwmon (and can be read out via sysfs or the sensors tool)
Please test these patches for Fermi+ GPUs, that nothing gets messed up and
works as
2016 Feb 24
7
[PATCH v5 0/6] Suppor for various power sensors on GF100+
This is a complete rework from the first version I sent out.
Now the implementation is more centered around the power_rails we find in the
SENSE table instead of extdev centered. This makes the implementation a lot
easier and straightforward.
I've added support for the INA219, INA209 and INA3221 sensors found on multiple
Fermi and Kepler cards.
The power consumption is also exported via
2016 Feb 20
12
[PATCH v4 0/6] Suppor for various power sensors on GF100+
This is a complete rework from the first version I sent out.
Now the implementation is more centered around the power_rails we find in the
SENSE table instead of extdev centered. This makes the implementation a lot
easier and straightforward.
I've added support for the INA219, INA209 and INA3221 sensors found on multiple
Fermi and Kepler cards.
The power consumption is also exported via
2023 Apr 16
0
[PATCH 5/9] drm/nouveau/bios/power_budget: Move an expression into a macro call parameter in nvbios_power_budget_header()
Date: Sat, 15 Apr 2023 22:30:30 +0200
The address of a data structure member was determined before
a corresponding null pointer check in the implementation of
the function ?nvbios_power_budget_header?.
Thus avoid the risk for undefined behaviour by moving the usage
of an expression into a parameter for a macro call in one if branch.
This issue was detected by using the Coccinelle software.
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