zynqmp_disp_setup_clock(9)
π zynqmp_disp_setup_clock(9) π
okay so welcome to the Kernel API Manual, bestie β this one's a little function with main character energy: it sets up the pixel clock rate for the display controller. that's it, that's the vibe π
β¨ NAME β¨
zynqmp_disp_setup_clock β configure the display controller pixel clock rate π°οΈ
like, literally it configures the pixel clock rate of the display controller. no cap.
πΈ SYNOPSIS πΈ
int zynqmp_disp_setup_clock (struct zynqmp_disp *disp , unsigned long mode_clock );
that's the whole signature, copy it exactly, don't be weird about it π«Ά
π¦ ARGUMENTS π¦
dispβ the display controller. your main character struct πmode_clockβ the pixel clock rate, in Hz. yes, Hz, not MHz, not vibes, Hz π₯
β RETURN β
0 on success, or a negative error clock otherwise π
that's exactly how the page says it β "a negative error clock" β so that's what i'm telling you, word for word. don't come for me, i just work here π
π SEE ALSO π
okay this list is long and honestly iconic, so buckle up:
- Kernel file
./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_mode(9)struct zynqmp_disp_format(9)struct zynqmp_disp_layer_dma(9)struct zynqmp_disp_layer_info(9)struct zynqmp_disp_layer(9)struct zynqmp_disp(9)zynqmp_disp_avbuf_set_format(9)zynqmp_disp_avbuf_set_clocks_sources(9)zynqmp_disp_avbuf_enable_channels(9)zynqmp_disp_avbuf_disable_channels(9)zynqmp_disp_avbuf_enable_audio(9)zynqmp_disp_avbuf_disable_audio(9)zynqmp_disp_avbuf_enable_video(9)zynqmp_disp_avbuf_disable_video(9)zynqmp_disp_avbuf_enable(9)zynqmp_disp_avbuf_disable(9)zynqmp_disp_blend_set_output_format(9)zynqmp_disp_blend_set_bg_color(9)zynqmp_disp_blend_set_global_alpha(9)zynqmp_disp_blend_layer_set_csc(9)zynqmp_disp_blend_layer_enable(9)zynqmp_disp_blend_layer_disable(9)zynqmp_disp_layer_find_format(9)zynqmp_disp_layer_find_live_format(9)zynqmp_disp_layer_drm_formats(9)zynqmp_disp_live_layer_formats(9)zynqmp_disp_layer_enable(9)zynqmp_disp_layer_disable(9)zynqmp_disp_layer_set_format(9)zynqmp_disp_layer_set_live_format(9)zynqmp_disp_layer_update(9)zynqmp_disp_layer_release_dma(9)zynqmp_disp_destroy_layers(9)zynqmp_disp_layer_request_dma(9)zynqmp_disp_create_layers(9)zynqmp_disp_enable(9)zynqmp_disp_disable(9)
π§ sign-off π§
this lil page lives in ./drivers/gpu/drm/xlnx, dated October 2026, and it's filed under zynqmp_disp_setup_clock(9). and that's the whole page bestie β go set up that pixel clock, slay πβ¨
π¦ 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