/external/mesa3d/src/intel/vulkan/ |
D | anv_allocator.c | 496 struct anv_bo *new_bo; in anv_block_pool_expand_range() local 504 &new_bo); in anv_block_pool_expand_range() 508 pool->bos[pool->nbos++] = new_bo; in anv_block_pool_expand_range() 526 struct anv_bo *new_bo; in anv_block_pool_expand_range() local 531 &new_bo); in anv_block_pool_expand_range() 540 anv_device_release_bo(pool->device, new_bo); in anv_block_pool_expand_range() 551 pool->bos[pool->nbos++] = new_bo; in anv_block_pool_expand_range() 552 pool->wrapper_bo.map = new_bo; in anv_block_pool_expand_range() 1646 struct anv_bo new_bo = { in anv_device_alloc_bo() local 1660 new_bo.map = anv_gem_mmap(device, new_bo.gem_handle, 0, size, 0); in anv_device_alloc_bo() [all …]
|
D | anv_batch_chain.c | 455 struct anv_bo *new_bo; in anv_batch_bo_grow() local 457 new_size, &new_bo); in anv_batch_bo_grow() 461 memcpy(new_bo->map, bbo->bo->map, bbo->length); in anv_batch_bo_grow() 465 bbo->bo = new_bo; in anv_batch_bo_grow()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_cl.c | 66 struct v3d_bo *new_bo = v3d_bo_alloc(cl->job->v3d->screen, space, "CL"); in v3d_cl_ensure_space_with_branch() local 67 assert(space <= new_bo->size); in v3d_cl_ensure_space_with_branch() 72 branch.address = cl_address(new_bo, 0); in v3d_cl_ensure_space_with_branch() 77 v3d_job_add_bo(cl->job, new_bo); in v3d_cl_ensure_space_with_branch() 80 cl->bo = new_bo; in v3d_cl_ensure_space_with_branch()
|
D | v3d_bufmgr.h | 69 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()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_cs.c | 108 struct tu_bo *new_bo = malloc(sizeof(struct tu_bo)); in tu_cs_add_bo() local 109 if (!new_bo) in tu_cs_add_bo() 113 tu_bo_init_new(cs->device, new_bo, size * sizeof(uint32_t), true); in tu_cs_add_bo() 115 free(new_bo); in tu_cs_add_bo() 119 result = tu_bo_map(cs->device, new_bo); in tu_cs_add_bo() 121 tu_bo_finish(cs->device, new_bo); in tu_cs_add_bo() 122 free(new_bo); in tu_cs_add_bo() 126 cs->bos[cs->bo_count++] = new_bo; in tu_cs_add_bo() 128 cs->start = cs->cur = cs->reserved_end = (uint32_t *) new_bo->map; in tu_cs_add_bo() 129 cs->end = cs->start + new_bo->size / sizeof(uint32_t); in tu_cs_add_bo()
|
/external/mesa3d/src/intel/tools/ |
D | error2aub.c | 180 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()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_batchbuffer.c | 420 struct brw_bo *new_bo = in grow_buffer() local 434 grow->map = malloc(new_bo->size); in grow_buffer() 436 grow->map = brw_bo_map(brw, new_bo, MAP_READ | MAP_WRITE); in grow_buffer() 448 new_bo->gtt_offset = bo->gtt_offset; in grow_buffer() 449 new_bo->index = bo->index; in grow_buffer() 450 new_bo->kflags = bo->kflags; in grow_buffer() 459 batch->validation_list[bo->index].handle = new_bo->gem_handle; in grow_buffer() 468 bo->gem_handle, new_bo->gem_handle); in grow_buffer() 470 bo->gem_handle, new_bo->gem_handle); in grow_buffer() 513 assert(new_bo->refcount == 1); in grow_buffer() [all …]
|
D | brw_program_cache.c | 206 struct brw_bo *new_bo; in brw_cache_new_bo() local 211 new_bo = brw_bo_alloc(brw->bufmgr, "program cache", new_size, in brw_cache_new_bo() 214 new_bo->kflags |= EXEC_OBJECT_CAPTURE; in brw_cache_new_bo() 216 void *map = brw_bo_map(brw, new_bo, MAP_READ | MAP_WRITE | in brw_cache_new_bo() 231 cache->bo = new_bo; in brw_cache_new_bo()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_ppgtt.c | 260 uint32_t bo, flinked_bo, new_bo, name; in flink_and_close() local 281 new_bo = gem_create(fd2, 4096); in flink_and_close() 282 offset_new = exec_and_get_offset(fd2, new_bo); in flink_and_close() 283 gem_close(fd2, new_bo); in flink_and_close()
|
/external/mesa3d/src/broadcom/clif/ |
D | clif_dump.c | 299 struct clif_bo *new_bo = clif_lookup_bo(clif, reloc->addr); in clif_dump_buffers() local 301 if (!new_bo) { in clif_dump_buffers() 307 if (new_bo != bo) { in clif_dump_buffers() 316 out(clif, "@buffer %s\n", new_bo->name); in clif_dump_buffers() 317 bo = new_bo; in clif_dump_buffers()
|
/external/igt-gpu-tools/benchmarks/ |
D | gem_exec_trace.c | 188 int new_bo = ALIGN(t->handle, 4096); in replay() local 189 bo = realloc(bo, sizeof(*bo)*new_bo); in replay() 190 memset(bo + num_bo, 0, sizeof(*bo)*(new_bo - num_bo)); in replay() 191 num_bo = new_bo; in replay()
|
/external/mesa3d/src/gallium/drivers/lima/ |
D | lima_resource.c | 568 struct lima_bo *new_bo; in lima_transfer_map() local 571 new_bo = lima_bo_create(screen, res->bo->size, res->bo->flags); in lima_transfer_map() 572 if (!new_bo) in lima_transfer_map() 576 res->bo = new_bo; in lima_transfer_map()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 1335 struct iris_bo *new_bo = in iris_invalidate_resource() local 1338 if (!new_bo) in iris_invalidate_resource() 1342 res->bo = new_bo; in iris_invalidate_resource()
|