drm_dp_pcon_hdmi_link_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this one's called drm_dp_pcon_hdmi_link_mode, and it does exactly one iconic thing: it gets the PCON HDMI LINK MODE πŸ¦‹


🌸 SYNOPSIS 🌸

int drm_dp_pcon_hdmi_link_mode(struct drm_dp_aux *aux, u8 *frl_trained_mask);

πŸ’œ ARGUMENTS πŸ’œ

  • aux β€” the DisplayPort AUX channel πŸ’« (yes that's the whole description, she's lowkey mysterious like that)
  • frl_trained_mask β€” a pointer where you stash the bitmask of the trained bw configuration πŸ‘‘ ngl this one comes with receipts:
    • it's valid only if the MODE returned is FRL β€” otherwise don't come for her πŸ™ˆ
    • for Normal Link training mode, only 1 of the bits will be set
    • but in case of Extended mode, more than one bit can be set β€” multi-bit main character energy fr fr πŸ”₯

πŸ’– DESCRIPTION πŸ’–

Returns the link mode: TMDS or FRL on success πŸ’…βœ¨ else it returns a negative error code 😭 (sad girl hours, check your returns bestie).


🌈 SEE ALSO 🌈

the way this list ate and left absolutely no crumbs β€” every single one, periodt πŸ‘‘


that's the whole vibe, no cap πŸ’€πŸ«Ά β€” sourced straight from ./drivers/gpu/drm/display, dated October 2026, and yes she's still signed drm_dp_pcon_hdmi_link_mode(9) ✨ slay, go read your DPCD registers bestie πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from