Blame Documentation/thermal/nouveau_thermal

Packit 7b02f3
Kernel driver nouveau
Packit 7b02f3
===================
Packit 7b02f3
Packit 7b02f3
Supported chips:
Packit 7b02f3
* NV43+
Packit 7b02f3
Packit 7b02f3
Authors: Martin Peres (mupuf) <martin.peres@free.fr>
Packit 7b02f3
Packit 7b02f3
Description
Packit 7b02f3
---------
Packit 7b02f3
Packit 7b02f3
This driver allows to read the GPU core temperature, drive the GPU fan and
Packit 7b02f3
set temperature alarms.
Packit 7b02f3
Packit 7b02f3
Currently, due to the absence of in-kernel API to access HWMON drivers, Nouveau
Packit 7b02f3
cannot access any of the i2c external monitoring chips it may find. If you
Packit 7b02f3
have one of those, temperature and/or fan management through Nouveau's HWMON
Packit 7b02f3
interface is likely not to work. This document may then not cover your situation
Packit 7b02f3
entirely.
Packit 7b02f3
Packit 7b02f3
Temperature management
Packit 7b02f3
--------------------
Packit 7b02f3
Packit 7b02f3
Temperature is exposed under as a read-only HWMON attribute temp1_input.
Packit 7b02f3
Packit 7b02f3
In order to protect the GPU from overheating, Nouveau supports 4 configurable
Packit 7b02f3
temperature thresholds:
Packit 7b02f3
Packit 7b02f3
 * Fan_boost: Fan speed is set to 100% when reaching this temperature;
Packit 7b02f3
 * Downclock: The GPU will be downclocked to reduce its power dissipation;
Packit 7b02f3
 * Critical: The GPU is put on hold to further lower power dissipation;
Packit 7b02f3
 * Shutdown: Shut the computer down to protect your GPU.
Packit 7b02f3
Packit 7b02f3
WARNING: Some of these thresholds may not be used by Nouveau depending
Packit 7b02f3
on your chipset.
Packit 7b02f3
Packit 7b02f3
The default value for these thresholds comes from the GPU's vbios. These
Packit 7b02f3
thresholds can be configured thanks to the following HWMON attributes:
Packit 7b02f3
Packit 7b02f3
 * Fan_boost: temp1_auto_point1_temp and temp1_auto_point1_temp_hyst;
Packit 7b02f3
 * Downclock: temp1_max and temp1_max_hyst;
Packit 7b02f3
 * Critical: temp1_crit and temp1_crit_hyst;
Packit 7b02f3
 * Shutdown: temp1_emergency and temp1_emergency_hyst.
Packit 7b02f3
Packit 7b02f3
NOTE: Remember that the values are stored as milli degrees Celsius. Don't forget
Packit 7b02f3
to multiply!
Packit 7b02f3
Packit 7b02f3
Fan management
Packit 7b02f3
------------
Packit 7b02f3
Packit 7b02f3
Not all cards have a drivable fan. If you do, then the following HWMON
Packit 7b02f3
attributes should be available:
Packit 7b02f3
Packit 7b02f3
 * pwm1_enable: Current fan management mode (NONE, MANUAL or AUTO);
Packit 7b02f3
 * pwm1: Current PWM value (power percentage);
Packit 7b02f3
 * pwm1_min: The minimum PWM speed allowed;
Packit 7b02f3
 * pwm1_max: The maximum PWM speed allowed (bypassed when hitting Fan_boost);
Packit 7b02f3
Packit 7b02f3
You may also have the following attribute:
Packit 7b02f3
Packit 7b02f3
 * fan1_input: Speed in RPM of your fan.
Packit 7b02f3
Packit 7b02f3
Your fan can be driven in different modes:
Packit 7b02f3
Packit 7b02f3
 * 0: The fan is left untouched;
Packit 7b02f3
 * 1: The fan can be driven in manual (use pwm1 to change the speed);
Packit 7b02f3
 * 2; The fan is driven automatically depending on the temperature.
Packit 7b02f3
Packit 7b02f3
NOTE: Be sure to use the manual mode if you want to drive the fan speed manually
Packit 7b02f3
Packit 7b02f3
NOTE2: When operating in manual mode outside the vbios-defined
Packit 7b02f3
[PWM_min, PWM_max] range, the reported fan speed (RPM) may not be accurate
Packit 7b02f3
depending on your hardware.
Packit 7b02f3
Packit 7b02f3
Bug reports
Packit 7b02f3
---------
Packit 7b02f3
Packit 7b02f3
Thermal management on Nouveau is new and may not work on all cards. If you have
Packit 7b02f3
inquiries, please ping mupuf on IRC (#nouveau, freenode).
Packit 7b02f3
Packit 7b02f3
Bug reports should be filled on Freedesktop's bug tracker. Please follow
Packit 7b02f3
http://nouveau.freedesktop.org/wiki/Bugs