Home
last modified time | relevance | path

Searched refs:gart_page_size (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c357 p_atomic_add(&ws->allocated_vram, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy()
359 p_atomic_add(&ws->allocated_vram_vis, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy()
364 p_atomic_add(&ws->allocated_gtt, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy()
534 p_atomic_add(&ws->allocated_vram, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create()
536 p_atomic_add(&ws->allocated_vram_vis, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create()
541 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create()
632 vm_alignment = radv_amdgpu_get_optimal_vm_alignment(ws, size, ws->info.gart_page_size); in radv_amdgpu_winsys_bo_from_ptr()
657 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_ptr()
747 p_atomic_add(&ws->allocated_vram, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_fd()
749 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_fd()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c208 size = align(size, info->gart_page_size); in radeon_bomgr_find_va()
289 size = align(size, info->gart_page_size); in radeon_bomgr_free_va()
404 rws->allocated_vram -= align(bo->base.size, rws->info.gart_page_size); in radeon_bo_destroy()
406 rws->allocated_gtt -= align(bo->base.size, rws->info.gart_page_size); in radeon_bo_destroy()
731 rws->allocated_vram += align(size, rws->info.gart_page_size); in radeon_create_bo()
733 rws->allocated_gtt += align(size, rws->info.gart_page_size); in radeon_create_bo()
1050 size = align(size, ws->info.gart_page_size); in radeon_winsys_bo_create()
1051 alignment = align(alignment, ws->info.gart_page_size); in radeon_winsys_bo_create()
1103 args.size = align(size, ws->info.gart_page_size); in radeon_winsys_bo_from_ptr()
1174 ws->allocated_gtt += align(bo->base.size, ws->info.gart_page_size); in radeon_winsys_bo_from_ptr()
[all …]
Dradeon_drm_winsys.c841 ws->info.min_alloc_size = ws->info.gart_page_size; in radeon_drm_winsys_create()
895 ws->info.gart_page_size = sysconf(_SC_PAGESIZE); in radeon_drm_winsys_create()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_query.c62 r300screen->info.gart_page_size, in r300_create_query()
63 r300screen->info.gart_page_size, in r300_create_query()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c219 ws->allocated_vram -= align64(bo->base.size, ws->info.gart_page_size); in amdgpu_bo_destroy()
221 ws->allocated_gtt -= align64(bo->base.size, ws->info.gart_page_size); in amdgpu_bo_destroy()
606 ws->allocated_vram += align64(size, ws->info.gart_page_size); in amdgpu_create_bo()
608 ws->allocated_gtt += align64(size, ws->info.gart_page_size); in amdgpu_create_bo()
1414 size = align64(size, ws->info.gart_page_size); in amdgpu_bo_create()
1415 alignment = align(alignment, ws->info.gart_page_size); in amdgpu_bo_create()
1565 ws->allocated_vram += align64(bo->base.size, ws->info.gart_page_size); in amdgpu_bo_from_handle()
1567 ws->allocated_gtt += align64(bo->base.size, ws->info.gart_page_size); in amdgpu_bo_from_handle()
1673 uint64_t aligned_size = align64(size, ws->info.gart_page_size); in amdgpu_bo_from_ptr()
1686 ws->info.gart_page_size), in amdgpu_bo_from_ptr()
Damdgpu_cs.c315 alloc_buffer.alloc_size = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
316 alloc_buffer.phys_alignment = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
751 ws->info.gart_page_size, in amdgpu_ib_new_buffer()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.h128 uint32_t gart_page_size; member
Dac_gpu_info.c132 uint32_t gart_page_size; member
1201 info->gart_page_size = alignment_info.size_remote; in ac_query_gpu_info()
1488 fprintf(f, " gart_page_size = %u\n", info->gart_page_size); in ac_print_gpu_info()
/third_party/libdrm/include/drm/
Damdgpu_drm.h1024 __u32 gart_page_size; member
/third_party/mesa3d/include/drm-uapi/
Damdgpu_drm.h1032 __u32 gart_page_size; member
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c622 u_suballocator_init(&rctx->allocator_zeroed_memory, &rctx->b, rscreen->info.gart_page_size, in r600_common_context_init()
1288 printf("gart_page_size = %u\n", rscreen->info.gart_page_size); in r600_common_screen_init()
/third_party/libdrm/amdgpu/
Damdgpu_bo.c503 info->size_remote = dev->dev_info.gart_page_size; in amdgpu_query_buffer_size_alignment()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c548 const unsigned page_size = sctx->screen->info.gart_page_size; in si_dump_bo_list()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c208 visible_vram_size = align64((total_size * 2) / 3, device->rad_info.gart_page_size); in radv_physical_device_init_mem_types()
2735 device->rad_info.gart_page_size); in radv_get_memory_budget_properties()