Home
last modified time | relevance | path

Searched refs:SI_CPDMA_ALIGNMENT (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c53 return max & ~(SI_CPDMA_ALIGNMENT - 1); in cp_dma_max_byte_count()
364 unsigned scratch_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine()
366 assert(size < SI_CPDMA_ALIGNMENT); in si_cp_dma_realign_engine()
390 si_emit_cp_dma(sctx, va, va + SI_CPDMA_ALIGNMENT, size, dma_flags, in si_cp_dma_realign_engine()
432 if (size % SI_CPDMA_ALIGNMENT) in si_copy_buffer()
433 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_copy_buffer()
439 if (src_offset % SI_CPDMA_ALIGNMENT) { in si_copy_buffer()
440 skipped_size = SI_CPDMA_ALIGNMENT - (src_offset % SI_CPDMA_ALIGNMENT); in si_copy_buffer()
Dsi_pipe.h49 #define SI_CPDMA_ALIGNMENT 32 macro
Dsi_state.c4214 v->desc_list_byte_size = align(count * 16, SI_CPDMA_ALIGNMENT); in si_create_vertex_elements()
Dsi_shader.c5289 align(bo_size, SI_CPDMA_ALIGNMENT), in si_shader_binary_upload()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1173 #define SI_CPDMA_ALIGNMENT 32 macro
1183 return max & ~(SI_CPDMA_ALIGNMENT - 1); in cp_dma_max_byte_count()
1268 uint64_t aligned_va = va & ~(SI_CPDMA_ALIGNMENT - 1); in si_cp_dma_prefetch()
1269 …uint64_t aligned_size = ((va + size + SI_CPDMA_ALIGNMENT -1) & ~(SI_CPDMA_ALIGNMENT - 1)) - aligne… in si_cp_dma_prefetch()
1299 unsigned buf_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine()
1302 assert(size < SI_CPDMA_ALIGNMENT); in si_cp_dma_realign_engine()
1304 radv_cmd_buffer_upload_alloc(cmd_buffer, buf_size, SI_CPDMA_ALIGNMENT, &offset, &ptr); in si_cp_dma_realign_engine()
1311 si_emit_cp_dma(cmd_buffer, va, va + SI_CPDMA_ALIGNMENT, size, in si_cp_dma_realign_engine()
1329 if (size % SI_CPDMA_ALIGNMENT) in si_cp_dma_buffer_copy()
1330 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_cp_dma_buffer_copy()
[all …]