Lines Matching refs:fences
2236 * It counts the number of emitted fences for each GFX and compute ring. If there
2237 * are any fences, it schedules the `enforce_isolation_work` to be run after a
2238 * delay of `GFX_SLICE_PERIOD`. If there are no fences, it signals the Kernel Fusion
2247 u32 i, idx, fences = 0;
2260 fences += amdgpu_fence_count_emitted(&adev->gfx.gfx_ring[i]);
2264 fences += amdgpu_fence_count_emitted(&adev->gfx.compute_ring[i]);
2266 if (fences) {
2421 u32 i, fences = 0;
2430 fences += amdgpu_fence_count_emitted(&adev->gfx.gfx_ring[i]);
2432 fences += amdgpu_fence_count_emitted(&adev->gfx.compute_ring[i]);
2433 if (!fences && !atomic_read(&adev->gfx.total_submission_cnt)) {