Searched refs:max_fences (Results 1 – 5 of 5) sorted by relevance
51 unsigned max_fences; member
521 if (bo->u.slab.num_fences >= bo->u.slab.max_fences) { in radeon_bo_slab_fence()522 unsigned new_max_fences = bo->u.slab.max_fences + 1; in radeon_bo_slab_fence()524 bo->u.slab.max_fences * sizeof(*new_fences), in radeon_bo_slab_fence()532 bo->u.slab.max_fences = new_max_fences; in radeon_bo_slab_fence()
112 unsigned max_fences; member
1110 if (bo->num_fences + num_fences > bo->max_fences) { in amdgpu_add_fences()1111 unsigned new_max_fences = MAX2(bo->num_fences + num_fences, bo->max_fences * 2); in amdgpu_add_fences()1118 bo->max_fences = new_max_fences; in amdgpu_add_fences()1129 drop = bo->num_fences + num_fences - bo->max_fences; in amdgpu_add_fences()
161 bo->max_fences = 0; in amdgpu_bo_remove_fences()