Home
last modified time | relevance | path

Searched refs:num_relocs (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c144 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 …]
Dradeon_drm_cs.h60 unsigned num_relocs; member
/third_party/mesa3d/src/intel/vulkan/
Danv_batch_chain.c68 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 …]
Danv_pipeline_cache.c84 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()
Danv_private.h1483 uint32_t num_relocs; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c121 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/
Dclif_dump.c296 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/
Dintel_clc.c151 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()
Dbrw_eu.c368 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()
Dbrw_compiler.c291 for (unsigned i = 0; i < prog_data->num_relocs; i++) { in brw_write_shader_relocs()
Dbrw_eu.h145 int num_relocs; member
197 unsigned *num_relocs);
Dbrw_compiler.h789 unsigned num_relocs; member
Dbrw_eu_emit.c715 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()
Dbrw_eu_compact.c2666 for (int i = 0; i < p->num_relocs; i++) { in brw_compact_instructions()
Dbrw_fs_generator.cpp2661 prog_data->relocs = brw_get_shader_relocs(p, &prog_data->num_relocs); in get_assembly()
/third_party/mesa3d/include/drm-uapi/
Dtegra_drm.h442 __u32 num_relocs; member
/third_party/libdrm/include/drm/
Dtegra_drm.h425 __u32 num_relocs; member
/third_party/mesa3d/src/amd/common/
Dac_rtld.c651 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()