drm_dp_tunnel_detect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_tunnel_detect(9) πŸ’…

okay so this is a page from the Kernel API Manual (yes, the kernel has lore too) and it's all about drm_dp_tunnel_detect β€” the little function that goes "hiii is there a DP tunnel on this link??" πŸ¦‹


✨ NAME ✨

drm_dp_tunnel_detect β€” bestie, it detects a DP tunnel on the link πŸ’–


🌸 SYNOPSIS 🌸

struct drm_dp_tunnel * drm_dp_tunnel_detect (struct drm_dp_tunnel_mgr
*mgr , struct drm_dp_aux *aux );

like literally that's the whole signature, no notes 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • mgr β€” the tunnel manager, aka the main character holding the tunnel group together πŸ‘‘
  • aux β€” the DP AUX that the tunnel gets detected on, that's the spot we're checking πŸ”

⭐ DESCRIPTION ⭐

so what it does is: it checks whether there's any DP tunnel on the link, and if there is one, it adds it to the tunnel group's tunnel list. that's it, that's the vibe ✨

Returns a pointer to a tunnel on success, or an ERR_PTR error on failure. no cap β€” success gives you the tunnel, failure gives you an error pointer, so check it before you go touching anything 😭


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/display/drm_dp_tunnel.c β€” the source, the origin story, the mothership πŸ’œ

and the whole friend group, no one gets left out:


and that's the page!! mwah πŸ’‹ this one lives in ./drivers/gpu/drm/display, dated October 2026, and it's filed under drm_dp_tunnel_detect(9) β€” go forth and detect those tunnels bestie, iykyk πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from