Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c119 for (i = 0; i < csc->num_relocs; i++) { in radeon_cs_context_cleanup()
128 csc->num_relocs = 0; in radeon_cs_context_cleanup()
198 num_buffers = csc->num_relocs; in radeon_lookup_buffer()
254 if (csc->num_relocs >= csc->max_relocs) { in radeon_lookup_or_add_real_buffer()
268 csc->relocs_bo[csc->num_relocs].bo = NULL; in radeon_lookup_or_add_real_buffer()
269 csc->relocs_bo[csc->num_relocs].u.real.priority_usage = 0; in radeon_lookup_or_add_real_buffer()
270 radeon_bo_reference(&csc->relocs_bo[csc->num_relocs].bo, bo); in radeon_lookup_or_add_real_buffer()
272 reloc = &csc->relocs[csc->num_relocs]; in radeon_lookup_or_add_real_buffer()
278 csc->reloc_indices_hashlist[hash] = csc->num_relocs; in radeon_lookup_or_add_real_buffer()
282 return csc->num_relocs++; in radeon_lookup_or_add_real_buffer()
[all …]
Dradeon_drm_cs.h55 unsigned num_relocs; member
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c55 list->num_relocs = other_list->num_relocs; in anv_reloc_list_init_clone()
58 list->num_relocs = 0; in anv_reloc_list_init_clone()
108 if (list->num_relocs + num_additional_relocs <= list->array_length) in anv_reloc_list_grow()
112 while (new_length < list->num_relocs + num_additional_relocs) in anv_reloc_list_grow()
129 memcpy(new_relocs, list->relocs, list->num_relocs * sizeof(*list->relocs)); in anv_reloc_list_grow()
131 list->num_relocs * sizeof(*list->reloc_bos)); in anv_reloc_list_grow()
156 index = list->num_relocs++; in anv_reloc_list_add()
175 VkResult result = anv_reloc_list_grow(list, alloc, other->num_relocs); in anv_reloc_list_append()
179 memcpy(&list->relocs[list->num_relocs], &other->relocs[0], in anv_reloc_list_append()
180 other->num_relocs * sizeof(other->relocs[0])); in anv_reloc_list_append()
[all …]
Danv_private.h957 uint32_t num_relocs; member
/external/kernel-headers/original/uapi/drm/
Dtegra_drm.h442 __u32 num_relocs; member
/external/libdrm/include/drm/
Dtegra_drm.h124 __u32 num_relocs; member