Linux 6.12 Introducing DRM "Power Saving Policy" For Better Desktop Integration

Written by Michael Larabel in Hardware on 1 August 2024 at 08:47 AM EDT. 8 Comments
HARDWARE
Sent out today was the first batch of drm-misc-next patches of Direct Rendering Manager updates that will be targeting the Linux 6.12 kernel later in the year. Notable from this pull is introducing a new DRM Power Saving Policy for display connectors and is initially wired up for the AMDGPU kernel graphics driver.

This new "Power Saving Policy" for monitor/display connectors is intended to be common across drivers and for communicating between display compositors (desktops) and drivers whether power saving features should be used that could compromise the experience intended by the desktop compositor.

The Power Saving Policy for the connector currently can indicate whether the driver should require color accuracy and in turn for the driver/hardware to disable power saving features that could affect color fidelity. Another policy option is for requiring low-latency to disable power saving features that affect the display latency like Panel Self Refresh (PSR).

Quad monitor Linux setup


This was worked on in collaboration with KDE and other desktops for ensuring the wishes of the compositor are expressed to the graphics driver. Initially this is wired up for the AMDGPU driver as the common DRM property code was worked on by AMD. With time other DRM drivers will likely be supporting this Power Saving Policy property on connectors. There is a KDE KWin merge request for making use of this property on the compositor side.

Today's drm-misc-next pull request also adds dynamic per-CRTC vblank configuration support to the modesetting code, TTM improvements, improved BMC handling for the MGAG200 driver, cleanups for the nouveau driver, and other small driver changes.

Update (9 August): Linux's DRM Power Saving Policy Gets Reverted For Now
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