Searched refs:SI_CPDMA_ALIGNMENT (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_cp_dma.c | 50 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()
|
D | si_state_draw.cpp | 417 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()
|
D | si_pipe.h | 63 #define SI_CPDMA_ALIGNMENT 32 macro
|
D | si_shader.c | 927 PIPE_USAGE_IMMUTABLE, align(binary.rx_size, SI_CPDMA_ALIGNMENT), 256); in si_shader_binary_upload()
|
D | si_state.c | 4894 v->vb_desc_list_alloc_size = align(alloc_count * 16, SI_CPDMA_ALIGNMENT); in si_create_vertex_elements()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | si_cmd_buffer.c | 1514 #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 …]
|