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. 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. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Benchmarking The Intel P-State, CPUfreq Changes
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. DNF Still Advancing As Experimental Yum For Fedora
  4. Logitech Begins Supporting Linux Users
  5. Modern Intel Gallium3D Driver Still Being Toyed With
  6. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  7. GCC 4.8.1 Compiler Due To Be Out Next Week
  8. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  9. Linux's "Ondemand" Governor Is No Longer Fit
  10. Firefox 22 Beta Enables WebRTC Support
  11. OpenSUSE 13.1 Milestone 1 Released
Latest Forum Talk
  1. X3: Albion Prelude Released For Linux Gamers
  2. Linux's "Ondemand" Governor Is No...
  3. DNF Still Advancing As Experimental Yum For Fedora
  4. Modern Intel Gallium3D Driver Still Being Toyed...
  5. The Last GNOME 3.8 Point Release Has Been Made
  6. Sumo Lounge Emperor
  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