r600g: only do necessary cache flushes in cp_dma_clear_buffer
authorMarek Olšák <marek.olsak@amd.com>
Thu, 26 May 2016 15:18:13 +0000 (17:18 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Jun 2016 13:42:33 +0000 (15:42 +0200)
commit9e62012c30812091e5400d449869f5022ac945ca
tree89760879a7b994bfd0e6d67b49de58de9e45fe03
parentc92a3ae7e99e5271ae0671da1bd5b74fc6c41d2b
r600g: only do necessary cache flushes in cp_dma_clear_buffer

The main impact is that fast color clear doesn't flush TC, CONST, DB.

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/evergreen_hw_context.c
src/gallium/drivers/r600/r600_pipe.h