Searched refs:max_fences (Results 1 – 5 of 5) sorted by relevance
51 unsigned max_fences; member
541 if (bo->u.slab.num_fences >= bo->u.slab.max_fences) { in radeon_bo_slab_fence()542 unsigned new_max_fences = bo->u.slab.max_fences + 1; in radeon_bo_slab_fence()544 bo->u.slab.max_fences * sizeof(*new_fences), in radeon_bo_slab_fence()552 bo->u.slab.max_fences = new_max_fences; in radeon_bo_slab_fence()
115 unsigned max_fences; member
1316 if (bo->num_fences + num_fences > bo->max_fences) { in amdgpu_add_fences()1317 unsigned new_max_fences = MAX2(bo->num_fences + num_fences, bo->max_fences * 2); in amdgpu_add_fences()1324 bo->max_fences = new_max_fences; in amdgpu_add_fences()1335 drop = bo->num_fences + num_fences - bo->max_fences; in amdgpu_add_fences()
162 bo->max_fences = 0; in amdgpu_bo_remove_fences()