zynqmp_disp_...ocks_sources(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” True if the video clock originates from the PS. yes bestie, we're picking a side πŸ¦‹
  • audio_from_ps β€” True if the audio clock originates from the PS. same energy, but for audio 🎧✨
  • timings_internal β€” True if 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