DRM Library Gets Open-Source NVIDIA Tegra Support

Posted by Michael Larabel on December 04, 2012

One week after NVIDIA published 2D open-source driver code for their Tegra 2 ARM SoCs, which is applied to the Tegra DRM driver that will premiere with the Linux 3.8 kernel, code has now emerged for supporting the NVIDIA Tegra driver within the libdrm component.

This code isn't as exciting as the Tegra DRM driver or last week's 2D acceleration code provided by NVIDIA's growing fondness of open-source for Tegra, but it's still important nevertheless. This helper code will eventually be used when there is a new X.Org/DDX driver for supporting the Tegra 2D acceleration and communicating with the kernel DRM driver.

The NVIDIA Tegra DRM library support amounts to a couple hundred lines of code that provides a basic API and two IOCTLs for creating Tegra-specific GEM. For the eventual X.Org graphics driver for handling open-source Tegra, it's looking like that it will be based upon a forked version of the generic xf86-video-modesetting driver and then the various Tegra-specific acceleration bits layered atop. There was also brief talk about forking the dead xf86-video-nv driver, but that path seems much less likely.

The current libdrm patch can be found on the mailing list. Expect more patches out of NVIDIA and Avionic Design going forward. If you missed it, read the back-story of the recent open-source NVIDIA work.

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. The Wayland Situation: Facts About X vs. Wayland
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. Ubuntu Announces Carrier Advisory Group
  5. Intel Haswell HD Graphics 4600 vs. AMD Radeon...
  6. Planetary Annihilation Plans To Come To Linux
  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