Prep Work For Open-Source Radeon Compute, UVD

Posted by Michael Larabel on October 29, 2011

Here's some interesting work that provides support support for multiple rings to the open-source Radeon driver for supporting multiple compute rings, a-sync DMA engines, and UVD. Yes, for video decoding, but this is just prep work and there is still no UVD specifications or code.

Christian König, one of the recent AMD employees hired to work on the open-source driver stack who was hired in part due to AMD porting the open-source Linux driver to Windows, has introduced a multi-ring support branch of the Radeon DRM driver.

Christian writes to the developers, "to support multiple compute rings, async DMA engines and UVD we need to teach the radeon kernel module how to sync buffers between different rings and make some changes to the command submission ioctls."

The German open-source developer acknowledges, "we can't release any documentation about async DMA or UVD (yet)." Yet is the keyword. John Bridgman and others have long acknowledged they would be looking in ways to possibly provide open-source video support. With the WEC7 open-source driver, accelerated video decoding support becomes a bit more pressing. However, the concern has been with publishing specifications or code on the Unified Video Decoding engine could potentially compromise AMD's Digital Rights Management abilities for playback of protected content on Windows. So far though there haven't been any signs that open-source UVD support may be coming soon, besides this prep work today and word that futute Radeon GPUs might be more open-source friendly by boasting a more modular UVD engine where the Digital Rights Management concerns would be lessened. For now there is basic video support in Radeon Gallium3D using XvMC/VA-API/VDPAU by using GPU shaders and not the ATI/AMD video engine itself.

Back onto the news for today, this multi-ring support for now is focusing on getting additional compute rings for AMD Cayman (Radeon HD 6900 series) hardware running. There's hardware bugs that need to be worked around in this implementation and won't be of much production benefit right now to open-source users, but will hopefully become important in the future.

Christian is looking to get the multi-ring support into the drm-next branch as soon as possible. This work is very invasive and as a result will become hard to rebase against new patches. This would make the Radeon multi-ring support part of the Linux 3.3 kernel, but not necessarily of any end-user benefit at that time.

Find his mailing list message here.

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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. Handbrake 0.9.9 Supports OpenCL Offloading
  2. DNF Still Advancing As Experimental Yum For Fedora
  3. Jolla Announces Their First Phone
  4. Mageia 3 Released, Still Using Legacy GRUB
  5. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  6. Modern Intel Gallium3D Driver Still Being Toyed...
  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