zynqmp_dp_max_rate(9)
β¨ 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 π
zynqmp_dp_link_config(9)struct zynqmp_dp_mode(9)struct zynqmp_dp_config(9)enum test_pattern(9)struct zynqmp_dp_test(9)struct zynqmp_dp_train_set_priv(9)struct zynqmp_dp(9)zynqmp_dp_phy_init(9)zynqmp_dp_phy_exit(9)zynqmp_dp_phy_probe(9)zynqmp_dp_phy_ready(9)zynqmp_dp_mode_configure(9)zynqmp_dp_adjust_train(9)zynqmp_dp_update_vs_emph(9)zynqmp_dp_link_train_cr(9)zynqmp_dp_link_train_ce(9)zynqmp_dp_setup(9)zynqmp_dp_train(9)zynqmp_dp_train_loop(9)zynqmp_dp_aux_cmd_submit(9)zynqmp_dp_aux_init(9)zynqmp_dp_aux_cleanup(9)zynqmp_dp_update_misc(9)zynqmp_dp_set_format(9)zynqmp_dp_encoder_mode_set_transfer_unit(9)zynqmp_dp_encoder_mode_set_stream(9)zynqmp_dp_disp_connected_live_layer(9)zynqmp_dp_set_test_pattern(9)zynqmp_dp_enable_vblank(9)zynqmp_dp_disable_vblank(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms