drm_dp_get_vc_payload_bw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_get_vc_payload_bw(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual, this one's about drm_dp_get_vc_payload_bw and it's lowkey the math girlie of the DisplayPort MST world πŸŽ€


✨ NAME ✨

drm_dp_get_vc_payload_bw β€” get the VC payload BW for an MTP link πŸ’–


🌸 SYNOPSIS 🌸

fixed20_12 drm_dp_get_vc_payload_bw (int link_rate , int link_lane_count );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • link_rate β€” the link rate, and it's in 10kbits/s units bestie, don't forget the units πŸ’…
  • link_lane_count β€” the lane count. that's it. that's the whole vibe 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

So basically this function calculates the total bandwidth of a MultiStream Transport link. iconic behavior, honestly ✨

The value it hands back is in units of PBNs/(timeslots/1 MTP). which sounds like a lot but it's giving very useful, because you can use this number to convert the number of PBNs required for a given stream into the number of timeslots that stream requires in each MTP. like a little translation service for your streams, iykyk πŸ’«

And what does it return? The BW / timeslot value, in 20.12 fixed point format. no cap, that's the return 🌈


πŸ”₯ SEE ALSO πŸ”₯

The kernel file is ./drivers/gpu/drm/display/drm_dp_mst_topology.c β€” go read it, it's right there 🧚

and then the whole friend group, in order, no one left out:


and that's the whole page bestie!! mwah πŸ’‹

this little transmission came straight out of ./drivers/gpu/drm/display, dated October 2026, and the page title is drm_dp_get_vc_payload_bw(9) β€” slay, go forth and calculate your bandwidth πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from