Open-Source AMD Cayman GPU KMS Support

Posted by Michael Larabel on March 02, 2011

Nearly two months ago AMD released Radeon HD 6000 series open-source support -- complete with kernel mode-setting and Mesa/Gallium3D OpenGL driver acceleration support -- but this support had only covered the "Northern Islands" ASICs and not the newest Radeon HD 6900 "Cayman" graphics processors. Cayman's design is much different from the Northern Islands and previous-generation Evergreen GPUs, but the open-source support for these highest-end AMD graphics processors is beginning to emerge.

This afternoon AMD's Alex Deucher has pushed a set of 15 patches to the DRI development mailing list that provide Cayman DRM/KMS support. In addition, he has committed patches to the xf86-video-ati DDX that allow for this kernel mode-setting support by the X.Org driver. Unfortunately, the support for using any 2D/3D/video acceleration is not yet in place.

With the Radeon HD 6000 series support, the mode-setting support is also provided by KMS-only and AMD is no longer focusing upon bringing up new ASICs with UMS (user-space mode-setting). Frankly though we don't mind the lack of UMS as KMS is the future of mode-setting for Linux and the ATI/AMD support these days is mature and well featured with support like page-flipping in the latest kernels. All major Linux distributions are shipping their new releases with ATI/AMD and Intel kernel mode-setting (and even Nouveau now too for NVIDIA hardware) with the only exceptions being where Solaris and the BSDs continue to struggle with DRM/KMS support.

Shown in this Git commit are 14 PCI IDs for Cayman GPUs found in unreleased and released AMD Radeon HD 6900 series graphics cards.

The Radeon DRM patches beginning in this mailing list thread introduce the Cayman chip family, make microcode loader changes, GPU initialization, support for Cayman GART setup, command processor (CP) changes, Cayman IRQ support, ASIC reset support, suspend/resume functions, command submission (CS) checking support, and combined Cayman/Evergreen CS checker updates.

These Radeon DRM changes will be merged into the Linux 2.6.39 kernel. We just need to hope all of the additional DRM changes needed for Cayman hardware acceleration support are also merged in time and that the Gallium3D driver support isn't too far behind.

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. NVIDIA Brings Their Linux Driver To ARM
  2. D Language Still Showing Promise, Advancements
  3. Planetary Annihilation Released For Linux Gamers
  4. Gentoo Starts Work On KDE-Wayland Support
  5. NVIDIA To License Its Kepler GPU Technology
  6. KDE's KWin Made Lots Of Progress In 4.11
  7. Ubuntu Announces Carrier Advisory Group
  8. Qt 5.1 Release Candidate 1 Has Arrived
  9. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  10. Subversion 1.8 Presents New Features
  11. LLVM 3.3 Officially Released
Latest Forum Talk
  1. NVIDIA To License Its Kepler GPU Technology
  2. Intel GPU Driver Tries To Rip Out FBDEV Support
  3. Planetary Annihilation Released For Linux Gamers
  4. D Language Still Showing Promise, Advancements
  5. NVIDIA Brings Their Linux Driver To ARM
  6. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  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