Freedreno's MSM DRM Driver Wires In DEVFREQ Re-Clocking Support

Written by Michael Larabel in Linux Kernel on 11 January 2018 at 03:33 AM EST. 1 Comment
LINUX KERNEL
Freedreno open-source Qualcomm Adreno driver creator Rob Clark has sent in the set of updates for the MSM DRM driver targeting the Linux 4.16 kernel.

The MSM Direct Rendering Manager updates for DRM-Next to go into Linux 4.16 are a bit late for the DRM staging, but these changes are mostly small. Besides some bug fixes and other minor code changes, the main feature addition for MSM in Linux 4.16 is DEVFREQ support for controlling the GPU clock frequency.

DEVFREQ (or stylized as "devfreq") is the generic dynamic voltage and frequency scaling (DVFS) framework for non-CPU devices. DEVFREQ was originally developed by Samsung but is generic enough for any other drivers to also make use of it for frequency and voltage control. With Linux 4.16, MSM is using DEVFREQ for dynamically controlling the GPU frequency using its "simple_ondemand" governor for adjusting the frequencies based upon load.

This DEVFREQ support came courtesy of Qualcomm via their CodeAurora initiative. CodeAurora developers continue contributing to this open-source Freedreno/MSM driver stack that started out via reverse-engineering.

The MSM changes for Linux 4.16 can be found via this pull request.
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