r600g: only do necessary cache flushes in cp_dma_copy_buffer
authorMarek Olšák <marek.olsak@amd.com>
Thu, 26 May 2016 15:25:46 +0000 (17:25 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Jun 2016 13:42:33 +0000 (15:42 +0200)
commiteff94af79437d9434deb9bae553b6db5cc05a832
treec5ce26cd7cae22b87fe200af44d9fd0b67e738c6
parent9e62012c30812091e5400d449869f5022ac945ca
r600g: only do necessary cache flushes in cp_dma_copy_buffer

The main impact is that {upload, draw, upload, draw, ..} doesn't flush
framebuffer caches before every upload.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/r600/r600_hw_context.c