dma_fence_chain_contained(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dma_fence_chain_contained(9)

okay bestie so this is a page from the Kernel API Manual β€” dma_fence_chain_contained, section 9. it's short, it's sweet, it's giving ✨utility function✨ and honestly? we love a no-drama helper. let's get into it 🫢


✨ SYNOPSIS ✨

struct dma_fence * dma_fence_chain_contained (struct dma_fence *fence );

that's it. that's the whole vibe. one arg in, one <cyan>struct dma_fence *</cyan> out. πŸ’…


🌸 ARGUMENTS 🌸

  • fence β€” the fence you wanna test, bb. that's the one we're peeking at πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” this function is lowkey a little detective πŸ”.

if the fence you hand it is a dma_fence_chain, then it returns the fence contained inside the chain object. like, it opens the box and hands you what's in the box 🎁

but if it's not a chain, no worries, no transformation arc β€” it just returns the fence itself. same fence, no cap. πŸͺž

literally: chain in β†’ contained fence out. anything else in β†’ the same thing back out. iconic behavior, honestly πŸ‘‘

⭐ SEE ALSO ⭐

go read these next, bestie, they're all in the kernel file ./include/linux/dma-fence-chain.h πŸ“‚:

that's the whole friend group right there, fr fr 🌈


and that's the page! 🧚 source is the ./include/linux kernel file, dated October 2026 β€” thanks for coming to my ted talk, mwah πŸ’–πŸŽ€πŸŒ·

πŸ“¦ where this page comes from