AMD Has Massive Radeon Patch Set - Power Management!

Finally :slight_smile:

For AMD Radeon customers using the open-source Linux graphics driver, the Linux 3.11 kernel is going to be mega exciting! Alex Deucher of AMD posted a set of 165 kernel patches today. Most notably, there’s finally Dynamic Power Management (DPM) support for R600 GPUs up through Southern Islands hardware! Yes, there’s finally dynamic power management in the open-source driver. Additionally, there’s initial support for AMD “Sea Islands” hardware and there’s also ASPM (Active State Power Management) support.

After the UVD code drop for providing open-source hardware-accelerated video support, the other feature many Radeon Linux users have been wanting (besides faster OpenGL performance) is dynamic power management. Right now there’s only limited static power management and no dynamic re-clocking based upon load and other means. The Catalyst driver has supported dynamic power management via “PowerPlay” for years, but there’s never been nice open-source GPU driver power management… Until today.

A big shocker this morning was loading my email and finding 165 patches from Alex Deucher for the Linux 3.11 kernel. With the 165 patches for Linux 3.11, there’s Dynamic Power Management f or R600 (Radeon HD 2000) through SI (Radeon HD 7000) series hardware along with ASPM coverage for the same hardware. Beyond that, there’s initial CIK (Sea Islands) support. The AMD Sea Islands support is for mode-setting, 3D, compute, and UVD. ****!

AMD Sea Islands is the Radeon HD 8000 series using the GCN 2.0 architecture and is expected to launch in full in the second half of this year. It’s nice to see there’s now Radeon DRM driver support and the Mesa/Gallium3D patches will presumably land soon as well.

The dynamic power management going back to the R600 includes support for clockgating, dynamic engine clock scaling, dynamic memory clock scaling, dynamic voltage scaling, and dynamic PCI Express Gen1/Gen2 switching. While this support will be merged into the next Linux kernel release, for now it looks like the radeon.dpm=1 kernel command-line parameter must be set when booting the system (or loading the Radeon DRM module) for enabling this dynamic power management support.

Benchmarks of the power-savings thanks to dynamic power management (along with comparative Catalyst benchmarks) are forthcoming on Phoronix. I’m also still going over all of the patches so there may be additional updates to this article.

Until the Linux 3.11 merge window is open, the patches can for now be found on the dri-devel list.

[Phoronix] AMD Has Massive Radeon Patch Set - Power Management!](http://www.phoronix.com/scan.php?page=news_item&px=MTM5NjE)

Anyone know if there is an easy way to test this on openSUSE yet, or in the near future? I am currently running the 3.10 drm-next kernel to get UVD to work on my little AMD E-350 powered netbook. It’s pretty awesome to watch it decode high bitrate 1080p video with the open drivers. I would love to try to get power management going on it to see how it works. Thanks.

Yes, when kernel 3.11-rc1 is released, you can test it. Keep a look out in the Pre-Release/Beta forum where I will start a new kernel testing thread when I see kernel 3.11 released and all are welcome to test the new kernel and place your comments in the forum. Until then, get up to speed on using and testing kernels by reading my blog on the subject you can find here:

openSUSE and Installing New Linux Kernel Versions - Blogs - openSUSE Forums

Where you will find both manual, semi-manual and automated methods for kernel upgrades. I suggest you read all linked articles and get to know what you are doing. The next kernel 3.11-rc1 could show up at anytime now I would guess.

That You,