/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_cs.c | 65 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 …]
|
D | tu_drm.c | 257 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()
|
D | tu_descriptor_set.c | 587 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()
|
D | tu_private.h | 408 uint32_t bo_count, bo_list_size, bo_idx_size; member 603 uint32_t bo_count; member
|
/third_party/libdrm/radeon/ |
D | radeon_cs_space.c | 119 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()
|
D | radeon_cs_int.h | 28 int bo_count; member
|
/third_party/mesa3d/src/broadcom/clif/ |
D | clif_dump.c | 79 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 …]
|
D | clif_private.h | 49 int bo_count; member
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_simulator.c | 245 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()
|
D | vc4_screen.h | 87 uint32_t bo_count; member 94 uint32_t bo_count; member
|
D | vc4_bufmgr.c | 82 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/ |
D | anv_batch_chain.c | 1177 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/ |
D | v3dv_bo.c | 50 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()
|
D | v3dv_private.h | 461 uint32_t bo_count; member 966 uint32_t bo_count; member
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_bufmgr.c | 55 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()
|
D | v3d_screen.h | 78 uint32_t bo_count; member
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_bo.h | 63 uint32_t bo_count; member
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer_virtgpu.c | 490 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()
|
D | vn_renderer.h | 102 uint32_t bo_count; member
|
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_drv.h | 40 uint32_t bo_count; member
|
D | vc4_validate.c | 102 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/ |
D | si_debug.c | 69 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/ |
D | vc4_drm.h | 300 __u32 bo_count; member
|
/third_party/libdrm/include/drm/ |
D | vc4_drm.h | 300 __u32 bo_count; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 720 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()
|