PMU Engine Counter Support For Nouveau, Needed For Dynamic Reclocking

Written by Michael Larabel in Nouveau on 8 February 2016 at 08:17 AM EST. 5 Comments
NOUVEAU
Karol Herbst has published a set of patches for implementing PMU engine counters, which will be needed for supporting dynamic re-clocking with newer GPUs.

Herbst explained with his new patch series that the PMU engine counters are needed for dynamic re-clocking with the GT215 (GeForce GT 240) and newer. These engine counters are used for getting the core, memory, video, and PCI Express loads. Based upon the load information, the Nouveau driver can then make better assumptions about whether to increase/decrease the various frequencies of the hardware.

This patch series though doesn't do the actual wiring up of any dynamic re-clocking. With this counter support, the data is currently then just exposed via debugfs. For now, Nouveau just supports disabled-by-default, manual, static re-clocking until all the core/vRAM re-clocking issues are sorted through.

This code adds more than 2,500 lines of new code (and adjusts around one thousand other lines). Hopefully this code is in good shape and the PMU engine counters support can be merged then into Linux 4.6. It's great as well seeing Karol becoming one of the most prolific, independent contributors to Nouveau when it comes to re-clocking support.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week