Lines Matching defs:fence
341 * @fence: optional fence to return
346 uint32_t handle, struct radeon_fence **fence)
394 if (fence)
395 *fence = radeon_fence_ref(ib.fence);
408 * @fence: optional fence to return
413 uint32_t handle, struct radeon_fence **fence)
451 if (fence)
452 *fence = radeon_fence_ref(ib.fence);
728 * radeon_vce_fence_emit - add a fence command to the ring
731 * @fence: the fence
735 struct radeon_fence *fence)
737 struct radeon_ring *ring = &rdev->ring[fence->ring];
738 uint64_t addr = rdev->fence_drv[fence->ring].gpu_addr;
743 radeon_ring_write(ring, cpu_to_le32(fence->seq));
797 struct radeon_fence *fence = NULL;
806 r = radeon_vce_get_destroy_msg(rdev, ring->idx, 1, &fence);
812 r = radeon_fence_wait_timeout(fence, false, usecs_to_jiffies(
815 DRM_ERROR("radeon: fence wait failed (%d).\n", r);
817 DRM_ERROR("radeon: fence wait timed out.\n");
824 radeon_fence_unref(&fence);