drm_dp_mst_detect_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_dp_mst_detect_port(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this one's a lil function from the DRM/display corner of the kernel and it's honestly iconic for how much it does with so few words πŸ’…


🌸 NAME 🌸

drm_dp_mst_detect_port β€” get connection status for an MST port

like... it detects the port. the name ate, fr fr πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_dp_mst_detect_port (struct drm_connector *connector , struct
drm_modeset_acquire_ctx *ctx , struct drm_dp_mst_topology_mgr *mgr ,
struct drm_dp_mst_port *port );

four args, returns an int, that's the whole vibe ✨


πŸ’– ARGUMENTS πŸ’–

  • connector β€” the DRM connector that belongs to this port 🫢
  • ctx β€” the acquisition context you're gonna use for grabbing locks (yes, the lock-grabbing context, she's important)
  • mgr β€” the manager for this port πŸ‘‘
  • port β€” pointer to a port, literally just a pointer to the port in question

🧚 DESCRIPTION 🧚

so what does it actually do? it returns the current connection state for a port. that's it. that's the whole thing. no cap, that's the entire description 😭✨


🌈 SEE ALSO 🌈

bestie this list is LONG, buckle up, we're going on a tour of the whole MST cinematic universe πŸ“

like I said. LONG. but every single one of them is there, we don't skip links in this house πŸ’€πŸ«Ά


πŸ’œ tiny sign-off πŸ’œ

this page lives under ./drivers/gpu/drm/display, dated October 2026, and it's filed as drm_dp_mst_detect_port(9) β€” so next time your MST port is being mysterious about whether it's connected, you know exactly which girly to call πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from