diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-03-15 18:49:29 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-17 17:10:23 +0000 |
commit | 07adc57fe07b3478566dbadab9b9595af3b46944 (patch) | |
tree | 4f5f66dba80f13ee579087c273b9b160444c2160 /src/amd | |
parent | 13afc45f8fe61467e4e97fd3164308562c7c721f (diff) |
Revert "radv: Emit cache flushes before CP DMA."
This reverts commit cce43f6d8c40222099badaf52344d6a0eed993f3.
Redundant, as the flush already happens at si_cp_dma_prepare.
Acked-by: Dave Airlie <[email protected]>
(cherry picked from commit ad4dee521d7968a88393dc3685e7c593d27efba5)
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/si_cmd_buffer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c index 430ef13fcd5..5abb12103a5 100644 --- a/src/amd/vulkan/si_cmd_buffer.c +++ b/src/amd/vulkan/si_cmd_buffer.c @@ -881,7 +881,6 @@ void si_cp_dma_buffer_copy(struct radv_cmd_buffer *cmd_buffer, uint64_t main_src_va, main_dest_va; uint64_t skipped_size = 0, realign_size = 0; - si_emit_cache_flush(cmd_buffer); if (cmd_buffer->device->physical_device->rad_info.family <= CHIP_CARRIZO || cmd_buffer->device->physical_device->rad_info.family == CHIP_STONEY) { @@ -945,8 +944,6 @@ void si_cp_dma_clear_buffer(struct radv_cmd_buffer *cmd_buffer, uint64_t va, assert(va % 4 == 0 && size % 4 == 0); - si_emit_cache_flush(cmd_buffer); - while (size) { unsigned byte_count = MIN2(size, CP_DMA_MAX_BYTE_COUNT); unsigned dma_flags = 0; |