Home
last modified time | relevance | path

Searched refs:base_bo (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_residency.cpp148 struct d3d12_bo *base_bo = d3d12_bo_get_base(bo, &offset); in d3d12_process_batch_residency() local
150 if (base_bo->residency_status == d3d12_evicted) { in d3d12_process_batch_residency()
152 _mesa_set_search_or_add(base_bo_set, base_bo, &added); in d3d12_process_batch_residency()
155 base_bo->residency_status = d3d12_resident; in d3d12_process_batch_residency()
156 size_to_make_resident += base_bo->estimated_size; in d3d12_process_batch_residency()
157 list_addtail(&base_bo->residency_list_entry, &screen->residency_list); in d3d12_process_batch_residency()
158 } else if (base_bo->last_used_fence != pending_fence_value) { in d3d12_process_batch_residency()
160 list_del(&base_bo->residency_list_entry); in d3d12_process_batch_residency()
161 list_addtail(&base_bo->residency_list_entry, &screen->residency_list); in d3d12_process_batch_residency()
164 base_bo->last_used_fence = pending_fence_value; in d3d12_process_batch_residency()
[all …]
Dd3d12_bufmgr.h104 struct d3d12_bo *base_bo; in d3d12_bo_is_suballocated() local
110 base_bo = d3d12_bo_get_base(bo, &offset); in d3d12_bo_is_suballocated()
111 return d3d12_bo_get_size(base_bo) != d3d12_bo_get_size(bo); in d3d12_bo_is_suballocated()
Dd3d12_bufmgr.cpp210 struct d3d12_bo *base_bo; in d3d12_bo_map() local
215 base_bo = d3d12_bo_get_base(bo, &offset); in d3d12_bo_map()
227 if (FAILED(base_bo->res->Map(0, range, &ptr))) in d3d12_bo_map()
236 struct d3d12_bo *base_bo; in d3d12_bo_unmap() local
240 base_bo = d3d12_bo_get_base(bo, &offset); in d3d12_bo_unmap()
252 base_bo->res->Unmap(0, range); in d3d12_bo_unmap()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c64 dev->renderer, mem->size, mem->base.id, mem->flags, 0, &mem->base_bo); in vn_device_memory_pool_grow_alloc()
66 assert(!mem->base_bo); in vn_device_memory_pool_grow_alloc()
81 if (mem->base_bo) in vn_device_memory_pool_grow_alloc()
82 vn_renderer_bo_unref(dev->renderer, mem->base_bo); in vn_device_memory_pool_grow_alloc()
94 assert(pool_mem->base_bo); in vn_device_memory_pool_ref()
96 vn_renderer_bo_ref(dev->renderer, pool_mem->base_bo); in vn_device_memory_pool_ref()
107 assert(pool_mem->base_bo); in vn_device_memory_pool_unref()
109 if (!vn_renderer_bo_unref(dev->renderer, pool_mem->base_bo)) in vn_device_memory_pool_unref()
182 mem->base_bo = pool->memory->base_bo; in vn_device_memory_pool_suballocate()
289 mem->base_bo = bo; in vn_device_memory_import_dma_buf()
[all …]
Dvn_device_memory.h31 struct vn_renderer_bo *base_bo; member
Dvn_queue.c374 assert(!wsi_mem->base_memory && wsi_mem->base_bo); in vn_QueueSubmit()
427 .bos = &wsi_mem->base_bo, in vn_QueueSubmit()