drm_dp_mst_p...am_of_parent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

drm_dp_mst_port_downstream_of_parent β€” check if a port is downstream of a parent port πŸ’…

okay so real quick, this is a page from the Kernel API Manual, and it's about one tiny little function that answers one tiny little question: is this port, like, under that port? family tree energy fr fr 🌳


🌸 SYNOPSIS 🌸

bool drm_dp_mst_port_downstream_of_parent (struct
       drm_dp_mst_topology_mgr *mgr , struct drm_dp_mst_port *port , struct
       drm_dp_mst_port *parent );

πŸŽ€ ARGUMENTS πŸŽ€

  • mgr β€” the MST topology manager, aka the main character of this whole topology situation πŸ‘‘
  • port β€” the port being looked up, the one we're asking about πŸ•΅οΈβ€β™€οΈ
  • parent β€” the parent port, the one we're asking about about πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

So the function returns true if port is downstream of parent. That's it, that's the whole vibe ✨

And if parent is NULL β€” which denotes the root port, iykyk β€” then the function returns true if port is in mgr's topology. Lowkey elegant, no cap 🫢


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/display/drm_dp_mst_topology.c β€” and honestly bestie, here's the whole friend group, every single one of them:


bestie that's literally it, that's the whole page 😭 short and iconic, we love a concise queen πŸ’œ

and that's a wrap!! this one lives in ./drivers/gpu/drm/display, dated October 2026 β€” mwah, go drink some water and go read your topology docs πŸ§šβ€β™€οΈπŸŒΈπŸ’–

πŸ“¦ where this page comes from