Revert "radv: Emit cache flushes before CP DMA."
This reverts commit cce43f6d8c
.
Redundant, as the flush already happens at si_cp_dma_prepare.
Acked-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -998,7 +998,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) {
|
||||
@@ -1062,8 +1061,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;
|
||||
|
Reference in New Issue
Block a user