Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c297 unsigned realign_size = 0; in si_cp_dma_copy_buffer() local
324 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer()
365 si_cp_dma_prepare(sctx, dst, src, byte_count, size + skipped_size + realign_size, user_flags, in si_cp_dma_copy_buffer()
380 si_cp_dma_prepare(sctx, dst, src, skipped_size, skipped_size + realign_size, user_flags, in si_cp_dma_copy_buffer()
388 if (realign_size) { in si_cp_dma_copy_buffer()
389 si_cp_dma_realign_engine(sctx, realign_size, user_flags, coher, cache_policy, &is_first); in si_cp_dma_copy_buffer()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1714 uint64_t skipped_size = 0, realign_size = 0; in si_cp_dma_buffer_copy() local
1726 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_cp_dma_buffer_copy()
1755 size + skipped_size + realign_size, in si_cp_dma_buffer_copy()
1772 size + skipped_size + realign_size, in si_cp_dma_buffer_copy()
1778 if (realign_size) in si_cp_dma_buffer_copy()
1779 si_cp_dma_realign_engine(cmd_buffer, realign_size); in si_cp_dma_buffer_copy()