Open-Source Radeon Tries Again For PCI-E 2.0

Posted by Michael Larabel on June 26, 2012

David Airlie sent in some PCI Express 2.0 patches for the Linux kernel DRM this morning, which will hopefully allow supported Radeon graphics cards to run at PCI-E 2.0 speeds by default.

As shown in multiple Phoronix articles, PCI Express 2.0 speeds can really boost the Radeon driver performance. With the additional bandwidth provided by PCI-E 2.0, the open-source AMD driver sees a much-needed performance boost. While the PCI Express 2.0 specification was ratified in 2007 and has been supported by most motherboard chipsets and graphics cards since then (on the Radeon side, it's been supported going back to the R600 days), it hasn't been enabled by default with the open-source Radeon driver due to alleged bugs for a small minority of users. The performance meanwhile has been painful for a majority of the ATI/AMD customers sticking to open-source code.

David Airlie began today's patch work by submitting a DRM core patch that allows for checking to see if PCI Express 2.0 5GT link speeds are supported for a given device. There is a special case within this function that explictly disables the PCI Express 2.0 checking for root ports from VIA and Serverworks since they're reportedly known to cause issues.

A second patch allows for PCI Express 2.0 to be supported by the Radeon HD 7000 "Southern Islands" graphics cards, but that patch comes down to just calling the same PCI-E 2.0 initialization path as is used by the HD 6000 "Northern Islands" series, which in turn is the HD 5000 "Evergreen" PCI-E 2.0 code-path.

The third and final patch attempts to enable PCI Express 2.0 support where possible, which comes down to using the new PCI-E 2.0 checker function along the Evergreen (the code-path that's shared with the HD 6000 and HD 7000 series too) and R600 paths. With this patch applied, PCI Express 2.0 should be on-by-default for the Radeon HD 2000 series and newer on a patched Linux kernel in conjunction with a supported PCI-E Gen2 motherboard. If there's bugs, falling back to PCI Express 1.0 is possible via the radeon.pcie_gen2=0 parameter.


Intel's PCI Express 2.0 launch party back in 2007 at IDF Fall prior to the Phoronix computer beer opening event.

These patches will hopefully be merged into the Linux 3.6 kernel to provide a much-needed open-source Radeon driver performance boost. The only problem now? With the Radeon HD 7000 series hardware we're now up to PCI Express 3.0... There's no support there yet on the open-source side (Catalyst on Linux does properly handle PCI-E 2.0/3.0), besides the Gallium3D driver there still not being in a fully-functional state.

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. Mir's GPLv3 License Is Now Raising Concerns
  2. NVIDIA Driver Soon Likely To Support EGL, Mir
  3. OpenMandriva Goes Into Alpha Form, Russian-Based
  4. NVIDIA Brings Their Linux Driver To ARM
  5. D Language Still Showing Promise, Advancements
  6. Planetary Annihilation Released For Linux Gamers
  7. Gentoo Starts Work On KDE-Wayland Support
  8. NVIDIA To License Its Kepler GPU Technology
  9. KDE's KWin Made Lots Of Progress In 4.11
  10. Ubuntu Announces Carrier Advisory Group
  11. Qt 5.1 Release Candidate 1 Has Arrived
Latest Forum Talk
  1. Gentoo Starts Work On KDE-Wayland Support
  2. Mir's GPLv3 License Is Now Raising Concerns
  3. D Language Still Showing Promise, Advancements
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. Intel GPU Driver Tries To Rip Out FBDEV Support
  6. Five Years Later, Intel Poulsbo Is Still A 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