Searched refs:idle_fences (Results 1 – 1 of 1) sorted by relevance
85 unsigned idle_fences; in amdgpu_bo_wait() local90 for (idle_fences = 0; idle_fences < bo->num_fences; ++idle_fences) { in amdgpu_bo_wait()91 if (!amdgpu_fence_wait(bo->fences[idle_fences], 0, false)) in amdgpu_bo_wait()96 for (unsigned i = 0; i < idle_fences; ++i) in amdgpu_bo_wait()99 memmove(&bo->fences[0], &bo->fences[idle_fences], in amdgpu_bo_wait()100 (bo->num_fences - idle_fences) * sizeof(*bo->fences)); in amdgpu_bo_wait()101 bo->num_fences -= idle_fences; in amdgpu_bo_wait()