Lines Matching refs:seqno
384 vc4_wait_for_seqno(struct drm_device *dev, uint64_t seqno, uint64_t timeout_ns, in vc4_wait_for_seqno() argument
395 if (vc4->finished_seqno >= seqno) in vc4_wait_for_seqno()
403 trace_vc4_wait_for_seqno_begin(dev, seqno, timeout_ns); in vc4_wait_for_seqno()
414 if (vc4->finished_seqno >= seqno) in vc4_wait_for_seqno()
429 trace_vc4_wait_for_seqno_end(dev, seqno); in vc4_wait_for_seqno()
497 trace_vc4_submit_cl(dev, false, exec->seqno, exec->ct0ca, in vc4_submit_next_bin_job()
536 trace_vc4_submit_cl(dev, true, exec->seqno, exec->ct1ca, exec->ct1ea); in vc4_submit_next_render_job()
555 vc4_update_bo_seqnos(struct vc4_exec_info *exec, uint64_t seqno) in vc4_update_bo_seqnos() argument
562 bo->seqno = seqno; in vc4_update_bo_seqnos()
569 bo->seqno = seqno; in vc4_update_bo_seqnos()
574 bo->write_seqno = seqno; in vc4_update_bo_seqnos()
690 uint64_t seqno; in vc4_queue_submit() local
701 seqno = ++vc4->emit_seqno; in vc4_queue_submit()
702 exec->seqno = seqno; in vc4_queue_submit()
705 vc4->dma_fence_context, exec->seqno); in vc4_queue_submit()
706 fence->seqno = exec->seqno; in vc4_queue_submit()
712 vc4_update_bo_seqnos(exec, seqno); in vc4_queue_submit()
1031 if (cb->seqno <= vc4->finished_seqno) { in vc4_job_handle_completed()
1048 struct vc4_seqno_cb *cb, uint64_t seqno, in vc4_queue_seqno_cb() argument
1061 if (seqno > vc4->finished_seqno) { in vc4_queue_seqno_cb()
1062 cb->seqno = seqno; in vc4_queue_seqno_cb()
1087 uint64_t seqno, in vc4_wait_for_seqno_ioctl_helper() argument
1091 int ret = vc4_wait_for_seqno(dev, seqno, *timeout_ns, true); in vc4_wait_for_seqno_ioctl_helper()
1113 return vc4_wait_for_seqno_ioctl_helper(dev, args->seqno, in vc4_wait_seqno_ioctl()
1140 ret = vc4_wait_for_seqno_ioctl_helper(dev, bo->seqno, in vc4_wait_bo_ioctl()
1297 args->seqno = vc4->emit_seqno; in vc4_submit_cl_ioctl()