drm_dp_mst_a...setup_commit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_mst_atomic_setup_commit(9) β€” like, the MST helpers hook bestie

okay so this is a Kernel API Manual page, and the function we're obsessing over today is drm_dp_mst_atomic_setup_commit. yes it's a long name. no we're not shortening it. ✨


✨ NAME ✨

drm_dp_mst_atomic_setup_commit β€” literally the setup_commit hook for MST helpers πŸŽ€


🌸 SYNOPSIS 🌸

int drm_dp_mst_atomic_setup_commit (struct drm_atomic_commit *state );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the global atomic state. that's the one, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

okay so what this function does: it takes all of the drm_crtc_commit structs sitting in an atomic state that touch any CRTCs currently assigned to an MST topology, and it saves them. all of them. it's giving "collect them all" energy, except they're commit structs and not stickers 😌

and here's the part where you gotta listen: drivers must call this hook from their drm_mode_config_helper_funcs.atomic_commit_setup hook. like, that's the assignment. no skipping. πŸ“


πŸ”₯ RETURN πŸ”₯

  • 0 β€” slay, every CRTC commit was retrieved successfully πŸ’…
  • negative error code β€” nope, something went sideways 😭

⭐ SEE ALSO ⭐

the whole friend group, in the kernel file ./drivers/gpu/drm/display/drm_dp_mst_topology.c πŸ‘‘


that's the whole thing, bestie, you ate that πŸ“

ngl this lives at ./drivers/gpu/drm/display and the page is dated October 2026 β€” and yes, it's still filed under drm_dp_mst_a...setup_commit(9) because apparently the man page title budget ran out πŸ’€ anyways, mwah, go call your hooks correctly πŸ§šπŸ’œ
πŸ“¦ where this page comes from