__drm_dp_mst_state_iter_get(9)
β¨ __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β astruct drm_atomic_commitpointer. that's the whole thing, that's the argument, the state itself, iconic πmgrβ pointer to thestruct drm_dp_mst_topology_mgriteration cursor. it's the little cursor that knows where you are in the walk-through, iykyk π¦old_stateβ optional pointer to the oldstruct drm_dp_mst_topology_stateiteration cursor. optional!! she can beNULL, she can be present, she contains multitudes β¨new_stateβ optional pointer to the newstruct drm_dp_mst_topology_stateiteration cursor. also optional, also unbothered, also just vibing πiβ theintiteration 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 π
- the kernel file
./include/drm/display/drm_dp_mst_helper.h 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)for_each_oldnew_mst_mgr_in_state(9)for_each_old_mst_mgr_in_state(9)for_each_new_mst_mgr_in_state(9)
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
- 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