/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_bo.c | 381 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/ |
D | radeon_drm_bo.c | 212 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 …]
|
D | radeon_drm_winsys.c | 874 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/ |
D | r300_query.c | 63 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/ |
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() 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()
|
D | amdgpu_cs.c | 301 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/ |
D | ac_gpu_info.h | 96 uint32_t gart_page_size; member
|
D | ac_gpu_info.c | 973 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/ |
D | amdgpu_drm.h | 960 __u32 gart_page_size; member
|
/third_party/mesa3d/include/drm-uapi/ |
D | amdgpu_drm.h | 1010 __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() 1280 printf("gart_page_size = %u\n", rscreen->info.gart_page_size); in r600_common_screen_init()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_bo.c | 511 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 | 561 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 | 199 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()
|