is_link_rate_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the tiniest little kernel vibe check: is_link_rate_valid. The manual name is literally Kernel API Manual, and this page is about validating the link rate. no cap, it's giving short and iconic. ✨

✨ NAME ✨

is_link_rate_valid β€” validates the link rate. that's the whole assignment, and it ate. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

bool is_link_rate_valid (u32 bw_code );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bw_code β€” the link rate requested by the sink. that's the one and only argument, bestie, and yes u need it. 🫢

🌸 RETURN 🌸

You get back true if the requested link rate is supported. that's the vibe check result, periodt. βœ…

πŸ’… SEE ALSO πŸ’…

  • Kernel file ./drivers/gpu/drm/msm/dp/dp_panel.h β€” go peek, iykyk. πŸ‘€
  • is_lane_count_valid(9) β€” the sibling function in the see-also section, slay. 🌈

mwah πŸ’‹ catch u later β€” this little page comes from ./drivers/gpu/drm/msm/dp, dated October 2026, and it's called is_link_rate_valid(9). no cap, that's the sign-off. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from