Documentation/driver-api/thermal/nouveau_thermal.rst
Supported chips:
Authors: Martin Peres (mupuf) [email protected]
This driver allows to read the GPU core temperature, drive the GPU fan and set temperature alarms.
Currently, due to the absence of in-kernel API to access HWMON drivers, Nouveau cannot access any of the i2c external monitoring chips it may find. If you have one of those, temperature and/or fan management through Nouveau's HWMON interface is likely not to work. This document may then not cover your situation entirely.
Temperature is exposed under as a read-only HWMON attribute temp1_input.
In order to protect the GPU from overheating, Nouveau supports 4 configurable temperature thresholds:
WARNING: Some of these thresholds may not be used by Nouveau depending on your chipset.
The default value for these thresholds comes from the GPU's vbios. These thresholds can be configured thanks to the following HWMON attributes:
NOTE: Remember that the values are stored as milli degrees Celsius. Don't forget to multiply!
Not all cards have a drivable fan. If you do, then the following HWMON attributes should be available:
You may also have the following attribute:
Your fan can be driven in different modes:
NOTE: Be sure to use the manual mode if you want to drive the fan speed manually
NOTE2: When operating in manual mode outside the vbios-defined [PWM_min, PWM_max] range, the reported fan speed (RPM) may not be accurate depending on your hardware.
Thermal management on Nouveau is new and may not work on all cards. If you have inquiries, please ping mupuf on IRC (#nouveau, OFTC).
Bug reports should be filled on Freedesktop's bug tracker. Please follow https://nouveau.freedesktop.org/wiki/Bugs