Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c272 if (csc->num_relocs >= csc->max_relocs) { in radeon_lookup_or_add_real_buffer()
274 csc->max_relocs = MAX2(csc->max_relocs + 16, (unsigned)(csc->max_relocs * 1.3)); in radeon_lookup_or_add_real_buffer()
276 size = csc->max_relocs * sizeof(csc->relocs_bo[0]); in radeon_lookup_or_add_real_buffer()
279 size = csc->max_relocs * sizeof(struct drm_radeon_cs_reloc); in radeon_lookup_or_add_real_buffer()
Dradeon_drm_cs.h59 unsigned max_relocs; member
/external/libdrm/etnaviv/
Detnaviv_priv.h142 uint32_t nr_relocs, max_relocs; member
/external/mesa3d/src/etnaviv/drm/
Detnaviv_priv.h149 uint32_t nr_relocs, max_relocs; member
/external/libdrm/intel/
Dintel_bufmgr_gem.c113 int max_relocs; member
613 unsigned int max_relocs = bufmgr_gem->max_relocs; in drm_intel_setup_reloc_list() local
615 if (bo->size / 4 < max_relocs) in drm_intel_setup_reloc_list()
616 max_relocs = bo->size / 4; in drm_intel_setup_reloc_list()
618 bo_gem->relocs = malloc(max_relocs * in drm_intel_setup_reloc_list()
620 bo_gem->reloc_target_info = malloc(max_relocs * in drm_intel_setup_reloc_list()
1997 assert(bo_gem->reloc_count < bufmgr_gem->max_relocs); in do_bo_emit_reloc()
2075 new_size = bufmgr_gem->max_relocs; in drm_intel_gem_bo_add_softpin_target()
3773 bufmgr_gem->max_relocs = batch_size / sizeof(uint32_t) / 2 - 2; in drm_intel_bufmgr_gem_init()
/external/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer.c87 cmd->nr_relocs = cmd->max_relocs = 0; in cmd_new()