Raspberry Pi VC4 DRM Driver Is Getting Runtime Power Management & GPU Reset

Written by Michael Larabel in Raspberry Pi on 9 February 2016 at 12:36 AM EST. Add A Comment
RASPBERRY PI
The VC4 DRM kernel open-source driver for providing display support on Raspberry Pi devices is in the process of getting runtime power management and GPU reset capabilities.

Eric Anholt on Tuesday published the latest patches for runtime PM and GPU reset. While this is new functionality, Eric is hoping he will be able to sneak this code in as -fixes, which would allow the material to still land for Linux 4.5 if approved by DRM subsystem maintainer David Airlie and then in turn Linus Torvalds. The Broadcom developer's reasoning for trying to get it into -fixes right away is to help users, "My preference would be to get this in -fixes, since without GPU reset we can end up with a totally wedged desktop (and we do still have some known GPU hangs). If not, I'm fine with the first patch to -fixes and the other two to -next."

The GPU reset capability depends upon runtime power management for being able to turn off the GPU as part of the reset process. The VC4 driver previously had GPU reset support but it was disabled during a previous code refactoring process when dealing with a regression. With the runtime power management support, the VC4 DRM driver can turnoff the GPU in between rendering tasks, which is a feature not present in the closed-source Raspberry Pi graphics driver.


More details on the VC4 power management and GPU reset support can be found via this dri-devel patch series while waiting to see if it will still land in Linux 4.5.
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