History log of /openbmc/dbus-sensors/src/nvidia-gpu/NvidiaGpuPowerSensor.hpp (Results 1 – 2 of 2)
Revision Date Author Comments
# aba6fcac 29-Sep-2025 Ed Tanous <etanous@nvidia.com>

Fix tidy build

This appears to be something tidy is wrong about. The suggestion of
adding math to the struct initializers appears to not compile.

Move the calculation of hysteresisTrigger and hyst

Fix tidy build

This appears to be something tidy is wrong about. The suggestion of
adding math to the struct initializers appears to not compile.

Move the calculation of hysteresisTrigger and hysteresisPublish into the
constructor body itself to avoid the warning.

Change-Id: I833fd12966c69c0e081692d6d40ba0cf1805ead1
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


# 902c649b 08-May-2025 Harshit Aghera <haghera@nvidia.com>

nvidia-gpu: add power sensor

This patch adds support to fetch power sensor value from gpu

Tested: Build an image for gb200nvl-obmc machine with the following
patches cherry picked. This patches are

nvidia-gpu: add power sensor

This patch adds support to fetch power sensor value from gpu

Tested: Build an image for gb200nvl-obmc machine with the following
patches cherry picked. This patches are needed to enable the mctp stack.

https://gerrit.openbmc.org/c/openbmc/openbmc/+/79422

```
$ curl -s -k -u 'root:0penBmc' https://10.137.203.137/redfish/v1/Chassis/NVIDIA_GB200_1/Sensors/power_NVIDIA_GB200_GPU_0_Power_0
{
"@odata.id": "/redfish/v1/Chassis/NVIDIA_GB200_1/Sensors/power_NVIDIA_GB200_GPU_0_Power_0",
"@odata.type": "#Sensor.v1_2_0.Sensor",
"Id": "power_NVIDIA_GB200_GPU_0_Power_0",
"Name": "NVIDIA GB200 GPU 0 Power 0",
"Reading": 27.181,
"ReadingRangeMax": 4294967.295,
"ReadingRangeMin": 0.0,
"ReadingType": "Power",
"ReadingUnits": "W",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}%
```

Change-Id: Ic227a0056daa68ab2239a609ed20c7ed2f6bd2c5
Signed-off-by: Harshit Aghera <haghera@nvidia.com>

show more ...