Searched refs:max_relocs (Results 1 – 6 of 6) sorted by relevance
291 if (csc->num_relocs >= csc->max_relocs) { in radeon_lookup_or_add_real_buffer()293 csc->max_relocs = MAX2(csc->max_relocs + 16, (unsigned)(csc->max_relocs * 1.3)); in radeon_lookup_or_add_real_buffer()295 size = csc->max_relocs * sizeof(csc->relocs_bo[0]); in radeon_lookup_or_add_real_buffer()298 size = csc->max_relocs * sizeof(struct drm_radeon_cs_reloc); in radeon_lookup_or_add_real_buffer()
59 unsigned max_relocs; member
142 uint32_t nr_relocs, max_relocs; member
113 int max_relocs; member574 unsigned int max_relocs = bufmgr_gem->max_relocs; in drm_intel_setup_reloc_list() local576 if (bo->size / 4 < max_relocs) in drm_intel_setup_reloc_list()577 max_relocs = bo->size / 4; in drm_intel_setup_reloc_list()579 bo_gem->relocs = malloc(max_relocs * in drm_intel_setup_reloc_list()581 bo_gem->reloc_target_info = malloc(max_relocs * in drm_intel_setup_reloc_list()2040 assert(bo_gem->reloc_count < bufmgr_gem->max_relocs); in do_bo_emit_reloc()2118 new_size = bufmgr_gem->max_relocs; in drm_intel_gem_bo_add_softpin_target()3701 bufmgr_gem->max_relocs = batch_size / sizeof(uint32_t) / 2 - 2; in drm_intel_bufmgr_gem_init()
146 uint32_t nr_relocs, max_relocs; member
83 cmd->nr_relocs = cmd->max_relocs = 0; in cmd_new()