dma_fence_is_later_or_same(9)
π NAME π
ok so dma_fence_is_later_or_same β bestie, this is the little guy that returns true if f1 is later than or the same as f2 π«Ά that's literally the whole job.
β¨ SYNOPSIS β¨
bool dma_fence_is_later_or_same (struct dma_fence *f1 , struct dma_fence
*f2 );
like yes she's a bool-returning icon, no cap π
π ARGUMENTS π
f1β the first fence, and she's gotta be from the same context as her bestie over there πf2β the second fence, also from the same context, we do not mix friend groups here π«
πΈ DESCRIPTION πΈ
So the vibe check is this: it returns true if f1 is chronologically later than f2, or if they're literally the same fence. Same fence? still slay, still true. π
β οΈ okay this part matters, do not skip it: both fences must be from the same context, because a seqno is not re-used across contexts. like, the seqnos only make sense inside one context, so comparing across contexts is giving chaos and it's not the move π
π¦ SEE ALSO π¦
Kernel file ./include/linux/dma-fence.h, plus the whole friend group of related pages β go say hi π
struct dma_fence(9)struct dma_fence_cb(9)struct dma_fence_ops(9)dma_fence_was_initialized(9)dma_fence_put(9)dma_fence_get(9)dma_fence_get_rcu(9)dma_fence_get_rcu_safe(9)dma_fence_spinlock(9)dma_fence_lock_irqsave(9)dma_fence_unlock_irqrestore(9)dma_fence_assert_held(9)- Safe external access to driver provided object members(9)
dma_fence_is_signaled_locked(9)dma_fence_is_signaled(9)__dma_fence_is_later(9)dma_fence_is_later(9)dma_fence_later(9)dma_fence_get_status_locked(9)dma_fence_set_error(9)dma_fence_timestamp(9)dma_fence_wait(9)dma_fence_is_array(9)dma_fence_is_chain(9)dma_fence_is_container(9)
and that's the whole page, bestie, you ate that π
mwah, this one came from the ./include/linux corner of the kernel, dated October 2026, and yes she's filed under dma_fence_is_later_or_same(9) β go forth and compare fences responsibly πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms