Searched refs:max_relocs (Results 1 – 6 of 6) sorted by relevance
272 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()
59 unsigned max_relocs; member
142 uint32_t nr_relocs, max_relocs; member
149 uint32_t nr_relocs, max_relocs; member
113 int max_relocs; member613 unsigned int max_relocs = bufmgr_gem->max_relocs; in drm_intel_setup_reloc_list() local615 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()
87 cmd->nr_relocs = cmd->max_relocs = 0; in cmd_new()