DRM Render-Nodes Work Back Underway

Posted by Michael Larabel on March 30, 2012

The DRM render-nodes work has been revived. This DRM branch originally started out when working on support for enabling two X.Org Servers to run off of a single graphics card.

Two years ago there was the render-nodes branch originally when David Airlie was working on allowing two X.Org Servers to run off one GPU, basically as sane multi-seat handling. Back in 2010 the work was in a "demoable" state, but never merged. The kernel work introduced the ability to create "render" device notes with a list of output resources, a hard-coded render node ssetup, and DRM mapping fixes for multiple device nodes.

Ilija Hadzic announced to the X.Org developers yesterday that he's revived David's render-nodes branch. He's currently seeking comments on the revived work per this mailing list message. "The following set of patches will revive the drm-render-nodes [1] branch that has been dormant in Dave Airlie's repository for some time. I rebased this branch to the latest drm-core-next and did some (hopefully useful) follow-up work. I fixed a few bugs, did a substantial cleanup, separated the experimental hard-coded stuff from general stuff and implemented all kinds of checks and protections from any ugly stuff that user space can send. I also have libdrm patches as well as a small test-utility program that can be used to create and remove render nodes from user space. I will send these in the next patch series."

Additionally from Hadzic, "At this time, I'd like to solicit comments and feedback and I'll be glad to rework the patches based on the feedback I receive. Note that although the patches are meant to work on any GPU, I have only tested this with Radeon hardware. If someone runs this with other hardware, I would be very interested in hearing about the result. Also, I have only tested this for multiseat-X use case. If someone tries this for GPGPU use case, I'd appreciate the feedback."

Let's hope this work will continue and end up being merged. Ilija Hadzic is the developer that previously sent over the DRM VBlank patch that led Linus Torvalds to go on a rant about why DRM has been problematic.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. SQLite Now Faster With Memory Mapped I/O
  2. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  3. Qt For Tizen Launches, Based On Qt 5.1
  4. KTAP Released For Linux Kernel Dynamic Tracing
  5. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  6. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  7. Handbrake 0.9.9 Supports OpenCL Offloading
  8. Freedreno Gallium3D Now Banging The Adreno A3XX
  9. Jolla Announces Their First Phone
  10. Mageia 3 Released, Still Using Legacy GRUB
  11. NetBSD 6.1 Brings In More Features
Latest Forum Talk
  1. Qt For Tizen Launches, Based On Qt 5.1
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. Modern Intel Gallium3D Driver Still Being Toyed...
  4. Linux's "Ondemand" Governor Is No...
  5. Microsoft Releases Skype For Linux 4.2, Has...
  6. Intel Linux OpenGL Driver Leading Over Apple OS X
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite