Searched refs:new_max_fences (Results 1 – 2 of 2) sorted by relevance
553 unsigned new_max_fences = bo->u.slab.max_fences + 1; in radeon_bo_slab_fence() local556 new_max_fences * sizeof(*new_fences)); in radeon_bo_slab_fence()563 bo->u.slab.max_fences = new_max_fences; in radeon_bo_slab_fence()
1284 unsigned new_max_fences = MAX2(bo->num_fences + num_fences, bo->max_fences * 2); in amdgpu_add_fences() local1288 new_max_fences * sizeof(*new_fences)); in amdgpu_add_fences()1289 if (likely(new_fences && new_max_fences < UINT16_MAX)) { in amdgpu_add_fences()1291 bo->max_fences = new_max_fences; in amdgpu_add_fences()