Home
last modified time | relevance | path

Searched refs:new_bo (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_cl.c69 struct v3d_bo *new_bo = v3d_bo_alloc(cl->job->v3d->screen, space, "CL"); in v3d_cl_ensure_space_with_branch() local
70 assert(space <= new_bo->size); in v3d_cl_ensure_space_with_branch()
75 branch.address = cl_address(new_bo, 0); in v3d_cl_ensure_space_with_branch()
80 v3d_job_add_bo(cl->job, new_bo); in v3d_cl_ensure_space_with_branch()
83 cl->bo = new_bo; in v3d_cl_ensure_space_with_branch()
Dv3d_bufmgr.h69 v3d_bo_set_reference(struct v3d_bo **old_bo, struct v3d_bo *new_bo) in v3d_bo_set_reference() argument
71 if (pipe_reference(&(*old_bo)->reference, &new_bo->reference)) in v3d_bo_set_reference()
73 *old_bo = new_bo; in v3d_bo_set_reference()
/third_party/mesa3d/src/intel/vulkan/
Danv_allocator.c506 struct anv_bo *new_bo; in anv_block_pool_expand_range() local
517 &new_bo); in anv_block_pool_expand_range()
521 pool->bos[pool->nbos++] = new_bo; in anv_block_pool_expand_range()
539 struct anv_bo *new_bo; in anv_block_pool_expand_range() local
544 &new_bo); in anv_block_pool_expand_range()
553 anv_device_release_bo(pool->device, new_bo); in anv_block_pool_expand_range()
564 pool->bos[pool->nbos++] = new_bo; in anv_block_pool_expand_range()
565 pool->wrapper_bo.map = new_bo; in anv_block_pool_expand_range()
1727 struct anv_bo new_bo = { in anv_device_alloc_bo() local
1743 VkResult result = anv_device_map_bo(device, &new_bo, 0, size, in anv_device_alloc_bo()
[all …]
Danv_cmd_buffer.c329 struct anv_bo *new_bo; in anv_cmd_buffer_set_ray_query_buffer() local
334 &new_bo); in anv_cmd_buffer_set_ray_query_buffer()
340 bo = p_atomic_cmpxchg(&device->ray_query_shadow_bos[bucket], NULL, new_bo); in anv_cmd_buffer_set_ray_query_buffer()
344 bo = new_bo; in anv_cmd_buffer_set_ray_query_buffer()
1087 struct anv_bo *new_bo; in anv_CmdSetRayTracingPipelineStackSizeKHR() local
1092 &new_bo); in anv_CmdSetRayTracingPipelineStackSizeKHR()
1099 bo = p_atomic_cmpxchg(&device->rt_scratch_bos[bucket], NULL, new_bo); in anv_CmdSetRayTracingPipelineStackSizeKHR()
1103 bo = new_bo; in anv_CmdSetRayTracingPipelineStackSizeKHR()
Danv_batch_chain.c458 struct anv_bo *new_bo; in anv_batch_bo_grow() local
460 new_size, &new_bo); in anv_batch_bo_grow()
464 memcpy(new_bo->map, bbo->bo->map, bbo->length); in anv_batch_bo_grow()
468 bbo->bo = new_bo; in anv_batch_bo_grow()
/third_party/mesa3d/src/intel/tools/
Derror2aub.c180 struct bo *new_bo = calloc(1, sizeof(*new_bo)); in find_or_create() local
181 new_bo->addr = addr; in find_or_create()
182 new_bo->gtt = gtt; in find_or_create()
183 new_bo->engine_class = engine_class; in find_or_create()
184 new_bo->engine_instance = engine_instance; in find_or_create()
185 list_addtail(&new_bo->link, bo_list); in find_or_create()
187 return new_bo; in find_or_create()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cs.c127 struct tu_bo *new_bo; in tu_cs_add_bo() local
130 tu_bo_init_new(cs->device, &new_bo, size * sizeof(uint32_t), in tu_cs_add_bo()
136 result = tu_bo_map(cs->device, new_bo); in tu_cs_add_bo()
138 tu_bo_finish(cs->device, new_bo); in tu_cs_add_bo()
142 cs->bos[cs->bo_count++] = new_bo; in tu_cs_add_bo()
144 cs->start = cs->cur = cs->reserved_end = (uint32_t *) new_bo->map; in tu_cs_add_bo()
145 cs->end = cs->start + new_bo->size / sizeof(uint32_t); in tu_cs_add_bo()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_batch.c641 struct crocus_bo *new_bo = crocus_bo_alloc(bufmgr, bo->name, new_size); in crocus_grow_buffer() local
654 grow->map = malloc(new_bo->size); in crocus_grow_buffer()
656 grow->map = crocus_bo_map(NULL, new_bo, MAP_READ | MAP_WRITE); in crocus_grow_buffer()
667 new_bo->gtt_offset = bo->gtt_offset; in crocus_grow_buffer()
668 new_bo->index = bo->index; in crocus_grow_buffer()
669 new_bo->kflags = bo->kflags; in crocus_grow_buffer()
678 batch->validation_list[bo->index].handle = new_bo->gem_handle; in crocus_grow_buffer()
719 assert(new_bo->refcount == 1); in crocus_grow_buffer()
720 new_bo->refcount = bo->refcount; in crocus_grow_buffer()
725 memcpy(bo, new_bo, sizeof(struct crocus_bo)); in crocus_grow_buffer()
[all …]
Dcrocus_program_cache.c143 struct crocus_bo *new_bo; in crocus_cache_new_bo() local
144 new_bo = crocus_bo_alloc(screen->bufmgr, "program cache", new_size); in crocus_cache_new_bo()
146 void *map = crocus_bo_map(NULL, new_bo, MAP_READ | MAP_WRITE | in crocus_cache_new_bo()
155 ice->shaders.cache_bo = new_bo; in crocus_cache_new_bo()
Dcrocus_resource.c1176 struct crocus_bo *new_bo = in crocus_invalidate_resource() local
1179 if (!new_bo) in crocus_invalidate_resource()
1183 res->bo = new_bo; in crocus_invalidate_resource()
/third_party/mesa3d/src/broadcom/clif/
Dclif_dump.c315 struct clif_bo *new_bo = clif_lookup_bo(clif, reloc->addr); in clif_dump_buffers() local
317 if (!new_bo) { in clif_dump_buffers()
323 if (new_bo != bo) { in clif_dump_buffers()
332 out(clif, "@buffer %s\n", new_bo->name); in clif_dump_buffers()
333 bo = new_bo; in clif_dump_buffers()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c621 struct lima_bo *new_bo; in lima_transfer_map() local
624 new_bo = lima_bo_create(screen, res->bo->size, res->bo->flags); in lima_transfer_map()
625 if (!new_bo) in lima_transfer_map()
629 res->bo = new_bo; in lima_transfer_map()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.c1932 struct iris_bo *new_bo = in iris_invalidate_resource() local
1936 if (!new_bo) in iris_invalidate_resource()
1940 res->bo = new_bo; in iris_invalidate_resource()