drm_dp_mst_dsc_aux_for_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_mst_dsc_aux_for_port(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes it's a kernel manpage, yes it's giving big-brain energy, but I promise we're gonna get through it together. This one's about finding the right aux for DSC and honestly? It's a vibe. πŸŽ€


🌸 NAME 🌸

drm_dp_mst_dsc_aux_for_port β€” find the correct aux for DSC πŸ’…


✨ SYNOPSIS ✨

struct drm_dp_aux * drm_dp_mst_dsc_aux_for_port (struct drm_dp_mst_port
*port );

like, you hand it a port, it hands you back a struct drm_dp_aux *. simple as. πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the port you're checking, bestie. specifically: a leaf of the MST tree with an attached display. leaf node energy, main character of the topology πŸŒΏπŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so depending on the situation β€” and there are situations β€” DSC may be enabled via:

  • the endpoint aux 🫢
  • the immediately upstream aux ⬆️
  • or the connector's physical aux πŸ”Œ

that's three whole options, it's giving choose-your-own-adventure but make it display stream compression 😭

the way that this function matters is that it's both the correct aux to read DSC_CAPABILITY and the correct aux to write DSC_ENABLED. one aux, two jobs, iconic. πŸ’…βœ¨

ngl, this operation can be expensive (up to four aux reads πŸ‘€πŸ’€), so the caller should cache the return. please don't be out here calling it in a loop, your latency will simply not recover.

⭐ RETURN ⭐

  • NULL β€” if DSC cannot be enabled on this port πŸ™ˆ (it's not you, it's the port)
  • otherwise β€” the aux device πŸ‘‘ slay

🌈 SEE ALSO 🌈

okay this list is long long, but every single one of these is a real one, so here we go, no skipping, we don't do that here πŸ«‘πŸ’œ

kernel file ./drivers/gpu/drm/display/drm_dp_mst_topology.c


and that's the whole page, bestie, you ate that πŸ“πŸ§š

sign-off time πŸ’Œ: this little masterpiece lives under ./drivers/gpu/drm/display, dated October 2026, and it's page drm_dp_mst_dsc_aux_for_port(9) β€” go forth and cache your return values, i'm literally begging πŸ™βœ¨

πŸ“¦ where this page comes from