drm_client_f...nnector_iter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_client_for_each_connector_iter(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so real talk, this is a page from the Kernel API Manual and it's about a macro that loops over connectors. yes, that kind of loop. stay with me, it's literally so cute once you get it.


✨ NAME ✨

drm_client_for_each_connector_iter β€” the connector_list iterator macro πŸ¦‹

like, it's a macro. it iterates. over the connector list. that's the whole vibe.


🌸 SYNOPSIS 🌸

drm_client_for_each_connector_iter (connector , iter );

that's it. two things go in, the loop happens, slay. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • connector β€” a struct drm_connector pointer, and it's the cursor bestie. it's the thing that walks the list, pointing at each connector as you go. main character energy fr fr ✨
  • iter β€” a struct drm_connector_list_iter. the iterator state, holding it all together behind the scenes. lowkey the backbone of the whole operation 🫢

πŸ’– DESCRIPTION πŸ’–

so this macro iterates over the connectors that are useable for internal clients β€” and yes, it excludes writeback connectors. not invited to the party, sorry not sorry πŸ™ˆ

for more info, go see drm_for_each_connector_iter β€” that's the icon it's giving a shoutout to. iykyk ⭐


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/drm/drm_client.h
  • struct drm_client_funcs(9)
  • struct drm_client_dev(9)
  • struct drm_client_buffer(9)
  • drm_client_for_each_modeset(9)

go read those too, they're all in the same friend group πŸ’œ


k bye bestie, this page lives in ./include/drm and honestly it ate β€” October 2026, Kernel API Manual, no cap 🌈πŸ”₯πŸ’–

πŸ“¦ where this page comes from