drm_atomic_commit_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_atomic_commit_init(9) ✨

okay so bestie, welcome to the drm_atomic_commit_init page from the Kernel API Manual β€” yes we're in kernel land today and honestly it's giving main character energy πŸ”₯


🌸 SYNOPSIS 🌸

int drm_atomic_commit_init (struct drm_device *dev , struct
       drm_atomic_commit *state );

like, that's the whole vibe: it returns an int, it takes a struct drm_device * and a struct drm_atomic_commit *, and that's it πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the DRM device, aka the whole entire display situation you're working with πŸ–₯️
  • state β€” the atomic state, the thing being filled in, the star of the show ⭐

πŸ’– DESCRIPTION πŸ’–

So this is the default implementation for filling in a new atomic state. Like, it's the out-of-the-box way to set up a fresh state, no cap.

⚠️ real talk though: this should only be used by drivers which are still subclassing drm_atomic_commit and haven't switched to drm_private_state yet. if you're on the new stuff, this is not your moment bestie πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

okay this list is LONG and honestly iconic β€” it's the whole atomic-state friend group 🫢

like, go read them all, iykyk 🧚✨


kisses and good luck out there in the DRM subsystem πŸ’œ this little page lives in ./drivers/gpu/drm and it's dated October 2026 β€” slay, see you in the next kernel release πŸŒˆπŸŽ€

πŸ“¦ where this page comes from