Home
last modified time | relevance | path

Searched refs:pfence (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_preempt_fence.h19 void xe_preempt_fence_free(struct xe_preempt_fence *pfence);
22 xe_preempt_fence_arm(struct xe_preempt_fence *pfence, struct xe_exec_queue *q,
42 xe_preempt_fence_link(struct xe_preempt_fence *pfence) in xe_preempt_fence_link() argument
44 return &pfence->link; in xe_preempt_fence_link()
H A Dxe_vm.c72 if (!q->lr.pfence || in preempt_fences_waiting()
74 &q->lr.pfence->flags)) { in preempt_fences_waiting()
100 struct xe_preempt_fence *pfence = xe_preempt_fence_alloc(); in alloc_preempt_fences() local
102 if (IS_ERR(pfence)) in alloc_preempt_fences()
103 return PTR_ERR(pfence); in alloc_preempt_fences()
105 list_move_tail(xe_preempt_fence_link(pfence), list); in alloc_preempt_fences()
121 if (q->lr.pfence) { in wait_for_existing_preempt_fences()
124 timeout = dma_fence_wait_timeout(q->lr.pfence, false, in wait_for_existing_preempt_fences()
132 if (timeout < 0 || q->lr.pfence->error == -ETIME) in wait_for_existing_preempt_fences()
135 dma_fence_put(q->lr.pfence); in wait_for_existing_preempt_fences()
[all …]
H A Dxe_exec_queue_types.h135 struct dma_fence *pfence; member
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c395 nouveau_fence_unref(struct nouveau_fence **pfence) in nouveau_fence_unref() argument
397 if (*pfence) in nouveau_fence_unref()
398 dma_fence_put(&(*pfence)->base); in nouveau_fence_unref()
399 *pfence = NULL; in nouveau_fence_unref()
403 nouveau_fence_create(struct nouveau_fence **pfence, in nouveau_fence_create() argument
417 *pfence = fence; in nouveau_fence_create()
422 nouveau_fence_new(struct nouveau_fence **pfence, in nouveau_fence_new() argument
427 ret = nouveau_fence_create(pfence, chan); in nouveau_fence_new()
431 ret = nouveau_fence_emit(*pfence); in nouveau_fence_new()
433 nouveau_fence_unref(pfence); in nouveau_fence_new()
/linux/include/linux/
H A Ddma-fence-chain.h125 int dma_fence_chain_find_seqno(struct dma_fence **pfence, uint64_t seqno);