Peer-To-Peer DMA-BUF Support Being Ironed Out, Patches Pending For AMDGPU
Written by Michael Larabel in Radeon on 12 March 2020 at 02:58 AM EDT. 6 Comments
One of the latest patch series being worked on by long-time open-source AMD Linux graphics driver developer Christian König is P2P DMA-BUF support.

The support is the culmination of extensive work on allowing peer-to-peer sharing of DMA-BUF buffers between devices without being backed by system memory pages. In particular -- and the focus of AMD's work in this area -- is for allowing DMA-BUF buffers to be shared between multiple graphics cards in a more efficient/performant manner.

This builds upon earlier AMD Linux work like P2P DMA between devices on AMD Zen systems. Now the last of the series is supporting the peer-to-peer import/export at the DMA-BUF level with this buffer sharing and synchronization framework being common among the Linux GPU drivers.

On Wednesday Christian sent out the P2P DMA-BUF patches for DMA-BUF itself followed by the AMDGPU DRM driver as a reference wiring up of the support with the new "peer2peer" flag.

The window for landing new feature code into DRM-Next is quickly drawing to a close ahead of the Linux 5.7 merge window, so we'll see if this work gets picked up quickly enough or ends up being diverted to a later kernel.
Related News
About The Author
Author picture

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week