Rev 6104 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6104 | Rev 6321 | ||
---|---|---|---|
Line 347... | Line 347... | ||
347 | } |
347 | } |
Line 348... | Line 348... | ||
348 | 348 | ||
349 | /* see if we can skip over some allocations */ |
349 | /* see if we can skip over some allocations */ |
Line -... | Line 350... | ||
- | 350 | } while (radeon_sa_bo_next_hole(sa_manager, fences, tries)); |
|
- | 351 | ||
- | 352 | for (i = 0; i < RADEON_NUM_RINGS; ++i) |
|
350 | } while (radeon_sa_bo_next_hole(sa_manager, fences, tries)); |
353 | radeon_fence_ref(fences[i]); |
351 | 354 | ||
- | 355 | spin_unlock(&sa_manager->wq.lock); |
|
- | 356 | r = radeon_fence_wait_any(rdev, fences, false); |
|
352 | spin_unlock(&sa_manager->wq.lock); |
357 | for (i = 0; i < RADEON_NUM_RINGS; ++i) |
353 | r = radeon_fence_wait_any(rdev, fences, false); |
358 | radeon_fence_unref(&fences[i]); |
354 | spin_lock(&sa_manager->wq.lock); |
359 | spin_lock(&sa_manager->wq.lock); |
355 | /* if we have nothing to wait for block */ |
360 | /* if we have nothing to wait for block */ |
356 | if (r == -ENOENT) { |
361 | if (r == -ENOENT) { |