1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems

Facebook RSS Twitter Twitter Google Plus

Phoronix Test Suite


OMAP, Radeon, Valley View Linux DRM Updates

Linux Kernel

Published on 28 March 2012 09:17 PM EDT
Written by Michael Larabel in Linux Kernel

There's a number of DRM-related updates today in the open-source Linux graphics world.

First of all, libdrm 2.4.33 was released today (announcement). What makes this DRM library update noteworthy is that it integrates OMAP support and adds Trinity surface support on the Radeon DRM side. AMD published the open-source Trinity code (alongside the Radeon HD 7000 series DRM code) last week. The enablement code for the upcoming AMD Fusion "Trinity" APUs wasn't too bad -- compared to GCN / Southern Islands -- since it's based upon an existing GPU, but the support is available. The R600 Mesa Gallium3D driver was also updated to handle AMD Trinity.

With today's libdrm update, there is now released support in the DRM library for Trinity. This support though isn't too exciting, it's just dropping in seven PCI IDs for the "ARUBA" graphics. The PCI IDs are 0x9900, 0x9901, 0x9903, 0x9904, 0x990F, 0x9990, and 0x9991.

The libdrm 2.4.33 release also has in the initial PCI IDs for Intel's 2013 platform, Haswell. Intel began publishing open-source Haswell graphics code earlier this month for Mesa and the DRM driver. Within libdrm they have added in the PCI IDs for the GT1/GT2 desktop parts (0x0402 and 0x0412), two mobile GT1/GT2 (0x0406 and 0x0416), and mobile ULT GT2 (0x0A16). The Haswell graphics are being identified as an Intel "Gen7" part, like Ivy Bridge. The first Haswell hardware isn't expected until the first half of 2013 while by the end of April there should be the first shipping Ivy Bridge processors.

What's more exciting about libdrm 2.4.33 than sprinkling in some new PCI IDs is that the OMAP support has finally landed. Rob Clark of Texas Instruments is the one that's been working on the OMAP DRM/KMS driver for this ARM-based Texas Instruments platform, with the open-source DRM driver being merged into staging for Linux 3.3. Texas Instruments also has an xf86-video-omap DDX driver that relies upon the OMAP DRM and there's also an omapdrmtest user-space testing utility, etc.

OMAP for libdrm in this version is a ~550 line libdrm_omap helper implementation for these user-space OMAP interfaces. Unfortunately there is no open-source 3D user-space for Texas Instruments' OMAP platform at this time. This is the first ARM-based DRM driver to have mainline libdrm support. One of the popular OMAP4460 platforms is the dual-core PandaBoard ES.

Aside from the libdrm, within the kernel DRM side there's also exciting developments.

Published today were updated Intel Valley View patches. Last week I exclusively broke the news about Valleyview as a next-generation Atom SoC with Ivy Bridge graphics rather than the graphics core being derived from Imagination PowerVR SGX IP. This is huge news, but for Linux users it's especially great since it means mainline open-source Intel Linux graphics support rather than dealing with a number of binary blobs. Intel Valleyview Atom chips won't be out until probably the end of 2012 or early 2013, but the open-source support for the Ivy Bridge-derived graphics is already materializing.

On the mailing list are updated patches for the Valley View DRM support to address comments by the other graphics driver developers over the past week. Expect more news in this space soon.

On a related note for those Intel Atom users stuck with current PowerVR-based graphics (e.g. Poulsbo, Moorestown, etc) there's some potential good news. Last November I mentioned the state of the open-source GMA500/Poulsbo DRM driver that's still basic and lacks 2D/3D acceleration support, but Intel's Alan Cox mentioned at that point that video acceleration might be possible on open-source.

There's enough code already out there concerning the Intel PowerVR with the DRM driver and then the VA-API driver found in MeeGo/Tizen and now in a separate Git repository, that the DRM driver might be able to be worked up to handle video acceleration. Nothing solid has been done in this area yet, but Alan Cox mentioned today on the kernel mailing list, "The one for the 3D/2D non-free user space driver. I've been working on Cedartrail primarily at the moment so not had time to dig further into the video playback logic. I did get the decoder detected and mapped happily but haven't yet had time to persuade the firmware to upload. It'll also need the driver extending to support the overlay planes feature in the DRI/DRM layer."

Lastly, Alex Deucher of AMD published some new register definitions today for HDMI/DisplayPort audio for the Radeon DRM driver. See this mailing list post. DCE2 was introduced on the R600 series (Radeon HD 2000), DCE3 was on the RV620/RV635/RS780/RS880 (Radeon HD 3000 series), DCE3.1 for the RV770, DCE3.2 for the RV710/730/740, DCE4 for the Radeon HD 5000 series, and DCE5 is the Radeon HD 6000 series. (The new Radeon HD 7000 series is on DCE6.)

This patch simply drops in all of these new defines for the Radeon HD 2000/3000/4000/5000/6000 series audio, but no actual code implementation. Since last year open-source Radeon users were waiting for Evergreen-era HDMI audio support, but the code was tied up in legal/technical review at AMD. In the meantime, the HDMI audio support was reverse-engineered with basic support in place and the code was already merged to mainline. It looks like AMD's more extensive audio code is finally clearing the review process and making it out several months later.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. NVIDIA's $1000+ GeForce GTX TITAN X Delivers Maximum Linux Performance
  2. OS X 10.10 vs. Ubuntu 15.04 vs. Fedora 21 Tests: Linux Sweeps The Board
  3. The New Place Where Linux Code Is Constantly Being Benchmarked
  4. 18-GPU NVIDIA/AMD Linux Comparison Of BioShock: Infinite
  5. Phoronix Test Suite 5.6 Adds New Phoromatic Enterprise Benchmarking Features
  6. OpenGL Threaded Optimizations Responsible For NVIDIA's Faster Performance?
Latest Linux News
  1. Shadow Warrior Is Being Released For Linux Next Week
  2. Intel Pushes A Bunch Of Broadwell Code Into Coreboot
  3. Open-Source Driver Fans Will Love NVIDIA's New OpenGL Demo
  4. GHC 7.10.1 Brings New Compiler Features
  5. Git 2.4.0-rc0 Does A Ton Of Polishing
  6. The Most Common, Annoying Issue When Benchmarking Ubuntu On Many Systems
  7. Mesa Is At Nearly 1,500 Commits This Year
  8. Gestures & Other GTK3 Features For LibreOffice
  9. It's Now Easier To Try PHP 7 On Fedora & RHEL
  10. BQ Is Cleaning Up Their Aquaris E4.5 Ubuntu Kernel
Most Viewed News This Week
  1. Introducing The Library Operating System For Linux
  2. AMD Is Hiring Two More Open-Source Linux GPU Driver Developers
  3. New SecureBoot Concerns Arise With Windows 10
  4. GNOME Shell & Mutter 3.16.0 Released
  5. GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More
  6. Systemd Change Allows For Stateless Systems With Tmpfs
  7. GCC 5 Compiler Is Getting Close To Being Released
  8. Red Hat Is Rolling Out A VirtIO DRM/KMS GPU Driver