drm_crtc_commit_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_crtc_commit_get(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the Kernel API Manual entry for drm_crtc_commit_get(9). this one is short and sweet and honestly kind of a queen β€” it's the refcount grabber for CRTC commits, and you're gonna slay it ✨


🌸 NAME 🌸

drm_crtc_commit_get β€” acquire a reference to the CRTC commit

like, you're literally just picking up a reference. that's the whole vibe check. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct drm_crtc_commit * drm_crtc_commit_get (struct drm_crtc_commit
*commit );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • commit β€” CRTC commit 🌈

(that's it. that's the only arg. she's low maintenance.)


✨ DESCRIPTION ✨

Increases the reference of commit. 🫢

no cap, that's the entire description. you hand her a commit, she bumps the refcount. iconic behavior, zero drama. the way that this function has exactly one job and does it β€” obsessed πŸ˜­πŸ’–

just remember: refcounts you take, you gotta give back. drm_crtc_commit_put(9) is right there in SEE ALSO, iykyk πŸ‘€

πŸ‘‘ RETURN πŸ‘‘

The pointer to commit, with reference increased. πŸ’€βž‘οΈπŸ’–

so like, you get the same pointer back β€” not a copy, not a new one, literally the one you passed in β€” except now the refcount is one higher and honestly? main character energy ⭐


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie!! πŸ§šβ€β™€οΈ

cute lil sign-off time: this one lives in ./include/drm, it's dated October 2026, and the page itself is drm_crtc_commit_get(9) πŸ“ go forth and increment those refcounts responsibly, mwah πŸ’œπŸ’…

πŸ“¦ where this page comes from