Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c309 unsigned skipped_size = 0; in si_copy_buffer() local
344 skipped_size = CP_DMA_ALIGNMENT - (src_offset % CP_DMA_ALIGNMENT); in si_copy_buffer()
346 skipped_size = MIN2(skipped_size, size); in si_copy_buffer()
347 size -= skipped_size; in si_copy_buffer()
357 main_dst_offset = dst_offset + skipped_size; in si_copy_buffer()
358 main_src_offset = src_offset + skipped_size; in si_copy_buffer()
365 size + skipped_size + realign_size, in si_copy_buffer()
377 if (skipped_size) { in si_copy_buffer()
380 si_cp_dma_prepare(sctx, dst, src, skipped_size, in si_copy_buffer()
381 skipped_size + realign_size, user_flags, in si_copy_buffer()
[all …]
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c882 uint64_t skipped_size = 0, realign_size = 0; in si_cp_dma_buffer_copy() local
899 skipped_size = CP_DMA_ALIGNMENT - (src_va % CP_DMA_ALIGNMENT); in si_cp_dma_buffer_copy()
901 skipped_size = MIN2(skipped_size, size); in si_cp_dma_buffer_copy()
902 size -= skipped_size; in si_cp_dma_buffer_copy()
905 main_src_va = src_va + skipped_size; in si_cp_dma_buffer_copy()
906 main_dest_va = dest_va + skipped_size; in si_cp_dma_buffer_copy()
913 size + skipped_size + realign_size, in si_cp_dma_buffer_copy()
924 if (skipped_size) { in si_cp_dma_buffer_copy()
927 si_cp_dma_prepare(cmd_buffer, skipped_size, in si_cp_dma_buffer_copy()
928 size + skipped_size + realign_size, in si_cp_dma_buffer_copy()
[all …]