Home
last modified time | relevance | path

Searched refs:realign_size (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c287 unsigned realign_size = 0; in si_cp_dma_copy_buffer() local
314 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); 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()
372 si_cp_dma_prepare(sctx, dst, src, skipped_size, skipped_size + realign_size, user_flags, in si_cp_dma_copy_buffer()
380 if (realign_size) { in si_cp_dma_copy_buffer()
381 si_cp_dma_realign_engine(sctx, realign_size, user_flags, coher, cache_policy, &is_first); in si_cp_dma_copy_buffer()
/third_party/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1572 uint64_t skipped_size = 0, realign_size = 0; in si_cp_dma_buffer_copy() local
1584 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); 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()
1633 si_cp_dma_prepare(cmd_buffer, skipped_size, size + skipped_size + realign_size, &dma_flags); in si_cp_dma_buffer_copy()
1637 if (realign_size) in si_cp_dma_buffer_copy()
1638 si_cp_dma_realign_engine(cmd_buffer, realign_size); in si_cp_dma_buffer_copy()