radeonsi: Implement DMA blit
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>
Mon, 17 Mar 2014 17:48:06 +0000 (18:48 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 20 Mar 2014 16:21:16 +0000 (17:21 +0100)
commit71254732db12c8813c002425b5c1b7c31bf56f65
tree2076bcc0e7d873f39094af0710dfafbd023208a0
parentacf55e73252e46fa51378ef4b23c94a89902ae1c
radeonsi: Implement DMA blit

This code is a slightly modified version of evergreen_dma_blit (and
evergreen_dma_copy as well as evergreen_dma_copy_tile).
It would be nice to share some of the code in the long term.

I have reused some "cik"-prefixed functions that also return the right
value for SI. I am not sure if they should be renamed.

v2: Marek> removed gfx.flush in si_dma_copy_tile

Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/Makefile.sources
src/gallium/drivers/radeonsi/si_dma.c [new file with mode: 0644]
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/sid.h