Searched refs:SI_CPDMA_ALIGNMENT (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_cp_dma.c | 53 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()
|
D | si_pipe.h | 49 #define SI_CPDMA_ALIGNMENT 32 macro
|
D | si_state.c | 4214 v->desc_list_byte_size = align(count * 16, SI_CPDMA_ALIGNMENT); in si_create_vertex_elements()
|
D | si_shader.c | 5289 align(bo_size, SI_CPDMA_ALIGNMENT), in si_shader_binary_upload()
|
/external/mesa3d/src/amd/vulkan/ |
D | si_cmd_buffer.c | 1173 #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 …]
|