Lines Matching defs:fence
42 struct radeon_fence *fence = NULL;
129 r = radeon_copy_dma(rdev, gtt_addr, vram_addr, size / RADEON_GPU_PAGE_SIZE, &fence);
131 r = radeon_copy_blit(rdev, gtt_addr, vram_addr, size / RADEON_GPU_PAGE_SIZE, &fence);
137 r = radeon_fence_wait(fence, false);
139 DRM_ERROR("Failed to wait for GTT->VRAM fence %d\n", i);
143 radeon_fence_unref(&fence);
175 r = radeon_copy_dma(rdev, vram_addr, gtt_addr, size / RADEON_GPU_PAGE_SIZE, &fence);
177 r = radeon_copy_blit(rdev, vram_addr, gtt_addr, size / RADEON_GPU_PAGE_SIZE, &fence);
183 r = radeon_fence_wait(fence, false);
185 DRM_ERROR("Failed to wait for VRAM->GTT fence %d\n", i);
189 radeon_fence_unref(&fence);
243 if (fence) {
244 radeon_fence_unref(&fence);
281 DRM_ERROR("Failed to emit fence 1\n");
288 DRM_ERROR("Failed to emit fence 2\n");
311 DRM_ERROR("Failed to wait for sync fence 1\n");
332 DRM_ERROR("Failed to wait for sync fence 1\n");
373 DRM_ERROR("Failed to emit sync fence 1\n");
387 DRM_ERROR("Failed to create sync fence 2\n");
421 DRM_ERROR("Neither fence A nor B has been signaled\n");
424 DRM_ERROR("Both fence A and B has been signaled\n");
442 DRM_ERROR("Failed to wait for sync fence A\n");
447 DRM_ERROR("Failed to wait for sync fence B\n");