Searched refs:skipped_size (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_cp_dma.c | 286 unsigned skipped_size = 0; in si_cp_dma_copy_buffer() local 323 skipped_size = SI_CPDMA_ALIGNMENT - (src_offset % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer() 325 skipped_size = MIN2(skipped_size, size); in si_cp_dma_copy_buffer() 326 size -= skipped_size; in si_cp_dma_copy_buffer() 350 main_dst_offset = dst_offset + skipped_size; in si_cp_dma_copy_buffer() 351 main_src_offset = src_offset + skipped_size; in si_cp_dma_copy_buffer() 357 si_cp_dma_prepare(sctx, dst, src, byte_count, size + skipped_size + realign_size, user_flags, in si_cp_dma_copy_buffer() 369 if (skipped_size) { in si_cp_dma_copy_buffer() 372 si_cp_dma_prepare(sctx, dst, src, skipped_size, skipped_size + realign_size, user_flags, in si_cp_dma_copy_buffer() 375 si_emit_cp_dma(sctx, &sctx->gfx_cs, dst_offset, src_offset, skipped_size, dma_flags, in si_cp_dma_copy_buffer()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | si_cmd_buffer.c | 1572 uint64_t skipped_size = 0, realign_size = 0; in si_cp_dma_buffer_copy() local 1591 skipped_size = SI_CPDMA_ALIGNMENT - (src_va % SI_CPDMA_ALIGNMENT); in si_cp_dma_buffer_copy() 1593 skipped_size = MIN2(skipped_size, size); in si_cp_dma_buffer_copy() 1594 size -= skipped_size; in si_cp_dma_buffer_copy() 1597 main_src_va = src_va + skipped_size; in si_cp_dma_buffer_copy() 1598 main_dest_va = dest_va + skipped_size; in si_cp_dma_buffer_copy() 1619 si_cp_dma_prepare(cmd_buffer, byte_count, size + skipped_size + realign_size, &dma_flags); in si_cp_dma_buffer_copy() 1630 if (skipped_size) { in si_cp_dma_buffer_copy() 1633 si_cp_dma_prepare(cmd_buffer, skipped_size, size + skipped_size + realign_size, &dma_flags); in si_cp_dma_buffer_copy() 1635 si_emit_cp_dma(cmd_buffer, dest_va, src_va, skipped_size, dma_flags); in si_cp_dma_buffer_copy()
|