__drm_dp_mst_state_iter_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __drm_dp_mst_state_iter_get(9) ✨

okay so real talk bestie β€” welcome to the Kernel API Manual, and today's main character is __drm_dp_mst_state_iter_get, which is literally a private atomic state iterator function for macro-internal use. yeah. that's the whole vibe. it's giving backstage-pass energy, not front-of-house πŸ’…


πŸŽ€ NAME πŸŽ€

__drm_dp_mst_state_iter_get β€” the private atomic state iterator function for macro-internal use. yes, the private one. it does not want to meet your friends, it does not want to be called by you, it is booked and busy 🫢


⭐ SYNOPSIS ⭐

bool __drm_dp_mst_state_iter_get (struct drm_atomic_commit *state ,
struct drm_dp_mst_topology_mgr **mgr , struct drm_dp_mst_topology_state
**old_state , struct drm_dp_mst_topology_state **new_state , int i );

ate, no crumbs. it returns a bool and takes five lil arguments. slay πŸ’–


🌸 ARGUMENTS 🌸

  • state β€” a struct drm_atomic_commit pointer. that's the whole thing, that's the argument, the state itself, iconic πŸ‘‘
  • mgr β€” pointer to the struct drm_dp_mst_topology_mgr iteration cursor. it's the little cursor that knows where you are in the walk-through, iykyk πŸ¦‹
  • old_state β€” optional pointer to the old struct drm_dp_mst_topology_state iteration cursor. optional!! she can be NULL, she can be present, she contains multitudes ✨
  • new_state β€” optional pointer to the new struct drm_dp_mst_topology_state iteration cursor. also optional, also unbothered, also just vibing 🌈
  • i β€” the int iteration cursor, for macro-internal use. that's it. that's the description. she's a number, she counts, we love her πŸ“

πŸ’œ DESCRIPTION πŸ’œ

so this one is used by for_each_oldnew_mst_mgr_in_state, for_each_old_mst_mgr_in_state, and for_each_new_mst_mgr_in_state. those three macros are the ones who actually get to call her.

⚠️ ok important bestie note: Don't call this directly. like, genuinely. this is macro-internal machinery. the macros are the ones holding the aux cord, you are not πŸ”₯

🧚 RETURN 🧚

it hands back true if the current struct drm_private_obj is a struct drm_dp_mst_topology_mgr β€” and false otherwise. a simple queen. a yes-or-no icon. no cap πŸ’€


πŸŽ€ SEE ALSO πŸŽ€


and that's the page!! 🫢 this lil icon lives in ./include/drm/display and the version/date stamp on her is October 2026 β€” so bestie, if you're reading this in some other month, no you're not πŸ˜­πŸ’– mwah, go read the macros, and please. do not call her directly. periodt 🌟

πŸ“¦ where this page comes from