/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_bo.c | 357 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/ |
D | radeon_drm_bo.c | 208 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 …]
|
D | radeon_drm_winsys.c | 841 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/ |
D | r300_query.c | 62 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/ |
D | amdgpu_bo.c | 219 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()
|
D | amdgpu_cs.c | 315 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/ |
D | ac_gpu_info.h | 128 uint32_t gart_page_size; member
|
D | ac_gpu_info.c | 132 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/ |
D | amdgpu_drm.h | 1024 __u32 gart_page_size; member
|
/third_party/mesa3d/include/drm-uapi/ |
D | amdgpu_drm.h | 1032 __u32 gart_page_size; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 622 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/ |
D | amdgpu_bo.c | 503 info->size_remote = dev->dev_info.gart_page_size; in amdgpu_query_buffer_size_alignment()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_debug.c | 548 const unsigned page_size = sctx->screen->info.gart_page_size; in si_dump_bo_list()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 208 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()
|