is_lane_count_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, meet is_lane_count_valid(9) β€” from the Kernel API Manual, and its whole entire job is: it validates the lane count. That's the vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool is_lane_count_valid (u32 lane_count );

πŸŽ€ ARGUMENTS πŸŽ€

  • lane_count β€” the lane count requested by the sink. literally the number the sink is asking for, and this is what gets checked. 🫢

πŸ”₯ RETURN πŸ”₯

Returns true if the requested lane count is supported. that's the whole mood, no cap βœ…

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/msm/dp/dp_panel.h β€” go peek at it, iykyk πŸ“‚
  • is_link_rate_valid(9) β€” also on the SEE ALSO list, go say hi πŸ’«

cute sign-off: source/version ./drivers/gpu/drm/msm/dp, date October 2026, page is_lane_count_valid(9) β€” bye bestie, mwah πŸ’‹

πŸ“¦ where this page comes from