intel_dp_max_link_data_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual β€” yes, the whole manual, and yes, we're reading it together 🫢 this one's a lil function that does exactly one thing and does it iconically.


✨ NAME ✨

intel_dp_max_link_data_rate β€” calculates the maximum rate for the given link params. that's it, that's the whole vibe πŸ’«


🌸 SYNOPSIS 🌸

int intel_dp_max_link_data_rate (struct intel_dp *intel_dp , int max_dprx_rate , int max_dprx_lanes );

three args in, one int out. lowkey elegant, ngl πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • intel_dp β€” the Intel DP object itself, our main character πŸ‘‘
  • max_dprx_rate β€” the maximum data rate of the DPRX. that's the ceiling, bestie πŸ”₯
  • max_dprx_lanes β€” the maximum lane count of the DPRX. how many lanes we're working with πŸ›£οΈ

πŸ¦‹ DESCRIPTION πŸ¦‹

so the way this works: it calculates the maximum data rate for the link parameters you handed it, and it does take into account any BW limitations that come from a DP tunnel attached to intel_dp. like, it's not just vibes β€” there's a tunnel and it's limiting things 😭

and it returns the maximum data rate in kBps units. kBps, not kB/s, not MBps, kBps. write it down πŸ“βœ¨


⭐ SEE ALSO ⭐

like a whole friend group of DP functions, and honestly? obsessed 🌈


fr fr read the whole cluster, iykyk β€” they all live together and they all make sense together 🧚

and that's the page! πŸŽ‰ this cutie came out of ./drivers/gpu/drm/i915/display in October 2026, and it's filed under the intel_dp_max_link_data_rate(9) girly herself. slay, periodt, go read some DRM source πŸ’–πŸŒΈ

πŸ“¦ where this page comes from