zynqmp_dp_max_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ zynqmp_dp_max_rate(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a little function from the Xilinx ZynqMP DisplayPort corner of the kernel, and honestly? she's a math girlie. let's get into it πŸŽ€


🌸 NAME 🌸

zynqmp_dp_max_rate β€” calculate and return available max pixel clock πŸ’…

like, she does the math and hands you back the biggest pixel clock your link can handle. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int zynqmp_dp_max_rate (int link_rate , u8 lane_num , u8 bpp );

three args in, one int out. she's lowkey efficient like that ✨


πŸ’œ ARGUMENTS πŸ’œ

  • link_rate β€” the link rate, measured in Kilo-bytes / sec. yes bb, kilobytes per second, that's the unit, write it down πŸ“
  • lane_num β€” number of lanes. how many little highways we're working with πŸ›£οΈ
  • bpp β€” bits per pixel. the color depth vibe check 🌈

πŸ‘‘ RETURN πŸ‘‘

max pixel clock (KHz) supported by the current link config 🫢

that's it, that's the whole return. she gives you the ceiling and you go live your life πŸ’«

ngl this is the kind of function that just answers the question and dips. iconic.

🧚 SEE ALSO 🧚

kernel file ./drivers/gpu/drm/xlnx/zynqmp_dp.c struct β€” the whole fam lives there, go say hi πŸ’–

like, that's a whole friend group right there and they ALL show up in the group chat πŸ˜­πŸ’€


and that's the page, bestie!! πŸ“ this one came from ./drivers/gpu/drm/xlnx, dated October 2026 β€” so yeah, she's from the future-era docs, main character energy fr fr πŸ‘‘βœ¨ mwah, go read some more manpages πŸ’œπŸ¦‹

πŸ“¦ where this page comes from