drm_dp_downs...x_tmds_clock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_downstream_max_tmds_clock(9) πŸ’…

okay so bestie, welcome to the kernel API manual β€” this one lives under the manual name drm_dp_downs...x_tmds_clock(9) (yes the header truncates it, that's just how the man page abbreviates long names, don't come for me 😭). This is a DisplayPort helper function and it's literally about figuring out the max TMDS clock of a downstream facing port. iconic already.


✨ NAME ✨

drm_dp_downstream_max_tmds_clock β€” extract downstream facing port max TMDS clock πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_dp_downstream_max_tmds_clock (const u8
dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , const struct
drm_edid *drm_edid );

That's the whole signature, character for character, no cap. Three args, one int back. slay.


🌸 ARGUMENTS 🌸

  • dpcd β€” DisplayPort configuration data πŸ’– (you know, the DPCD blob)
  • port_cap β€” port capabilities (the port_cap[4] array, four whole bytes of it)
  • drm_edid β€” EDID ✨ (pointer to const struct drm_edid)

πŸ‘‘ RETURN πŸ‘‘

It gives you the HDMI/DVI downstream facing port max TMDS clock in kHz on success πŸŽ‰ β€” or 0 if the max TMDS clock is not defined. that's it, that's the deal. if you get a zero, it's not an error, it just means "not defined," so don't panic 🫢


πŸ”₯ SEE ALSO πŸ”₯

buckle up bestie, this list is long and it ate πŸ’€ β€” the kernel file lives at ./drivers/gpu/drm/display/drm_dp_helper.c, and here's every single cross-reference, no skipping, periodt:

like, that's a whole friend group right there 🌈


reminder bestie: dp helpers(9) shows up twice in the original list (once folded in with the kernel file path line, once on its own), so it's here twice too. we don't erase references in this house πŸ’…

and that's the page!! mwah πŸ’– this little beauty ships out of ./drivers/gpu/drm/display, dated October 2026 β€” go forth and read your DPCD, bestie, you got this πŸ§šβ€β™€οΈβ­πŸ“

πŸ“¦ where this page comes from