Last Minute For Linux 3.4: DMA-BUF PRIME Support
Written by Michael Larabel in Linux Kernel on 30 March 2012 at 10:13 AM EDT. 5 Comments
Linux Kernel
David Airlie has a last-minute pull request for the Linux 3.4 kernel following last week's main DRM pull. This latest Git pull request is set to introduce DMA-BUF PRIME support in the mainline kernel.

What this work does is setup the DRM DMA-BUF interface layer that they call PRIME. The initial DMA-BUF support, worked on by Linaro developers and others, was pushed into the Linux 3.3 kernel but isn't widely used yet in the mainline tree. For those not familiar with the DMA-BUF buffer sharing infrastructure for the kernel, see DMA-BUF Is Ready To Push Forward Linux Drivers and NVIDIA Talks Of Optimus Possibilities For Linux. This work is especially important for ARM hardware and graphics drivers.

The PRIME pull for Linux 3.4 doesn't implement any driver support, but is just the underlying work to make this DMA-BUF implementation available to DRM drivers. They hope to have something ready in terms of driver implementation for the next kernel cycle (the Linux 3.5 kernel). At the moment there is work on Nouveau, i915, UDL (DisplayLink), Samsung Exynos, and Texas Instruments OMAP for taking advantage of this open-source work. There's also VGEM involvement.

This new work is exposed via the DMA_SHARED_BUFFER kernel configuration option and automatically enabled for building when building DRM driver support.

The DMA-BUF PRIME pull request can be viewed at LKML.org.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Linux Kernel News
Popular News
Trending Reviews & Featured Articles