1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

R600 Gallium3D Now Does Buffer Copies With CP DMA

AMD

Published on 09 January 2013 03:00 AM EST
Written by Michael Larabel in AMD
13 Comments

Marek Olšák has implemented support for buffer copying using the CP DMA engine on Radeon HD 4000 "R700" GPUs and newer.

Implemented for the Linux 3.8 kernel was a-sync DMA engine support within the Radeon DRM driver. This big AMD code drop is capable of delivering performance improvements. It's described as, "The async DMA can do copy/moves independent of the shader engine. So while the shader part of the GPU is busy with the rendering we can still upload new data with the DMA at the same time. Additional to that it is quite a bit more efficient than the shader engine when you just want to copy some data from A to B."

With the command submission checker in place and other improvements to the Radeon a-sync DMA code, Mesa is now taking advantage of the support. In the Tuesday code commit by Marek, the CP DMA engine is now used on R700, Evergreen, and Cayman GPUs. This is the Radeon HD 4000/5000/6000 series GPUs. The support isn't implemented for the Radeon HD 2000/3000 (R600) GPUs since there appears to be flushing issues with the destination buffer containing garbage.

This commit touches just over 100 lines of code.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Radeon Linux Benchmarks: Catalyst 15.3 Beta vs. Linux 4.0 + Mesa 10.6-devel
  2. Trying Out The Modern Linux Desktops With 4 Monitors + AMD/NVIDIA Graphics
  3. Turning A Basement Into A Big Linux Server Room
  4. NVIDIA's $1000+ GeForce GTX TITAN X Delivers Maximum Linux Performance
  5. OS X 10.10 vs. Ubuntu 15.04 vs. Fedora 21 Tests: Linux Sweeps The Board
  6. The New Place Where Linux Code Is Constantly Being Benchmarked
Latest Linux News
  1. Go Language Improvements Coming For Ubuntu 15.04
  2. The Big SuperTuxKart Update Is Almost Ready
  3. Blender 2.74 Brings Many Improvements
  4. Qt Creator 3.4 Is Near
  5. Allwinner: "We Are Taking Initiative Actions Internally"
  6. It's Been Five Years Since The Phoronix Visit To Chernobyl
  7. Vulkan, The New Linux Server Room & BioShock Won Linux Users In March
  8. Debian 8.0 Jessie Gets A Release Date
  9. Firefox 37 Coming Today With Heartbeat, HTTPS Bing
  10. OpenIndiana 2015.03 Updates Its Solaris/Illumos Environment
Most Viewed News This Week
  1. The Big Features Of The Linux 4.0 Kernel
  2. Improved OpenCL Support For Blender's Cycles Renderer
  3. Open-Source Driver Fans Will Love NVIDIA's New OpenGL Demo
  4. Allwinner Continues Jerking Around The Open-Source Community
  5. GNOME 3.16 Released: It's Their Best Release Yet
  6. Ubuntu 15.04 Final Beta Released
  7. Nuclide: Facebook's New Unified IDE
  8. LibreOffice Online: A Cloud Version Of LibreOffice