Another Shot At The KMS Page-Flipping Ioctl

Written by Michael Larabel in Linux Kernel on 12 November 2009 at 03:50 PM EST. 7 Comments
LINUX KERNEL
Being worked on for the past several months by Kristian Høgsberg and other developers has been the KMS page-flipping ioctl, which makes it possible for kernel mode-setting drivers to benefit from tear-free updating of the screen with low-latency page-flipping. This kernel DRM ioctl is also a requirement for the Wayland Display Server. The page-flipping ioctl should have made it into the Linux 2.6.32 kernel, but it didn't end up happening due to some last minute work.

This afternoon though Kristian has republished his kernel mode-setting page-flipping ioctl patch with the latest changes. This latest patch incorporates blocking within the kernel and optional events to user-space. Moving the blocking from user-space into the kernel allows other processes to use the GPU while waiting for the page flip at the next vblank.

This DRM ioctl patch touches about 400 lines of code (mostly the addition of new code) and is now hopefully ready to enter the Linux 2.6.33 kernel, which is great news for those using the X Server and also those wanting to experiment with Wayland but have been waiting for more of the work to land in mainline trees. The Linux 2.6.33 kernel will be the first release in 2010.

This latest page-flipping ioctl patch can be found on the DRI development list.
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