radv/gfx10: use L2 for DMA copy/fill operations
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 Jul 2019 13:38:51 +0000 (15:38 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 Jul 2019 13:48:21 +0000 (15:48 +0200)
commit6a504ab4733a97f2f1d5790c36ab380c962af5b3
tree474b0ffc6984f3951d3ceb7cf5bf34d3dbcf32d9
parent9ce75826cb00a252c6012d74046fa15bf0998080
radv/gfx10: use L2 for DMA copy/fill operations

It's coherent and faster. GFX7-GFX9 should also support this but
for now only uses L2 for GFX10 because it's untested on previous gens.

This fixes dEQP-VK.memory.pipeline_barrier.transfer_*

This also fixes some missing geometry in Dawn Of War III because
VBOs weren't updated correctly.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/si_cmd_buffer.c