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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. A New X.Org-Free Wayland LiveCD Released
  2. X.Org Libraries Hit By Round Of Security Issues
  3. Wayland's Weston Gets Output Scaling Support
  4. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  5. Linux's "Ondemand" Governor Is No...
  6. Jolla Announces Their First Phone
  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