drm_dp_is_uhbr_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_is_uhbr_rate(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual, and honestly? it's a little one, but it's an icon. it does exactly one thing and it does it flawlessly. main character energy fr fr.


✨ NAME ✨

drm_dp_is_uhbr_rate β€” bestie, this is the "is this link rate UHBR or not" detector πŸ•΅οΈβ€β™€οΈ


πŸ¦‹ SYNOPSIS πŸ¦‹

bool drm_dp_is_uhbr_rate (int link_rate );

like literally one function, one arg, returns a bool. no cap, that's the whole vibe.


πŸŽ€ ARGUMENTS πŸŽ€

  • link_rate β€” the link rate, but listen: it's measured in 10kbits/s units. so do NOT come in here throwing raw bps at it, the units matter, iykyk πŸ’…

🌸 DESCRIPTION 🌸

so basically this function looks at the link rate you handed it and goes "hmm… is this an UHBR rate?" πŸ‘‘

that's it. that's the whole function. it's giving minimalism. it's giving focus. we stan a single-responsibility queen.


⭐ RETURN ⭐

returns True if link_rate is an UHBR rate πŸ’–

(and by extension, if it's not… well, it's not True. do with that what you will 🫢)


🌈 SEE ALSO 🌈

literally the whole friend group, they all show up together. also worth peeking at the kernel file ./include/drm/display/drm_dp_helper.h ✨


πŸ’€ reminder bestie: this page lives under ./include/drm/display and the version stamp is October 2026 β€” so if you're reading this from the future, hiii, hope the kernel is slaying πŸ§šπŸ’œ

and that's the whole page!! short, sweet, ate, left no crumbs. periodt. πŸ“πŸ‘‘

πŸ“¦ where this page comes from