radeonsi: clean up CP DMA emit code
authorMarek Olšák <marek.olsak@amd.com>
Sun, 11 Sep 2016 15:57:31 +0000 (17:57 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 13 Sep 2016 18:38:25 +0000 (20:38 +0200)
commit6df872df591d9696829353dbb27f22a34c4743bd
tree7015deffef26e67cabdd93bfac99a364841d0319
parent84860dd0bb08b0f5100ab99dca2e1dfe7455a841
radeonsi: clean up CP DMA emit code

Unify the clear and copy paths, clean up the definitions.
It looks more like a rework. It's a preparation for GDS support,
which might or might not come.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_cp_dma.c