1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

NVIDIA Still Working On PRIME/DMA-BUF Contribution

NVIDIA

Published on 15 January 2013 05:04 PM EST
Written by Michael Larabel in NVIDIA
10 Comments

Aaron Plattner at NVIDIA is still working on the open-source "PRIME Helpers" patches for the Linux kernel. This is work towards ultimately better handling PRIME/DMA-BUF for NVIDIA Optimus Technology on Linux.

In early December I wrote about the original PRIME Helper patches courtesy of Plattner at NVIDIA. As written in that earlier article:
NVIDIA still isn't permitted to properly use DMA-BUF for buffer sharing between their binary driver and the open-source graphics drivers for being able to properly support the NVIDIA Optimus technology. GPL-only kernel symbols are blocking NVIDIA from tapping DMA-BUF and there's a few kernel developers who don't want these symbols to be used by NVIDIA's blob.

As the latest on this front concerning proper multi-GPU support under Linux and the drivers being able to cooperate with each other, NVIDIA's Aaron Plattner has put out a set of four patches for PRIME helpers. The patches courtesy of the veteran Linux developer at NVIDIA provide helper functions to abstract core parts of the GEM PRIME import and export functions for video memory management.
Basically these patches allow for replacing GEM PRIME import/export functions -- the functions are common and shared amongst the Nouveau and Radeon DRM drivers -- with a driver's own custom functionality. For now this just leads to eliminating duplicated code between Radeon/Nouveau, but could theoretically allow for NVIDIA's binary driver to implement its own import/export hooks that don't directly rely upon the GPL-only DMA-BUF.

These PRIME Helper patches are currently dependent upon new DMA-BUF code landing for the Linux 3.9 kernel. This latest revision to the patches address some technical comments and concerns that Aaron received from the open-source graphics driver developers. The v3 helper patches can be found on the dri-devel list.

About The Author
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 and or contacted via .
Latest Linux Hardware Reviews
  1. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. AMD's RadeonSI Driver Sped Up A Lot This Summer
  2. Intel's Latest Linux Graphics Code Competes Against OS X 10.9
  3. Intel Sandy Bridge Gets A Surprise Boost From Linux 3.17
  4. Open-Source Radeon Graphics Have Some Improvements On Linux 3.17
Latest Linux News
  1. A New First-Person Mystery Game Might Be Coming To Linux
  2. Patch By Patch, LLVM Clang Gets Better At Building The Linux Kernel
  3. VC4 Gallium3D Driver Now Handles X With GLAMOR
  4. Opera 25 Development Release For Linux
  5. Steam Now Supports VA-API For In-Home Game Streaming
  6. GNOME 3.14 Beta Released
  7. Mesa 10.3 Branched & RC1 Released, Mesa 10.4 On Master
  8. Intel Sandy Bridge Gains On Linux 3.17 Extend Beyond Graphics
  9. LinuxCon: What's Going On With Fedora.Next
  10. Canonical Joined The Khronos Group To Help Mir/Wayland Drivers
Latest Forum Discussions
  1. Btrfs Gets Talked Up, Googler Encourages You To Try Btrfs
  2. Systemd 216 Piles On More Features, Aims For New User-Space VT
  3. American Citizens running AMOK for food stamps
  4. What Linux Distribution Should Be Benchmarked The Most?
  5. OSS radeon driver for A10-7850K (Kaveri)
  6. Company I work for is looking to contribute to Open Source projects... but wrongly?
  7. Microsoft vs. Campaign
  8. Updated and Optimized Ubuntu Free Graphics Drivers