Home
last modified time | relevance | path

Searched refs:alignment_log2 (Results 1 – 25 of 32) sorted by relevance

12

/external/trusty/lk/kernel/vm/
Dpmm.c350 uint8_t alignment_log2) { in pmm_arena_find_free_run() argument
351 if (alignment_log2 < PAGE_SIZE_SHIFT) in pmm_arena_find_free_run()
352 alignment_log2 = PAGE_SIZE_SHIFT; in pmm_arena_find_free_run()
359 paddr_t rounded_base = round_up(a->base, 1UL << alignment_log2); in pmm_arena_find_free_run()
382 1UL << (alignment_log2 - PAGE_SIZE_SHIFT)) + in pmm_arena_find_free_run()
804 size_t pmm_alloc_contiguous(uint count, uint8_t alignment_log2, paddr_t *pa, struct list_node *list) in pmm_alloc_contiguous() argument
808 LTRACEF("count %u, align %u\n", count, alignment_log2); in pmm_alloc_contiguous()
812 if (alignment_log2 < PAGE_SIZE_SHIFT) in pmm_alloc_contiguous()
813 alignment_log2 = PAGE_SIZE_SHIFT; in pmm_alloc_contiguous()
817 PMM_ALLOC_FLAG_CONTIGUOUS, alignment_log2); in pmm_alloc_contiguous()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_cache.c237 assert(pb_check_alignment(desc->alignment, 1u << buf->buffer->base.alignment_log2)); in pb_cache_manager_create_buffer()
241 buf->base.base.alignment_log2 = buf->buffer->base.alignment_log2; in pb_cache_manager_create_buffer()
Dpb_bufmgr_debug.c402 assert(pb_check_alignment(real_desc.alignment, 1u << buf->buffer->base.alignment_log2)); in pb_debug_manager_create_buffer()
407 buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in pb_debug_manager_create_buffer()
Dpb_buffer.h124 uint8_t alignment_log2; member
Dpb_bufmgr_slab.c342 buf->base.base.alignment_log2 = 0; in pb_slab_create()
419 buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in pb_slab_manager_create_buffer()
Dpb_bufmgr_mm.c196 mm_buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in mm_bufmgr_create_buffer()
Dpb_cache.c161 if (!pb_check_alignment(alignment, 1u << buf->alignment_log2)) in pb_cache_is_buffer_compat()
Dpb_buffer_fenced.c911 fenced_buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_video.c166 size = align(size, 1 << (*buffers[i])->alignment_log2); in rvid_join_surfaces()
168 alignment = MAX2(alignment, 1 << (*buffers[i])->alignment_log2); in rvid_join_surfaces()
/external/mesa3d/src/amd/common/
Dac_surface.h233 uint8_t alignment_log2; member
374 uint8_t alignment_log2; member
Dac_surface.c3077 hizs->alignment_log2 = out.baseAlign; in gfx12_compute_hiz_his_info()
3370 surf->alignment_log2 = surf->surf_alignment_log2; in ac_compute_surface()
3375 1ull << surf->u.gfx9.zs.hiz.alignment_log2); in ac_compute_surface()
3377 surf->u.gfx9.zs.hiz.alignment_log2); in ac_compute_surface()
3383 1ull << surf->u.gfx9.zs.his.alignment_log2); in ac_compute_surface()
3385 surf->u.gfx9.zs.his.alignment_log2); in ac_compute_surface()
3404 surf->alignment_log2 = surf->surf_alignment_log2; in ac_compute_surface()
3410 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->fmask_alignment_log2); in ac_compute_surface()
3417 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->cmask_alignment_log2); in ac_compute_surface()
3439 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->meta_alignment_log2); in ac_compute_surface()
[all …]
/external/mesa3d/src/vulkan/runtime/rmv/
Dvk_rmv_tokens.h162 uint32_t alignment_log2; member
Dvk_rmv_exporter.c1239 rmt_file_write_bits(data, description->alignment_log2, 125, 129); in rmt_dump_image_resource()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c696 bo->b.base.alignment_log2 = util_logbase2(alignment); in amdgpu_create_bo()
739 assert(bo->b.base.size < (1 << bo->b.base.alignment_log2) || in get_slab_wasted_size()
846 bo->b.base.alignment_log2 = util_logbase2(get_slab_entry_alignment(aws, entry_size)); in amdgpu_bo_slab_alloc()
1170 bo->b.base.alignment_log2 = util_logbase2(RADEON_SPARSE_PAGE_SIZE); in amdgpu_bo_sparse_create()
1508 assert(alignment <= 1 << slab_bo->b.base.alignment_log2); in amdgpu_bo_create()
1689 bo->b.base.alignment_log2 = util_logbase2(info.phys_alignment ? in amdgpu_bo_from_handle()
1860 bo->b.base.alignment_log2 = 0; in amdgpu_bo_from_ptr()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c206 buf->base.base.alignment_log2 = util_logbase2(pb_desc->alignment); in vmw_dma_bufmgr_create_buffer()
Dpb_buffer_simple_fenced.c714 fenced_buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c644 bo->base.alignment_log2 = util_logbase2(alignment); in radeon_create_bo()
775 bo->base.alignment_log2 = util_logbase2(entry_size); in radeon_bo_slab_alloc()
1101 bo->base.alignment_log2 = 0; in radeon_winsys_bo_from_ptr()
1233 bo->base.alignment_log2 = 0; in radeon_winsys_bo_from_handle()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c324 bo->base.base.alignment_log2 = util_logbase2(alignment); in bo_create_internal()
547 bo->base.base.alignment_log2 = util_logbase2(ZINK_SPARSE_BUFFER_PAGE_SIZE); in bo_sparse_create()
643 assert(alignment <= 1 << bo->base.base.alignment_log2); in zink_bo_create()
1300 bo->base.base.alignment_log2 = util_logbase2(get_slab_entry_alignment(screen, entry_size)); in bo_slab_alloc()
/external/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_bufmgr.cpp336 buf->base.base.alignment_log2 = static_cast<uint8_t>(util_logbase2(pb_desc->alignment)); in d3d12_bufmgr_create_buffer()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c836 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->cmask_alignment_log2); in radv_image_alloc_single_sample_cmask()
1213 … = image->disjoint ? 0 : align64(image->size, 1ull << image->planes[plane].surface.alignment_log2); in radv_image_create_layout()
1235 image->alignment = MAX2(image->alignment, 1 << image->planes[plane].surface.alignment_log2); in radv_image_create_layout()
Dradv_rmv.c582 token.image.alignment_log2 = util_logbase2(image->alignment); in radv_rmv_log_image_create()
586 token.image.image_alignment_log2 = image->planes[0].surface.alignment_log2; in radv_rmv_log_image_create()
/external/mesa3d/docs/relnotes/
D23.0.2.rst188 - radeonsi: don't use alignment_log2 of imported buffers
/external/mesa3d/src/freedreno/vulkan/
Dtu_rmv.cc310 .alignment_log2 = util_logbase2(4096), in tu_rmv_log_image_create()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c698 1 << imported_buf->alignment_log2); in si_buffer_from_winsys_buffer()
/external/mesa3d/src/intel/vulkan/
Danv_rmv.c461 .alignment_log2 = util_logbase2( in anv_rmv_log_image_create()

12