drm_atomic_...pology_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ drm_atomic_get_mst_topology_state(9) πŸ’œ

okay bestie, buckle up β€” this is the Kernel API Manual page for drm_atomic_get_mst_topology_state, and it's genuinely one of the more chill ones in the DRM universe. no cap. πŸ¦‹


✨ NAME ✨

drm_atomic_get_mst_topology_state β€” get MST topology state 🌸


✨ SYNOPSIS ✨

struct drm_dp_mst_topology_state * drm_atomic_get_mst_topology_state
(struct drm_atomic_commit *state , struct drm_dp_mst_topology_mgr *mgr
);

like, that's the whole vibe. one function, two args, iconic signature πŸ’…


✨ ARGUMENTS ✨

  • state β€” the global atomic state πŸ™ˆ β€” yes, the big one, the main character of the atomic commit world πŸ‘‘
  • mgr β€” the MST topology manager πŸŽ€ β€” and plot twist: in this case it's also the private object. double duty, we love to see it πŸ’–

✨ DESCRIPTION ✨

so here's the tea β˜• β€” this function is literally a little wrapper around drm_atomic_get_priv_obj_state. it passes in the MST atomic state vtable so that the private object state you get back is actually the state of a MST topology object. that's it, that's the whole job. it's giving "middle manager who just forwards the email" but like, in a useful way 🧚✨


✨ RETURN ✨

you get back the MST topology state, or an error pointer 😭 so yeah, always vibe check your return value before you dereference it, fr fr πŸ’€

no cap: an error pointer is not a valid topology state. check it. always. 🫢

✨ SEE ALSO ✨

okay this list is LONG and honestly kind of iconic, so let's give it the respect it deserves πŸ‘‘

like… that's a lot of friends and every single one of them ate πŸ”₯ iykyk 🌈


🌸 and that's the page!! 🌸 this little cutie lives in ./drivers/gpu/drm/display, and this edition is dated October 2026 πŸ’– go forth and get that topology state bestie, you got this πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from