AMD Evergreen Compute Support Lands Mainline

Posted by Michael Larabel on June 01, 2012

There were more OpenCL/compute-related commits to Mesa Git master on Friday afternoon. The main item is that the Radeon HD 5000 series has its compute support hooked-up.

The most exciting is the ~3,000 line commit that actually hooks in the compute support for Evergreen (Radeon HD 5000 series) hardware to the R600g Gallium3D driver. It also relies upon the recent R600g LLVM back-end. Towards the middle of May I outlined the OpenCL support was finally coming close.

This main commit today can be found here. This will make the R600g compute support part of Mesa 8.1. The Clover OpenCL state tracker, generic compute infrastructure, and other code was already merged to master. This R600g Evergreen compute code was originally crafted last year but only now is ready for mainline Mesa.

Now we just need the working compute support for Radeon HD 6000 series in mainline along with Nouveau, and then finally for the Radeon HD 7000 series driver to take shape for OpenGL and OpenCL.

This work depends upon LLVM 3.1 and the --enable-r600-llvm and --enable-opencl Mesa compile-time arguments. Libclc is also needed as part of this enablement.

Some of the commits today as well improved the Radeon LLVM back-end that is currently living in Mesa until its mainline inclusion in the LLVM code-base.

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.
  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