drm_atomic_..._commit_tail(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_atomic_..._commit_tail(9) πŸ’…

okay bestie so you've wandered into the Kernel API Manual, section 9, and the star of the show is drm_atomic_..._commit_tail. technically the whole function name is drm_atomic_helper_commit_tail β€” the header's just doing that abbreviated thing where it clips the middle out, iykyk. pull up a chair, this one's short but it slays πŸ’–


✨ NAME ✨

drm_atomic_helper_commit_tail β€” commit atomic update to hardware. yes that's the whole name section, it's serving brevity and honestly? iconic.


🌸 SYNOPSIS 🌸

void drm_atomic_helper_commit_tail (struct drm_atomic_commit *state );

πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” the atomic state object being committed. that's it, that's the whole arg list, she's low-maintenance 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: this is the default implementation for the drm_mode_config_helper_funcs.atomic_commit_tail hook. like, if you don't write your own, this is what you get, and it's genuinely good ✨

it's for drivers that do not support runtime_pm or do not need the CRTC to be enabled to perform a commit. that's the whole vibe check β€” no runtime power management shenanigans, no need for the CRTC to be up and living its best life before the commit goes through.

🚨 but listen β€” if that's not your situation, you're in the wrong place bestie. for everything else, go see drm_atomic_helper_commit_tail_rpm instead. don't just use this one because it's first alphabetically, pls and thank u πŸ™ˆ

also important, no cap: the default ordering of how the various stages are called is deliberately chosen to match the legacy modeset helper library as closely as possible. like, the sequencing is trying to be the closest match to the old guard β€” so if you're wondering why the order is the way it is, that's why. main character callback, legacy-adjacent choreography πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” every one of these is a (9) and every single one is here because I would never leave one out πŸ’œ


and that's the page!! 🌈 source path is ./drivers/gpu/drm, and this beauty is dated October 2026 β€” yes, future-dated, she's ahead of her time, we love a forward-thinking icon 🧚 mwah, go commit some atoms responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from