nouveau_thermal 2.7 KB

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