/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_cs.c | 144 for (i = 0; i < csc->num_relocs; i++) { in radeon_cs_context_cleanup() 153 csc->num_relocs = 0; in radeon_cs_context_cleanup() 235 num_buffers = csc->num_relocs; in radeon_lookup_buffer() 291 if (csc->num_relocs >= csc->max_relocs) { in radeon_lookup_or_add_real_buffer() 305 csc->relocs_bo[csc->num_relocs].bo = NULL; in radeon_lookup_or_add_real_buffer() 306 csc->relocs_bo[csc->num_relocs].u.real.priority_usage = 0; in radeon_lookup_or_add_real_buffer() 307 radeon_ws_bo_reference(&csc->relocs_bo[csc->num_relocs].bo, bo); in radeon_lookup_or_add_real_buffer() 309 reloc = &csc->relocs[csc->num_relocs]; in radeon_lookup_or_add_real_buffer() 315 csc->reloc_indices_hashlist[hash] = csc->num_relocs; in radeon_lookup_or_add_real_buffer() 319 return csc->num_relocs++; in radeon_lookup_or_add_real_buffer() [all …]
|
D | radeon_drm_cs.h | 60 unsigned num_relocs; member
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_batch_chain.c | 68 list->num_relocs = other_list->num_relocs; in anv_reloc_list_init_clone() 71 if (list->num_relocs > 0) { in anv_reloc_list_init_clone() 124 if (list->num_relocs + num_additional_relocs <= list->array_length) in anv_reloc_list_grow() 128 while (new_length < list->num_relocs + num_additional_relocs) in anv_reloc_list_grow() 225 index = list->num_relocs++; in anv_reloc_list_add() 242 list->num_relocs = 0; in anv_reloc_list_clear() 252 VkResult result = anv_reloc_list_grow(list, alloc, other->num_relocs); in anv_reloc_list_append() 256 if (other->num_relocs > 0) { in anv_reloc_list_append() 257 memcpy(&list->relocs[list->num_relocs], &other->relocs[0], in anv_reloc_list_append() 258 other->num_relocs * sizeof(other->relocs[0])); in anv_reloc_list_append() [all …]
|
D | anv_pipeline_cache.c | 84 prog_data_in->num_relocs); in anv_shader_bin_create() 151 prog_data_in->num_relocs); in anv_shader_bin_create() 198 shader->prog_data->num_relocs * in anv_shader_bin_serialize() 256 blob_read_bytes(blob, prog_data.base.num_relocs * in anv_shader_bin_deserialize()
|
D | anv_private.h | 1483 uint32_t num_relocs; member
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_disk_cache.c | 121 prog_data->num_relocs * sizeof(struct brw_shader_reloc)); in iris_disk_cache_store() 201 if (prog_data->num_relocs) { in iris_disk_cache_retrieve() 203 ralloc_array(NULL, struct brw_shader_reloc, prog_data->num_relocs); in iris_disk_cache_retrieve() 205 prog_data->num_relocs * sizeof(struct brw_shader_reloc)); in iris_disk_cache_retrieve()
|
/third_party/mesa3d/src/broadcom/clif/ |
D | clif_dump.c | 296 int num_relocs = 0; in clif_dump_buffers() local 299 num_relocs++; in clif_dump_buffers() 302 ralloc_array(clif, struct reloc_worklist_entry *, num_relocs); in clif_dump_buffers() 308 qsort(relocs, num_relocs, sizeof(*relocs), worklist_entry_compare); in clif_dump_buffers() 313 for (i = 0; i < num_relocs; i++) { in clif_dump_buffers()
|
/third_party/mesa3d/src/intel/compiler/ |
D | intel_clc.c | 151 PROG_DATA_FIELD("%u", base.num_relocs); in print_cs_prog_data_fields() 199 for (unsigned i = 0; i < kernel->prog_data.base.num_relocs; i++) { in print_kernel() 207 kernel->prog_data.base.num_relocs * in print_kernel()
|
D | brw_eu.c | 368 brw_get_shader_relocs(struct brw_codegen *p, unsigned *num_relocs) in brw_get_shader_relocs() argument 370 *num_relocs = p->num_relocs; in brw_get_shader_relocs()
|
D | brw_compiler.c | 291 for (unsigned i = 0; i < prog_data->num_relocs; i++) { in brw_write_shader_relocs()
|
D | brw_eu.h | 145 int num_relocs; member 197 unsigned *num_relocs);
|
D | brw_compiler.h | 789 unsigned num_relocs; member
|
D | brw_eu_emit.c | 715 if (p->num_relocs + 1 > p->reloc_array_size) { in brw_add_reloc() 721 p->relocs[p->num_relocs++] = (struct brw_shader_reloc) { in brw_add_reloc()
|
D | brw_eu_compact.c | 2666 for (int i = 0; i < p->num_relocs; i++) { in brw_compact_instructions()
|
D | brw_fs_generator.cpp | 2661 prog_data->relocs = brw_get_shader_relocs(p, &prog_data->num_relocs); in get_assembly()
|
/third_party/mesa3d/include/drm-uapi/ |
D | tegra_drm.h | 442 __u32 num_relocs; member
|
/third_party/libdrm/include/drm/ |
D | tegra_drm.h | 425 __u32 num_relocs; member
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rtld.c | 651 size_t num_relocs = reloc_data->d_size / sizeof(*rel); in apply_relocs() local 652 for (size_t i = 0; i < num_relocs; ++i, ++rel) { in apply_relocs()
|