r600g: fix CP DMA hazard with index buffer fetches (v3)
authorMarek Olšák <marek.olsak@amd.com>
Thu, 26 May 2016 20:00:03 +0000 (22:00 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Jun 2016 13:42:33 +0000 (15:42 +0200)
commit5ea5ed60500a8612166853975b42abd40a459216
tree5b9bc8656166ed7b359b3ceca87c54591a3bdb6e
parentade16e1f5d046f6407c4f0046efb8363520adcf0
r600g: fix CP DMA hazard with index buffer fetches (v3)

v3: use PFP_SYNC_ME on EG-CM only when supported by the kernel,
    otherwise use MEM_WRITE + WAIT_REG_MEM to emulate that

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/evergreend.h
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600d.h
src/gallium/drivers/radeonsi/sid.h