__dma_fence_is_later(9)
β¨ __dma_fence_is_later(9) β¨
okay so bestie, welcome to the Kernel API Manual π β today we're doing __dma_fence_is_later, and honestly? it's giving tiny function, big main character energy π
π NAME π
__dma_fence_is_later β returns whether f1 is chronologically later than f2 β°β¨
π¦ SYNOPSIS π¦
bool __dma_fence_is_later (struct dma_fence *fence , u64 f1 , u64 f2 );
like, it takes a fence and two u64s and gives you back a bool, that's the whole vibe π«Ά
πΈ ARGUMENTS πΈ
fenceβ the fence in whose context we're doing the comparison, bestie. it's literally the setting of the whole scene π«f1β the first fence's seqno, ok? πf2β the second fence's seqno, and heads up: it's from the same context π₯
π DESCRIPTION π
So here's the tea β: this returns true if f1 is chronologically later than f2. That's it. That's the function. Slay π
β οΈ but listen β both fences MUST be from the same context. A seqno is not common across contexts, so comparing across them is a no-no, no cap π π
β SEE ALSO β
Kernel file ./include/linux/dma-fence.h π§ and the whole friend group:
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_or_same(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 π this lil gem lives in ./include/linux, the version is October 2026, and it's filed under __dma_fence_is_later(9) β go forth and compare seqnos responsibly, ilysm ππ«Άβ¨
π¦ 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