drm_atomic_commit_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_atomic_commit_put(9) β€” Kernel API Manual, bestie edition

okay so this is a page from the Kernel API Manual, and it's about drm_atomic_commit_put β€” yes it's a kernel function, yes it's a 9, yes we're doing this πŸ’–


✨ NAME ✨

drm_atomic_commit_put β€” release a reference to the atomic state πŸŽ€


🌸 SYNOPSIS 🌸

void drm_atomic_commit_put (struct drm_atomic_commit *state );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the atomic state, that's it, that's the whole vibe πŸ’«

🧚 DESCRIPTION 🧚

okay so picture this: you're holding a reference to state, and this function releases it. and the moment you drop that final reference? bestie, state gets freed. gone. no cap 😭

the actual slay here is that there's no locking required β€” none, zero, nada β€” and you can call it from any context. literally any. iconic behavior honestly πŸ‘‘

fr fr: the free only happens after the final reference is removed. don't be out here thinking it frees early, that's not the vibe πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/drm/drm_atomic.h, plus this whole friend group right here:


and that's the whole page, bestie 🫢 this came out of ./include/drm, dated October 2026, and the version string is literally drm_atomic_commit_put(9) β€” so yeah, the page is named after itself, main character energy fr πŸ’…βœ¨ go drop that reference, you got this πŸ’–

πŸ“¦ where this page comes from