[PATCH 0/2] drm/nouveau: expose accurate read-only PWM telemetry on Pascal
From: Jakub Ludera via B4 Relay
Date: Sun Dec 06 2026 - 06:25:06 EST
This two-patch series improves hwmon fan PWM reporting on Pascal GPUs
and aligns sysfs PWM attribute visibility with the hwmon ABI when fan
management is owned by VBIOS/PREOS PMU firmware.
Patch 1 exports the GM107 PWM helpers and wires them into gp100_therm
alongside gt215_therm_fan_sense so Pascal GPUs report their true
hardware PWM duty cycle rather than falling back to the dummy fannil
100% value. Patch 2 updates nouveau_pwm_is_visible() to hide
pwm1_enable (instead of exposing -1) and mark pwm1 read-only when
NVKM_THERM_ATTR_FAN_MODE is unavailable.
Signed-off-by: Jakub Ludera <jakub_ludera@xxxxxxx>
---
Jakub Ludera (2):
drm/nouveau/therm/gp100: wire up fan PWM and tachometer callbacks
drm/nouveau/hwmon: hide pwm1_enable and make pwm1 read-only when fan mode is unavailable
drivers/gpu/drm/nouveau/nouveau_hwmon.c | 6 +++++-
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm107.c | 8 ++++----
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gp100.c | 5 +++++
drivers/gpu/drm/nouveau/nvkm/subdev/therm/priv.h | 5 +++++
4 files changed, 19 insertions(+), 5 deletions(-)
---
base-commit: b5a1ab58fb6535064d79c26f3d53936e88769339
change-id: 20261206-fix-gp100-hwmon-pwm-2aeb8cca21a6
Best regards,
--
Jakub Ludera <jakub_ludera@xxxxxxx>