for_each_ne...mgr_in_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– for_each_ne...mgr_in_state(9) πŸ’–

okay bestie, this is the Kernel API Manual page for for_each_ne...mgr_in_state(9) β€” title's abbreviated, but the NAME section has the full macro name, iykyk. ✨ slay ✨

🌸 NAME 🌸

for_each_new_mst_mgr_in_state β€” iterate over all DP MST topology managers in an atomic update. that's the whole assignment, no cap πŸ’…

✨ SYNOPSIS ✨

for_each_new_mst_mgr_in_state (__state , mgr , new_state , __i );

πŸŽ€ ARGUMENTS πŸŽ€

  • __state β€” a struct drm_atomic_commit pointer. the atomic-commit hookup
  • mgr β€” a struct drm_dp_mst_topology_mgr iteration cursor. this is the manager you're looping on
  • new_state β€” a struct drm_dp_mst_topology_state iteration cursor for the new state. new-state energy only
  • __i β€” an int iteration cursor, for macro-internal use. hands off unless you're the macro, bestie

πŸ’… DESCRIPTION πŸ’…

This iterates over all DRM DP MST topology managers in an atomic update, tracking only the new state. It's highkey useful in enable functions, where we need the new state the hardware should be in when the atomic commit operation has completed. that's the vibe: enable functions, new state only, no old-state detours πŸ¦‹

no extra lore here β€” just new state and atomic update doing their thing. periodt.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/drm/display/drm_dp_mst_helper.h β€” plus the whole reference squad:


sign-off time, bestie: the footer's source/version line is ./include/drm/display, the date is October 2026, and the page is for_each_ne...mgr_in_state(9). πŸ’– bye, go iterate responsibly πŸ’–

πŸ“¦ where this page comes from