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. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  2. Ubuntu Announces Carrier Advisory Group
  3. Planetary Annihilation Plans To Come To Linux
  4. LLVM 3.3 Officially Released
  5. Intel Haswell-Based Apple MacBook Air, HD 5000...
  6. Intel GPU Driver Tries To Rip Out FBDEV Support
  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