Lines Matching refs:fence
71 /* We could be getting a bo from the bo-cache, make sure the fence value
74 pipe->control->fence = 0;
180 fd_pipe_wait(struct fd_pipe *pipe, const struct fd_fence *fence)
182 return fd_pipe_wait_timeout(pipe, fence, ~0);
186 fd_pipe_wait_timeout(struct fd_pipe *pipe, const struct fd_fence *fence,
189 if (!fd_fence_after(fence->ufence, pipe->control->fence))
192 fd_pipe_flush(pipe, fence->ufence);
194 return pipe->funcs->wait(pipe, fence, timeout);
200 uint32_t fence = ++pipe->last_fence;
205 OUT_RELOC(ring, control_ptr(pipe, fence)); /* ADDR_LO/HI */
206 OUT_RING(ring, fence);
210 OUT_RELOC(ring, control_ptr(pipe, fence)); /* ADDR */
211 OUT_RING(ring, fence);
214 return fence;