Home
last modified time | relevance | path

Searched refs:vma (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mesa3d/src/imagination/vulkan/winsys/
Dpvr_winsys_helper.c143 struct pvr_winsys_vma vma = { in pvr_winsys_helper_heap_alloc() local
158 vma.size = size; in pvr_winsys_helper_heap_alloc()
161 vma.dev_addr = in pvr_winsys_helper_heap_alloc()
165 if (!vma.dev_addr.addr) { in pvr_winsys_helper_heap_alloc()
172 *vma_out = vma; in pvr_winsys_helper_heap_alloc()
177 void pvr_winsys_helper_heap_free(struct pvr_winsys_vma *const vma) in pvr_winsys_helper_heap_free() argument
179 struct pvr_winsys_heap *const heap = vma->heap; in pvr_winsys_helper_heap_free()
182 assert(!vma->bo); in pvr_winsys_helper_heap_free()
185 util_vma_heap_free(&heap->vma_heap, vma->dev_addr.addr, vma->size); in pvr_winsys_helper_heap_free()
204 struct pvr_winsys_vma *vma; in pvr_buffer_create_and_map() local
[all …]
Dpvr_winsys_helper.h62 struct pvr_winsys_vma *const vma);
63 void pvr_winsys_helper_heap_free(struct pvr_winsys_vma *const vma);
Dpvr_winsys.h431 void (*heap_free)(struct pvr_winsys_vma *vma);
433 pvr_dev_addr_t (*vma_map)(struct pvr_winsys_vma *vma,
437 void (*vma_unmap)(struct pvr_winsys_vma *vma);
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_bo.c469 void pvr_srv_winsys_heap_free(struct pvr_winsys_vma *vma) in pvr_srv_winsys_heap_free() argument
471 struct pvr_srv_winsys *srv_ws = to_pvr_srv_winsys(vma->heap->ws); in pvr_srv_winsys_heap_free()
472 struct pvr_srv_winsys_vma *srv_vma = to_pvr_srv_winsys_vma(vma); in pvr_srv_winsys_heap_free()
481 if (vma->dev_addr.addr < in pvr_srv_winsys_heap_free()
482 (vma->heap->base_addr.addr + vma->heap->reserved_size)) { in pvr_srv_winsys_heap_free()
484 p_atomic_dec(&vma->heap->ref_count); in pvr_srv_winsys_heap_free()
487 pvr_winsys_helper_heap_free(vma); in pvr_srv_winsys_heap_free()
498 pvr_dev_addr_t pvr_srv_winsys_vma_map(struct pvr_winsys_vma *vma, in pvr_srv_winsys_vma_map() argument
503 struct pvr_srv_winsys_vma *srv_vma = to_pvr_srv_winsys_vma(vma); in pvr_srv_winsys_vma_map()
508 const uint32_t virt_offset = offset & (vma->heap->page_size - 1); in pvr_srv_winsys_vma_map()
[all …]
Dpvr_srv_bo.h170 void pvr_srv_winsys_heap_free(struct pvr_winsys_vma *vma);
172 pvr_dev_addr_t pvr_srv_winsys_vma_map(struct pvr_winsys_vma *vma,
176 void pvr_srv_winsys_vma_unmap(struct pvr_winsys_vma *vma);
184 #define to_pvr_srv_winsys_vma(vma) \ argument
185 container_of((vma), struct pvr_srv_winsys_vma, base)
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_job_transfer.c73 if (!transfer_cmd->src->vma->bo->map) { in pvr_transfer_job_submit()
75 ret_ptr = device->ws->ops->buffer_map(transfer_cmd->src->vma->bo); in pvr_transfer_job_submit()
80 if (!transfer_cmd->dst->vma->bo->map) { in pvr_transfer_job_submit()
82 ret_ptr = device->ws->ops->buffer_map(transfer_cmd->dst->vma->bo); in pvr_transfer_job_submit()
88 transfer_cmd->src->vma->bo->map + transfer_cmd->src->vma->bo_offset; in pvr_transfer_job_submit()
90 transfer_cmd->dst->vma->bo->map + transfer_cmd->dst->vma->bo_offset; in pvr_transfer_job_submit()
101 device->ws->ops->buffer_unmap(transfer_cmd->src->vma->bo); in pvr_transfer_job_submit()
104 device->ws->ops->buffer_unmap(transfer_cmd->dst->vma->bo); in pvr_transfer_job_submit()
Dpvr_bo.c108 pvr_bo->vma = device->ws->ops->heap_alloc(heap, size, alignment); in pvr_bo_alloc()
109 if (!pvr_bo->vma) { in pvr_bo_alloc()
114 addr = device->ws->ops->vma_map(pvr_bo->vma, pvr_bo->bo, 0, size); in pvr_bo_alloc()
125 device->ws->ops->heap_free(pvr_bo->vma); in pvr_bo_alloc()
191 device->ws->ops->vma_unmap(pvr_bo->vma); in pvr_bo_free()
192 device->ws->ops->heap_free(pvr_bo->vma); in pvr_bo_free()
Dpvr_csb.c160 link.link_addrmsb = pvr_bo->vma->dev_addr; in pvr_csb_buffer_extend()
164 link.link_addrlsb = pvr_bo->vma->dev_addr; in pvr_csb_buffer_extend()
171 link.link_addrmsb = pvr_bo->vma->dev_addr; in pvr_csb_buffer_extend()
175 link.link_addrlsb = pvr_bo->vma->dev_addr; in pvr_csb_buffer_extend()
Dpvr_device.c1389 .addr = device->idfwdf_state.store_bo->vma->dev_addr, in pvr_device_init_compute_idfwdf_state()
1407 dword_ptr[0] = HIGH_32(device->idfwdf_state.store_bo->vma->dev_addr.addr); in pvr_device_init_compute_idfwdf_state()
1408 dword_ptr[1] = LOW_32(device->idfwdf_state.store_bo->vma->dev_addr.addr); in pvr_device_init_compute_idfwdf_state()
1434 device->idfwdf_state.usc->vma->dev_addr, in pvr_device_init_compute_idfwdf_state()
1437 device->idfwdf_state.shareds_bo->vma->dev_addr, in pvr_device_init_compute_idfwdf_state()
1502 device->nop_program.usc->vma->dev_addr.addr, in pvr_device_init_nop_program()
2002 struct pvr_winsys_vma *vma; in pvr_bind_memory() local
2018 vma = device->ws->ops->heap_alloc(device->heaps.general_heap, in pvr_bind_memory()
2021 if (!vma) in pvr_bind_memory()
2024 dev_addr = device->ws->ops->vma_map(vma, mem->bo, offset, size); in pvr_bind_memory()
[all …]
Dpvr_job_context.c100 program.dev_address_for_storing_persistent_temp = pt_bo->vma->dev_addr.addr; in pvr_pds_pt_store_program_create_and_upload()
170 program.dev_address_for_buffer_data[0] = pt_bo->vma->dev_addr.addr; in pvr_pds_pt_resume_program_create_and_upload()
494 sr_programs->usc.store_program_bo->vma->dev_addr.addr - in pvr_ctx_sr_programs_setup()
520 sr_programs->usc.load_program_bo->vma->dev_addr.addr - in pvr_ctx_sr_programs_setup()
536 sr_programs->store_load_state_bo->vma->dev_addr, in pvr_ctx_sr_programs_setup()
546 sr_programs->store_load_state_bo->vma->dev_addr, in pvr_ctx_sr_programs_setup()
560 sr_programs->store_load_state_bo->vma->dev_addr, in pvr_ctx_sr_programs_setup()
571 sr_programs->store_load_state_bo->vma->dev_addr, in pvr_ctx_sr_programs_setup()
769 base.addr = ctx->ctx_switch.vdm_state_bo->vma->dev_addr; in pvr_render_ctx_ws_static_state_init()
774 base.addr = ctx->ctx_switch.geom_state_bo->vma->dev_addr; in pvr_render_ctx_ws_static_state_init()
[all …]
Dpvr_image.c166 if (image->vma) in pvr_DestroyImage()
167 pvr_unbind_memory(device, image->vma); in pvr_DestroyImage()
220 &image->vma, in pvr_BindImageMemory2()
226 pvr_unbind_memory(device, image->vma); in pvr_BindImageMemory2()
Dpvr_bo.h49 struct pvr_winsys_vma *vma; member
Dpvr_job_render.c248 free_list->bo->vma, in pvr_free_list_create()
440 rt_dataset->vheap_dev_addr = rt_dataset->vheap_rtc_bo->vma->dev_addr; in pvr_rt_vheap_rtc_data_init()
643 dev_addr = rt_dataset->mta_mlist_bo->vma->dev_addr; in pvr_rt_mta_mlist_data_init()
654 dev_addr = PVR_DEV_ADDR_OFFSET(rt_dataset->mta_mlist_bo->vma->dev_addr, in pvr_rt_mta_mlist_data_init()
706 dev_addr = rt_dataset->rgn_headers_bo->vma->dev_addr; in pvr_rt_rgn_headers_data_init()
1023 create_info->tpc_dev_addr = rt_dataset->tpc_bo->vma->dev_addr; in pvr_rt_dataset_ws_create_info_init()
Dpvr_job_compute.c58 state.addr = ctx_switch->compute_state_bo->vma->dev_addr; in pvr_compute_job_ws_submit_info_init()
Dpvr_csb.h115 return pvr_bo->vma->dev_addr; in pvr_csb_get_start_address()
Dpvr_cmd_buffer.c303 state0.addrmsb = framebuffer->ppp_state_bo->vma->dev_addr; in pvr_cmd_buffer_emit_ppp_state()
308 state1.addrlsb = framebuffer->ppp_state_bo->vma->dev_addr; in pvr_cmd_buffer_emit_ppp_state()
460 usc_eot_program->vma->dev_addr.addr, in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload()
568 *addr_out = clear_bo->vma->dev_addr; in pvr_load_op_constants_create_and_upload()
764 PVR_DEV_ADDR_OFFSET(image->vma->dev_addr, in pvr_setup_pbe_state()
963 job->depth_bias_table_addr = sub_cmd->depth_bias_bo->vma->dev_addr; in pvr_sub_cmd_gfx_job_init()
968 job->scissor_table_addr = sub_cmd->scissor_bo->vma->dev_addr; in pvr_sub_cmd_gfx_job_init()
2647 PVR_DEV_ADDR_OFFSET(vertex_state->bo->vma->dev_addr, in pvr_setup_vertex_buffers()
2701 pvr_bo->vma->dev_addr.addr - in pvr_setup_vertex_buffers()
2866 desc_set_addr = descriptor_set->pvr_bo->vma->dev_addr; in pvr_setup_descriptor_mappings()
[all …]
Dpvr_private.h322 struct pvr_winsys_vma *vma; member
344 struct pvr_winsys_vma *vma; member
1310 void pvr_unbind_memory(struct pvr_device *device, struct pvr_winsys_vma *vma);
/third_party/ltp/testcases/kernel/mem/
D.gitignore71 /vma/vma01
72 /vma/vma02
73 /vma/vma03
74 /vma/vma04
75 /vma/vma05_vdso
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dtrace.c164 bfd_vma vma; in find_addr_sect() local
173 vma = bfd_get_section_vma(abfd, section); in find_addr_sect()
174 if (data->pc < vma) in find_addr_sect()
178 if (data->pc >= vma + size) in find_addr_sect()
182 data->pc - vma, in find_addr_sect()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dtrace.c153 bfd_vma vma; in find_addr_sect() local
162 vma = bfd_get_section_vma(abfd, section); in find_addr_sect()
163 if (data->pc < vma) in find_addr_sect()
167 if (data->pc >= vma + size) in find_addr_sect()
171 data->pc - vma, in find_addr_sect()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h1329 vma::DestroyAllocator(mHandle);
1341 return vma::InitAllocator(physicalDevice, device, instance, apiVersion,
1348 vma::BuildStatsString(mHandle, statsString, detailedMap);
1354 vma::FreeStatsString(mHandle, statsString);
1362 vma::FreeMemory(allocator.getHandle(), mHandle);
1370 return vma::MapMemory(allocator.getHandle(), mHandle, (void **)mapPointer);
1376 vma::UnmapMemory(allocator.getHandle(), mHandle);
1384 vma::FlushAllocation(allocator.getHandle(), mHandle, offset, size);
1392 vma::InvalidateAllocation(allocator.getHandle(), mHandle, offset, size);
Dvk_mem_alloc_wrapper.h19 namespace vma in VK_DEFINE_HANDLE()
Dvk_mem_alloc_wrapper.cpp14 namespace vma namespace
/third_party/mesa3d/src/util/
Dmeson.build155 'vma.c',
156 'vma.h',
422 subdir('tests/vma')
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp123 debug_line[i].vma = (unsigned long)It.first; in notifyObjectLoaded()

12