for_each_ne...mgr_in_state(9)
π 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β astruct drm_atomic_commitpointer. the atomic-commit hookupmgrβ astruct drm_dp_mst_topology_mgriteration cursor. this is the manager you're looping onnew_stateβ astruct drm_dp_mst_topology_stateiteration cursor for the new state. new-state energy only__iβ anintiteration 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 β justnew stateandatomic updatedoing their thing. periodt.
π₯ SEE ALSO π₯
Kernel file: ./include/drm/display/drm_dp_mst_helper.h β plus the whole reference squad:
struct drm_dp_mst_port(9)struct drm_dp_mst_branch(9)struct drm_dp_mst_atomic_payload(9)struct drm_dp_mst_topology_state(9)struct drm_dp_mst_topology_mgr(9)enum drm_dp_mst_mode(9)__drm_dp_mst_state_iter_get(9)for_each_oldnew_mst_mgr_in_state(9)for_each_old_mst_mgr_in_state(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms