/external/trusty/lk/kernel/vm/ |
D | pmm.c | 350 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/ |
D | pb_bufmgr_cache.c | 237 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()
|
D | pb_bufmgr_debug.c | 402 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()
|
D | pb_buffer.h | 124 uint8_t alignment_log2; member
|
D | pb_bufmgr_slab.c | 342 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()
|
D | pb_bufmgr_mm.c | 196 mm_buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in mm_bufmgr_create_buffer()
|
D | pb_cache.c | 161 if (!pb_check_alignment(alignment, 1u << buf->alignment_log2)) in pb_cache_is_buffer_compat()
|
D | pb_buffer_fenced.c | 911 fenced_buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_video.c | 166 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/ |
D | ac_surface.h | 233 uint8_t alignment_log2; member 374 uint8_t alignment_log2; member
|
D | ac_surface.c | 3077 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/ |
D | vk_rmv_tokens.h | 162 uint32_t alignment_log2; member
|
D | vk_rmv_exporter.c | 1239 rmt_file_write_bits(data, description->alignment_log2, 125, 129); in rmt_dump_image_resource()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 696 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/ |
D | vmw_buffer.c | 206 buf->base.base.alignment_log2 = util_logbase2(pb_desc->alignment); in vmw_dma_bufmgr_create_buffer()
|
D | pb_buffer_simple_fenced.c | 714 fenced_buf->base.base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 644 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/ |
D | zink_bo.c | 324 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/ |
D | d3d12_bufmgr.cpp | 336 buf->base.base.alignment_log2 = static_cast<uint8_t>(util_logbase2(pb_desc->alignment)); in d3d12_bufmgr_create_buffer()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_image.c | 836 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()
|
D | radv_rmv.c | 582 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/ |
D | 23.0.2.rst | 188 - radeonsi: don't use alignment_log2 of imported buffers
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_rmv.cc | 310 .alignment_log2 = util_logbase2(4096), in tu_rmv_log_image_create()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_buffer.c | 698 1 << imported_buf->alignment_log2); in si_buffer_from_winsys_buffer()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_rmv.c | 461 .alignment_log2 = util_logbase2( in anv_rmv_log_image_create()
|