radeonsi: Use dma_copy when possible for si_blit.
authorAxel Davy <axel.davy@ens.fr>
Wed, 28 May 2014 00:04:08 +0000 (20:04 -0400)
committerDave Airlie <airlied@gmail.com>
Tue, 1 Jul 2014 03:10:01 +0000 (13:10 +1000)
commit5d5c20920e0e570742a497aa047e99a2fa3c04f2
treeed3828b9cf037db8c8facba0d3c46a1016256709
parent9320c8fea947fd0f6eb723c67f0bdb947e45c4c3
radeonsi: Use dma_copy when possible for si_blit.

This improves GLX DRI3 GPU offloading significantly on CPU
bound benchmarks particularly.
No performance impact for DRI2 GPU offloading.

v2: Add missing tests

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Marek Olšák<marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/radeonsi/si_blit.c