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. 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. LLVM Clang 3.3 RC2 Is Ready For Testing
  2. AMD RadeonSI Gallium3D Begins Simple CL Demos
  3. Intel Shows Off GNOME3-Based Tizen Shell
  4. Linux Desktop Security Could Be A Whole Lot Better
  5. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  6. New NVIDIA Linux Driver Supports The GeForce GTX 780
  7. Chrome 28 To Offer More Speed Improvements
  8. Digia Announces "Boot To Qt" Project
  9. X.Org Libraries Hit By Round Of Security Issues
  10. Wayland's Weston Gets Output Scaling Support
  11. Raspberry Pi Gets New Wayland Weston Renderer
Latest Forum Talk
  1. AMD RadeonSI Gallium3D Begins Simple CL Demos
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  3. Could the forum help improve the quality of...
  4. Linux Desktop Security Could Be A Whole Lot Better
  5. X.Org Libraries Hit By Round Of Security Issues
  6. Intel Shows Off GNOME3-Based Tizen Shell
  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