for_each_ne...tor_in_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ for_each_new_connector_in_state(9) ✨

okay bestie, welcome to the Kernel API Manual side of the group chat β€” this is the page for for_each_new_connector_in_state. πŸ’–

🌸 SYNOPSIS 🌸

for_each_new_connector_in_state (__state , connector , new_connector_state , __i );

πŸŽ€ ARGUMENTS πŸŽ€

  • __state β€” a struct drm_atomic_commit pointer. main-character pointer energy, fr.
  • connector β€” a struct drm_connector iteration cursor. it's giving β€œwhere we at in the connector list” vibes. πŸ¦‹
  • new_connector_state β€” a struct drm_connector_state iteration cursor for the new state. yes bestie, the new-state cursor πŸ’….
  • __i β€” an int iteration cursor, for macro-internal use. lowkey just the macro’s own little counter, don’t touch unless you’re the macro. πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this iterates over all connectors in an atomic update, tracking only the new state. literally all the connectors, but only peeking at the new-state side of the situation. ✨

it’s useful in enable functions, where we need the new state the hardware should be in when the atomic commit operation has completed. no cap β€” that’s the exact vibe: new state, post-commit, hardware goals. πŸ”₯

🌈 SEE ALSO 🌈

the kernel file is ./include/drm/drm_atomic.h, and the related-API friend group is:


mwah πŸ’‹ β€” source/version: ./include/drm; date: October 2026; and this is the for_each_ne...tor_in_state(9) page. periodt. 🫢

πŸ“¦ where this page comes from