dma_fence_put(9)
π dma_fence_put(9)
okay so real talk bestie, this is a page straight out of the Kernel API Manual, and it's literally one function doing one job. no cap. it's dma_fence_put, and it's the "let go of the fence" girlie of the DRM/KMS world.
β¨ NAME β¨
dma_fence_put β decreases refcount of the fence π
like, that's it. that's the whole vibe. the refcount goes down, bestie goes on with her day π
πΈ SYNOPSIS πΈ
void dma_fence_put (struct dma_fence *fence );
literally the whole signature, no notes, copy it exactly iykyk π
π¦ ARGUMENTS π¦
fenceβ the fence to reduce refcount of π this is the one you're letting go of, the one you're done with, the one you're dropping. be normal about it.
π SEE ALSO π
okay this is the part where I hold your hand and walk you around the whole friend group, because the fence fam is HUGE and every single one of them is invited:
- Kernel file
./include/linux/dma-fence.h struct dma_fence(9)struct dma_fence_cb(9)struct dma_fence_ops(9)dma_fence_was_initialized(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_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)
that's twenty-six (26) entries bestie, I counted so you don't have to π every one of them is real and every one of them is listed, no edits, no skips, we don't do that here π«Ά
also note the pairing:dma_fence_get(9)is the one that bumps the refcount up, anddma_fence_put(9)is the one up there βοΈ that brings it back down. balance. harmony. main character energy β¨
π sign-off π
and that's the page! sourced from ./include/linux, dated October 2026, all wrapped up with a lil bow π fr fr, go put that fence down and live your life ππ§β
π¦ 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