zynqmp_disp_...ocks_sources(9)
π zynqmp_disp_avbuf_set_clocks_sources(9)
okay so bestie, welcome to the Kernel API Manual, section 9 β yes we're in the kernel docs today and honestly? we're thriving π«Ά this page is about zynqmp_disp_avbuf_set_clocks_sources, and it's fr fr a tiny little function that makes a big vibe decision: where do our clocks come from? β¨
πΈ NAME πΈ
zynqmp_disp_avbuf_set_clocks_sources β literally just Set the clocks sources π
no cap, that's the whole job.
π SYNOPSIS π
void zynqmp_disp_avbuf_set_clocks_sources (struct zynqmp_disp *disp ,
bool video_from_ps , bool audio_from_ps , bool timings_internal );
it's giving "returns nothing, changes everything" β void, so don't go looking for a return value, there isn't one π
β¨ ARGUMENTS β¨
dispβ the Display controller. your main character, the whole reason we're here πvideo_from_psβTrueif the video clock originates from the PS. yes bestie, we're picking a side π¦audio_from_psβTrueif the audio clock originates from the PS. same energy, but for audio π§β¨timings_internalβTrueif video timings are generated internally. internal vs external, the eternal question π
π§ DESCRIPTION π§
so what does it actually do? It sets the source for the video and audio clocks, and also for the video timings π that's three whole decisions in one function call, we love an efficient queen.
Here's the tea: clocks can originate from the PS or the PL, and timings can be generated internally or externally β so you're basically telling the hardware which direction to vibe in π₯
ngl, this one's a setter β it configures the sources, that's it. no return value, no drama, just clocks π
π SEE ALSO π
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_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), zynqmp_disp_setup_clock(9)
like, that is a long list of friends and honestly every single one of them ate π go read them all, iykyk π
π sign-off π
that's the whole page bestie β short, sweet, and sourced from ./drivers/gpu/drm/xlnx, dated October 2026 β mwah, go forth and set those clock sources ππΈπ
π¦ 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