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.c381 p_atomic_add(&ws->allocated_vram, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy()
383 p_atomic_add(&ws->allocated_vram_vis, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy()
388 p_atomic_add(&ws->allocated_gtt, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy()
553 p_atomic_add(&ws->allocated_vram, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create()
555 p_atomic_add(&ws->allocated_vram_vis, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create()
560 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create()
651 vm_alignment = radv_amdgpu_get_optimal_vm_alignment(ws, size, ws->info.gart_page_size); in radv_amdgpu_winsys_bo_from_ptr()
677 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_ptr()
769 p_atomic_add(&ws->allocated_vram, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_fd()
771 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.c212 size = align(size, info->gart_page_size); in radeon_bomgr_find_va()
293 size = align(size, info->gart_page_size); in radeon_bomgr_free_va()
408 rws->allocated_vram -= align(bo->base.size, rws->info.gart_page_size); in radeon_bo_destroy()
410 rws->allocated_gtt -= align(bo->base.size, rws->info.gart_page_size); in radeon_bo_destroy()
735 rws->allocated_vram += align(size, rws->info.gart_page_size); in radeon_create_bo()
737 rws->allocated_gtt += align(size, rws->info.gart_page_size); in radeon_create_bo()
1066 size = align(size, ws->info.gart_page_size); in radeon_winsys_bo_create()
1067 alignment = align(alignment, ws->info.gart_page_size); in radeon_winsys_bo_create()
1116 args.size = align(size, ws->info.gart_page_size); in radeon_winsys_bo_from_ptr()
1181 ws->allocated_gtt += align(bo->base.size, ws->info.gart_page_size); in radeon_winsys_bo_from_ptr()
[all …]
Dradeon_drm_winsys.c874 ws->info.min_alloc_size = ws->info.gart_page_size; in radeon_drm_winsys_create()
937 ws->info.gart_page_size = sysconf(_SC_PAGESIZE); in radeon_drm_winsys_create()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_query.c63 r300screen->info.gart_page_size, in r300_create_query()
64 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()
599 ws->allocated_vram += align64(size, ws->info.gart_page_size); in amdgpu_create_bo()
601 ws->allocated_gtt += align64(size, ws->info.gart_page_size); in amdgpu_create_bo()
1452 size = align64(size, ws->info.gart_page_size); in amdgpu_bo_create()
1453 alignment = align(alignment, ws->info.gart_page_size); in amdgpu_bo_create()
1595 ws->allocated_vram += align64(bo->base.size, ws->info.gart_page_size); in amdgpu_bo_from_handle()
1597 ws->allocated_gtt += align64(bo->base.size, ws->info.gart_page_size); in amdgpu_bo_from_handle()
1702 uint64_t aligned_size = align64(size, ws->info.gart_page_size); in amdgpu_bo_from_ptr()
1715 ws->info.gart_page_size), in amdgpu_bo_from_ptr()
Damdgpu_cs.c301 alloc_buffer.alloc_size = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
302 alloc_buffer.phys_alignment = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
744 ws->info.gart_page_size, in amdgpu_ib_new_buffer()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.h96 uint32_t gart_page_size; member
Dac_gpu_info.c973 info->gart_page_size = alignment_info.size_remote; in ac_query_gpu_info()
1178 fprintf(f, " gart_page_size = %u\n", info->gart_page_size); in ac_print_gpu_info()
/third_party/libdrm/include/drm/
Damdgpu_drm.h960 __u32 gart_page_size; member
/third_party/mesa3d/include/drm-uapi/
Damdgpu_drm.h1010 __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()
1280 printf("gart_page_size = %u\n", rscreen->info.gart_page_size); in r600_common_screen_init()
/third_party/libdrm/amdgpu/
Damdgpu_bo.c511 info->size_remote = dev->dev_info.gart_page_size; in amdgpu_query_buffer_size_alignment()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c561 const unsigned page_size = sctx->screen->info.gart_page_size; in si_dump_bo_list()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c199 visible_vram_size = align64((total_size * 2) / 3, device->rad_info.gart_page_size); in radv_physical_device_init_mem_types()
2451 device->rad_info.gart_page_size); in radv_get_memory_budget_properties()