zynqmp_disp..._live_format(9)
π zynqmp_disp..._live_format(9) β the kernel API manual, bestie edition
okay so you're in the Kernel API Manual and the page you landed on is zynqmp_disp..._live_format(9). yes the title is truncated, no that's not a you problem, it's just how the man page renders π anyway. sit down, hydrate, and let's get into it π
β¨ NAME β¨
zynqmp_disp_layer_set_live_format β sets the live video layer format. that's it, that's the whole job. icon behavior honestly π
πΈ SYNOPSIS πΈ
void zynqmp_disp_layer_set_live_format (struct zynqmp_disp_layer *layer
, u32 media_bus_format );
returns void (so likeβ¦ nothing comes back, it just does the thing), and it takes two args. keep scrolling for the tea β
π ARGUMENTS π
layerβ the layer. yes, THE layer. thestruct zynqmp_disp_layer *in question, the main character of this function π«Άmedia_bus_formatβ the media bus format you want to set. type isu32, and it's literally the format you're handing over β¨
π NOTE π
read this part, bestie, it's the vibe check of the whole page π
fr fr: this function should not be used to set format for non-live video layer. like, don't. if you've got a non-live layer, use zynqmp_disp_layer_set_format instead β that's the correct tool for that job, no cap.
what it actually does: sets the display format for the live layer.
and the one condition, non-negotiable, no exceptions: the layer must be disabled. if it's still enabled, you're not doing this. turn it off first π
π SEE ALSO π
kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c β plus the enum family, and honestly the whole friend group is listed below so you can go read all of them:
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_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)
and that's the page!! mwah π cute lil sign-off time: this one lives in ./drivers/gpu/drm/xlnx, and the date on it is October 2026 β so yeah, she's from the future, we stan a forward-thinking man page βπ bye bestie, go disable that layer first π§π
π¦ 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