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. 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. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  2. Mageia 3 Released, Still Using Legacy GRUB
  3. OpenSUSE Considers Replacing LXDE With E17
  4. Using Six Monitors With AMD's Open-Source Linux...
  5. Sumo Lounge Emperor
  6. BHyVe: A New Hypervisor Coming To FreeBSD 10.0
  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