Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c50 return max & ~(SI_CPDMA_ALIGNMENT - 1); in cp_dma_max_byte_count()
253 unsigned scratch_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine()
255 assert(size < SI_CPDMA_ALIGNMENT); in si_cp_dma_realign_engine()
276 si_emit_cp_dma(sctx, &sctx->gfx_cs, va, va + SI_CPDMA_ALIGNMENT, size, dma_flags, cache_policy); in si_cp_dma_realign_engine()
318 if (size % SI_CPDMA_ALIGNMENT) in si_cp_dma_copy_buffer()
319 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer()
327 if (src && src_offset % SI_CPDMA_ALIGNMENT) { in si_cp_dma_copy_buffer()
328 skipped_size = SI_CPDMA_ALIGNMENT - (src_offset % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer()
Dsi_state_draw.cpp417 size = MIN2(size, 32768 - SI_CPDMA_ALIGNMENT); in si_cp_dma_prefetch_inline()
425 assert(size % SI_CPDMA_ALIGNMENT == 0); in si_cp_dma_prefetch_inline()
426 assert(address % SI_CPDMA_ALIGNMENT == 0); in si_cp_dma_prefetch_inline()
Dsi_pipe.h63 #define SI_CPDMA_ALIGNMENT 32 macro
Dsi_shader.c927 PIPE_USAGE_IMMUTABLE, align(binary.rx_size, SI_CPDMA_ALIGNMENT), 256); in si_shader_binary_upload()
Dsi_state.c4894 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.c1514 #define SI_CPDMA_ALIGNMENT 32 macro
1524 return max & ~(SI_CPDMA_ALIGNMENT - 1); in cp_dma_max_byte_count()
1628 size = MIN2(size, 32768 - SI_CPDMA_ALIGNMENT); in si_cs_cp_dma_prefetch()
1634 uint64_t aligned_va = va & ~(SI_CPDMA_ALIGNMENT - 1); in si_cs_cp_dma_prefetch()
1636 ((va + size + SI_CPDMA_ALIGNMENT - 1) & ~(SI_CPDMA_ALIGNMENT - 1)) - aligned_va; in si_cs_cp_dma_prefetch()
1695 unsigned buf_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine()
1698 assert(size < SI_CPDMA_ALIGNMENT); in si_cp_dma_realign_engine()
1707 si_emit_cp_dma(cmd_buffer, va, va + SI_CPDMA_ALIGNMENT, size, dma_flags); in si_cp_dma_realign_engine()
1727 if (size % SI_CPDMA_ALIGNMENT) in si_cp_dma_buffer_copy()
1728 realign_size = SI_CPDMA_ALIGNMENT - (size % SI_CPDMA_ALIGNMENT); in si_cp_dma_buffer_copy()
[all …]