Home
last modified time | relevance | path

Searched refs:bo_count (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cs.c65 for (uint32_t i = 0; i < cs->bo_count; ++i) { in tu_cs_finish()
81 assert(cs->bo_count); in tu_cs_get_offset()
82 return cs->start - (uint32_t *) cs->bos[cs->bo_count - 1]->map; in tu_cs_get_offset()
99 if (cs->bo_count == cs->bo_capacity) { in tu_cs_add_bo()
129 cs->bos[cs->bo_count++] = new_bo; in tu_cs_add_bo()
178 assert(cs->bo_count); in tu_cs_add_entry()
183 .bo = cs->bos[cs->bo_count - 1], in tu_cs_add_entry()
288 struct tu_bo *bo = cs->bos[cs->bo_count - 1]; in tu_cs_alloc()
310 assert(cs->bo_count); in tu_cs_end_sub_stream()
319 .bo = cs->bos[cs->bo_count - 1], in tu_cs_end_sub_stream()
[all …]
Dtu_drm.c257 uint32_t idx = dev->bo_count++; in tu_bo_init()
387 dev->bo_count--; in tu_bo_finish()
388 dev->bo_list[idx] = dev->bo_list[dev->bo_count]; in tu_bo_finish()
1122 assert(cmds[entry_idx].submit_idx < queue->device->bo_count); in tu_queue_build_msm_gem_submit_cmds()
1166 .nr_bos = queue->device->bo_count, in tu_queue_submit_locked()
Dtu_descriptor_set.c587 uint64_t bo_size = 0, bo_count = 0, dynamic_count = 0; in tu_CreateDescriptorPool() local
596 bo_count += pCreateInfo->pPoolSizes[i].descriptorCount; in tu_CreateDescriptorPool()
628 host_size += sizeof(struct tu_bo*) * bo_count; in tu_CreateDescriptorPool()
Dtu_private.h408 uint32_t bo_count, bo_list_size, bo_idx_size; member
603 uint32_t bo_count; member
/third_party/libdrm/radeon/
Dradeon_cs_space.c119 if (cs->bo_count == 0 && !new_tmp) in radeon_cs_do_space_check()
125 for (i = 0; i < cs->bo_count; i++) { in radeon_cs_do_space_check()
155 for (i = 0; i < cs->bo_count; i++) { in radeon_cs_do_space_check()
172 for (i = 0; i < csi->bo_count; i++) { in radeon_cs_space_add_persistent_bo()
179 i = csi->bo_count; in radeon_cs_space_add_persistent_bo()
184 csi->bo_count++; in radeon_cs_space_add_persistent_bo()
186 assert(csi->bo_count < MAX_SPACE_BOS); in radeon_cs_space_add_persistent_bo()
240 for (i = 0; i < csi->bo_count; i++) { in radeon_cs_space_reset_bos()
247 csi->bo_count = 0; in radeon_cs_space_reset_bos()
Dradeon_cs_int.h28 int bo_count; member
/third_party/mesa3d/src/broadcom/clif/
Dclif_dump.c79 for (int i = 0; i < clif->bo_count; i++) { in clif_lookup_bo()
358 for (int i = 0; i < clif->bo_count; i++) { in clif_dump_buffers()
389 qsort(clif->bo, clif->bo_count, sizeof(clif->bo[0]), in clif_dump()
395 for (int i = 0; i < clif->bo_count; i++) { in clif_dump()
434 if (clif->bo_count >= clif->bo_array_size) { in clif_dump_add_bo()
441 for (int i = 0; i < clif->bo_count; i++) in clif_dump_add_bo()
444 clif->bo[clif->bo_count].name = ralloc_strdup(clif, name); in clif_dump_add_bo()
445 clif->bo[clif->bo_count].offset = offset; in clif_dump_add_bo()
446 clif->bo[clif->bo_count].size = size; in clif_dump_add_bo()
447 clif->bo[clif->bo_count].vaddr = vaddr; in clif_dump_add_bo()
[all …]
Dclif_private.h49 int bo_count; member
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c245 exec->bo_count = args->bo_handle_count; in vc4_simulator_pin_bos()
246 exec->bo = calloc(exec->bo_count, sizeof(void *)); in vc4_simulator_pin_bos()
247 for (int i = 0; i < exec->bo_count; i++) { in vc4_simulator_pin_bos()
263 for (int i = 0; i < exec->bo_count; i++) { in vc4_simulator_unpin_bos()
300 state->bo_count = exec->bo_count + unref_count + 1; in vc4_dump_to_file()
301 bo_state = calloc(state->bo_count, sizeof(*bo_state)); in vc4_dump_to_file()
323 for (i = 0; i < exec->bo_count; i++) { in vc4_dump_to_file()
340 bo_state[i].handle = exec->bo_count; in vc4_dump_to_file()
345 fwrite(bo_state, sizeof(*bo_state), state->bo_count, f); in vc4_dump_to_file()
347 for (int i = 0; i < exec->bo_count; i++) { in vc4_dump_to_file()
Dvc4_screen.h87 uint32_t bo_count; member
94 uint32_t bo_count; member
Dvc4_bufmgr.c82 fprintf(stderr, " BOs allocated: %d\n", screen->bo_count); in vc4_bo_dump_stats()
84 fprintf(stderr, " BOs cached: %d\n", cache->bo_count); in vc4_bo_dump_stats()
112 cache->bo_count--; in vc4_bo_remove_from_cache()
165 screen->bo_count--; in vc4_bo_free()
269 screen->bo_count++; in vc4_bo_alloc()
366 cache->bo_count++; in vc4_bo_last_unreference_locked_timed()
502 screen->bo_count++; in vc4_bo_alloc_shader()
/third_party/mesa3d/src/intel/vulkan/
Danv_batch_chain.c1177 uint32_t bo_count; member
1251 if (bo->index < exec->bo_count && exec->bos[bo->index] == bo) in anv_execbuf_add_bo()
1258 if (exec->bo_count >= exec->array_length) { in anv_execbuf_add_bo()
1275 exec->bo_count * sizeof(*new_objects)); in anv_execbuf_add_bo()
1277 exec->bo_count * sizeof(*new_bos)); in anv_execbuf_add_bo()
1288 assert(exec->bo_count < exec->array_length); in anv_execbuf_add_bo()
1290 bo->index = exec->bo_count++; in anv_execbuf_add_bo()
1506 for (uint32_t i = 0; i < exec->bo_count; i++) { in execbuf_can_skip_relocations()
1540 for (uint32_t i = 0; i < exec->bo_count; i++) in relocate_cmd_buffer()
1760 if (first_batch_bo->bo->index != execbuf->bo_count - 1) { in setup_execbuf_for_cmd_buffers()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_bo.c50 fprintf(stderr, " BOs allocated: %d\n", device->bo_count); in bo_dump_stats()
144 device->bo_count--; in bo_free()
257 device->bo_count++; in v3dv_bo_alloc()
386 device->bo_count = 0; in v3dv_bo_cache_init()
Dv3dv_private.h461 uint32_t bo_count; member
966 uint32_t bo_count; member
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_bufmgr.c55 fprintf(stderr, " BOs allocated: %d\n", screen->bo_count); in v3d_bo_dump_stats()
176 screen->bo_count++; in v3d_bo_alloc()
220 screen->bo_count--; in v3d_bo_free()
370 screen->bo_count++; in v3d_bo_open_handle()
Dv3d_screen.h78 uint32_t bo_count; member
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.h63 uint32_t bo_count; member
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_virtgpu.c490 uint32_t bo_count) in sim_submit_alloc_gem_handles() argument
492 uint32_t *gem_handles = malloc(sizeof(*gem_handles) * bo_count); in sim_submit_alloc_gem_handles()
496 for (uint32_t i = 0; i < bo_count; i++) { in sim_submit_alloc_gem_handles()
509 if (submit->bo_count) { in sim_submit()
511 sim_submit_alloc_gem_handles(submit->bos, submit->bo_count); in sim_submit()
525 .num_bo_handles = submit->bo_count, in sim_submit()
544 if (!submit->batch_count && submit->bo_count) { in sim_submit()
547 .num_bo_handles = submit->bo_count, in sim_submit()
Dvn_renderer.h102 uint32_t bo_count; member
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_drv.h40 uint32_t bo_count; member
Dvc4_validate.c102 if (hindex >= exec->bo_count) { in vc4_use_bo()
104 hindex, exec->bo_count); in vc4_use_bo()
784 if (src_handles[i] > exec->bo_count) { in validate_gl_shader_rec()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c69 saved->bo_count = ws->cs_get_buffer_list(cs, NULL); in si_save_cs()
70 saved->bo_list = CALLOC(saved->bo_count, sizeof(saved->bo_list[0])); in si_save_cs()
553 qsort(saved->bo_list, saved->bo_count, sizeof(saved->bo_list[0]), (void *)bo_list_compare_va); in si_dump_bo_list()
559 for (i = 0; i < saved->bo_count; i++) { in si_dump_bo_list()
/third_party/mesa3d/include/drm-uapi/
Dvc4_drm.h300 __u32 bo_count; member
/third_party/libdrm/include/drm/
Dvc4_drm.h300 __u32 bo_count; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c720 uint64_t bo_size = 0, bo_count = 0, range_count = 0; in radv_CreateDescriptorPool() local
744 bo_count += pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
796 host_size += sizeof(struct radeon_winsys_bo *) * bo_count; in radv_CreateDescriptorPool()

12