r600g: only flush the caches that need to be flushed during CP DMA operations
authorMarek Olšák <maraeo@gmail.com>
Sun, 30 Jun 2013 17:57:59 +0000 (19:57 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 8 Jul 2013 18:25:18 +0000 (20:25 +0200)
commit7948ed1250cae78ae1b22dbce4ab23aceacc6159
treec704c3ec79ddc8e80e8db5c103521c24cfe189c5
parent1b40398d024d2ac5c8e8b78d0f4941e2a007de2c
r600g: only flush the caches that need to be flushed during CP DMA operations

This should increase performance if constant uploads are done with the CP DMA,
because only the cache that needs to be flushed is flushed.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_hw_context.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.h