Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c49 return max & ~(SI_CPDMA_ALIGNMENT - 1); in cp_dma_max_byte_count()
249 unsigned scratch_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine()
251 assert(size < SI_CPDMA_ALIGNMENT); in si_cp_dma_realign_engine()
271 si_emit_cp_dma(sctx, &sctx->gfx_cs, va, va + SI_CPDMA_ALIGNMENT, size, dma_flags, cache_policy); in si_cp_dma_realign_engine()
313 if (size % SI_CPDMA_ALIGNMENT) in si_cp_dma_copy_buffer()
314 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer()
322 if (src && src_offset % SI_CPDMA_ALIGNMENT) { in si_cp_dma_copy_buffer()
323 skipped_size = SI_CPDMA_ALIGNMENT - (src_offset % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer()
405 assert(size % SI_CPDMA_ALIGNMENT == 0); in si_cp_dma_prefetch()
406 assert(address % SI_CPDMA_ALIGNMENT == 0); in si_cp_dma_prefetch()
Dsi_pipe.h62 #define SI_CPDMA_ALIGNMENT 32 macro
Dsi_shader.c863 PIPE_USAGE_IMMUTABLE, align(binary.rx_size, SI_CPDMA_ALIGNMENT), 256); in si_shader_binary_upload()
Dsi_state.c4704 v->vb_desc_list_alloc_size = align(alloc_count * 16, SI_CPDMA_ALIGNMENT); in si_create_vertex_elements()
/third_party/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1420 #define SI_CPDMA_ALIGNMENT 32 macro
1431 return max & ~(SI_CPDMA_ALIGNMENT - 1); in cp_dma_max_byte_count()
1519 uint64_t aligned_va = va & ~(SI_CPDMA_ALIGNMENT - 1); in si_cp_dma_prefetch()
1521 ((va + size + SI_CPDMA_ALIGNMENT - 1) & ~(SI_CPDMA_ALIGNMENT - 1)) - aligned_va; in si_cp_dma_prefetch()
1552 unsigned buf_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine()
1555 assert(size < SI_CPDMA_ALIGNMENT); in si_cp_dma_realign_engine()
1564 si_emit_cp_dma(cmd_buffer, va, va + SI_CPDMA_ALIGNMENT, size, dma_flags); in si_cp_dma_realign_engine()
1583 if (size % SI_CPDMA_ALIGNMENT) in si_cp_dma_buffer_copy()
1584 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_cp_dma_buffer_copy()
1590 if (src_va % SI_CPDMA_ALIGNMENT) { in si_cp_dma_buffer_copy()
[all …]