DMA-BUF Synchronization With PRIME
Written by Michael Larabel in Nouveau on 11 July 2012 at 09:40 AM EDT. 3 Comments
Now that X.Org Server 1.13 RC1 is out there with the initial support for PRIME and other exciting features, dependent projects can also now move forward.

Maarten Lankhorst has published some "request for comment" patches concerning DMA-BUF synchronization. "This patch implements my attempt at dmabuf synchronization. The core idea is that a lot of devices will have their own methods of synchronization, but more complicated devices allow some way of fencing, so why not export those as dma-buf? This patchset implements dmabufmgr, which is based on ttm's code. The ttm code deals with a lot more than just reservation however, I took out almost all the code not dealing with reservations."

Maarten's code introduces a dma-buf-mgr (manager) component, PRIME work-in-progress support for the i915 driver, extended Nouveau PRIME code, and Nouveau fence PRIME implementation. Maarten Lankhorst worked on this code as part of his official duties at Canonical, with their interest in supporting hybrid graphics / NVIDIA Optimus under Linux.

There's still much to do on the hybrid graphics front and it doesn't look like it will come together in any official capacity for Ubuntu 12.10, but at least the code is moving in the right direction.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Nouveau News
Popular News
Trending Reviews & Featured Articles