drm_dp_mst_...dependencies(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_dp_mst_atomic_wait_for_dependencies ✨

okay bestie, so we're in the Kernel API Manual today and the page is literally called drm_dp_mst_...dependencies(9) and honestly? icon behavior. let's get into it 🫢


πŸ’– NAME πŸ’–

drm_dp_mst_atomic_wait_for_dependencies β€” it waits for literally all the pending commits on MST topologies, and then gets the new MST state all prepped and ready for commit. she does both. multitasking queen πŸ‘‘


🌸 SYNOPSIS 🌸

void drm_dp_mst_atomic_wait_for_dependencies (struct drm_atomic_commit
*state );

πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” the global atomic state. that's it. that's the whole argument. slay πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this function goes through any MST topologies chillin' in this atomic state, and it waits for any pending commits that touched CRTCs which were/are on an MST topology to actually get programmed to hardware and flipped to before it returns. ngl that's a mouthful but stay with me 🧚

the why is lowkey important though: this is to prevent multiple non-blocking commits that affect an MST topology from racing with each other. how? by forcing them to be executed sequentially in situations where the only resources the modeset objects in these commits share are an MST topology. so yeah, no cap, she's the traffic cop of your MST commits 🚦

this function also prepares the new MST state for commit β€” performing some state preparation that literally cannot be done until this point. the example given is reading back the final VC start slots from the previous state, and those are determined at commit-time, so like... the timing is the whole thing, iykyk ⭐

important bestie: all MST drivers must call this function after calling drm_atomic_helper_wait_for_dependencies, or whatever their equivalent of that is. not optional. periodt πŸ’€

🌈 SEE ALSO 🌈

the whole friend group, in order, no one left out πŸ’œ


and that's the whole page bestie, we ate and left zero crumbs πŸ“

source location was ./drivers/gpu/drm/display, dated October 2026, and the page itself answers to drm_dp_mst_...dependencies(9) β€” write that down, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from