Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_cl.c66 struct vc5_bo *new_bo = vc5_bo_alloc(cl->job->vc5->screen, 4096, "CL"); in vc5_cl_ensure_space_with_branch() local
67 assert(space <= new_bo->size); in vc5_cl_ensure_space_with_branch()
72 branch.address = cl_address(new_bo, 0); in vc5_cl_ensure_space_with_branch()
80 cl->bo = new_bo; in vc5_cl_ensure_space_with_branch()
Dvc5_bufmgr.h71 vc5_bo_set_reference(struct vc5_bo **old_bo, struct vc5_bo *new_bo) in vc5_bo_set_reference() argument
73 if (pipe_reference(&(*old_bo)->reference, &new_bo->reference)) in vc5_bo_set_reference()
75 *old_bo = new_bo; in vc5_bo_set_reference()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.h77 vc4_bo_set_reference(struct vc4_bo **old_bo, struct vc4_bo *new_bo) in vc4_bo_set_reference() argument
79 if (pipe_reference(&(*old_bo)->reference, &new_bo->reference)) in vc4_bo_set_reference()
81 *old_bo = new_bo; in vc4_bo_set_reference()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c333 struct brw_bo *new_bo = brw_bo_alloc(bufmgr, bo->name, new_size, bo->align); in grow_buffer() local
346 grow->map = malloc(new_bo->size); in grow_buffer()
348 grow->map = brw_bo_map(brw, new_bo, MAP_READ | MAP_WRITE); in grow_buffer()
360 new_bo->gtt_offset = bo->gtt_offset; in grow_buffer()
361 new_bo->index = bo->index; in grow_buffer()
362 new_bo->kflags = bo->kflags; in grow_buffer()
371 batch->validation_list[bo->index].handle = new_bo->gem_handle; in grow_buffer()
380 bo->gem_handle, new_bo->gem_handle); in grow_buffer()
382 bo->gem_handle, new_bo->gem_handle); in grow_buffer()
425 assert(new_bo->refcount == 1); in grow_buffer()
[all …]
Dbrw_program_cache.c219 struct brw_bo *new_bo; in brw_cache_new_bo() local
224 new_bo = brw_bo_alloc(brw->bufmgr, "program cache", new_size, 64); in brw_cache_new_bo()
226 new_bo->kflags = EXEC_OBJECT_CAPTURE; in brw_cache_new_bo()
228 void *map = brw_bo_map(brw, new_bo, MAP_READ | MAP_WRITE | in brw_cache_new_bo()
243 cache->bo = new_bo; in brw_cache_new_bo()
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c1010 struct anv_bo new_bo; in anv_bo_pool_alloc() local
1012 result = anv_bo_init_new(&new_bo, pool->device, pow2_size); in anv_bo_pool_alloc()
1016 new_bo.flags = pool->bo_flags; in anv_bo_pool_alloc()
1018 assert(new_bo.size == pow2_size); in anv_bo_pool_alloc()
1020 new_bo.map = anv_gem_mmap(pool->device, new_bo.gem_handle, 0, pow2_size, 0); in anv_bo_pool_alloc()
1021 if (new_bo.map == MAP_FAILED) { in anv_bo_pool_alloc()
1022 anv_gem_close(pool->device, new_bo.gem_handle); in anv_bo_pool_alloc()
1026 *bo = new_bo; in anv_bo_pool_alloc()
Danv_batch_chain.c376 struct anv_bo new_bo; in anv_batch_bo_grow() local
378 &new_bo, new_size); in anv_batch_bo_grow()
382 memcpy(new_bo.map, bbo->bo.map, bbo->length); in anv_batch_bo_grow()
386 bbo->bo = new_bo; in anv_batch_bo_grow()
/external/libxcam/xcore/
Ddrm_display.cpp546 SmartPtr<DrmBoData> new_bo; in create_drm_bo() local
553 new_bo = new DrmBoData (self, bo); in create_drm_bo()
554 return new_bo; in create_drm_bo()