drm_syncobj_fence_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

drm_syncobj_fence_get β€” bestie, this is the one that gets you a reference to a fence in a sync object ✨

(also hi, you're reading the Kernel API Manual page for it, welcome 🫢)


🌸 SYNOPSIS 🌸

struct dma_fence * drm_syncobj_fence_get (struct drm_syncobj *syncobj );

πŸŽ€ ARGUMENTS πŸŽ€

  • syncobj β€” the sync object. that's it, that's the whole argument. the sync object in question πŸ’–

✨ DESCRIPTION ✨

okay so here's the tea β˜• β€” this function acquires an additional reference to the drm_syncobj.fence contained in obj, but only if it's not NULL. like, no fence? no reference. simple as that πŸ’β€β™€οΈ

⚠️ not me warning you: it is illegal to call this without already holding a reference. like, fr fr, don't do it. this is not a vibe check you want to fail πŸ’€

and the good news? No locks required. none. zero. you're free πŸ¦‹ slay.


πŸ”₯ RETURN πŸ”₯

either the fence of obj, or NULL if there's none. that's the whole return value, no cap πŸ‘‘


🌈 SEE ALSO 🌈

go read those too, iykyk πŸ“šβœ¨


mwah πŸ’‹ that's a wrap β€” this page lives in ./include/drm, stamped October 2026, and it's literally titled drm_syncobj_fence_get(9) in case you forgot already πŸ™ˆ stay iconic, go get that fence reference πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from