Searched refs:max_relocs (Results 1 – 5 of 5) sorted by relevance
254 if (csc->num_relocs >= csc->max_relocs) { in radeon_lookup_or_add_real_buffer()256 csc->max_relocs = MAX2(csc->max_relocs + 16, (unsigned)(csc->max_relocs * 1.3)); in radeon_lookup_or_add_real_buffer()258 size = csc->max_relocs * sizeof(csc->relocs_bo[0]); in radeon_lookup_or_add_real_buffer()261 size = csc->max_relocs * sizeof(struct drm_radeon_cs_reloc); in radeon_lookup_or_add_real_buffer()
54 unsigned max_relocs; member
142 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()1981 assert(bo_gem->reloc_count < bufmgr_gem->max_relocs); in do_bo_emit_reloc()2059 new_size = bufmgr_gem->max_relocs; in drm_intel_gem_bo_add_softpin_target()3767 bufmgr_gem->max_relocs = batch_size / sizeof(uint32_t) / 2 - 2; in drm_intel_bufmgr_gem_init()
46 uint32_t nr_relocs, max_relocs; member