zynqmp_disp_...f_set_format(9)
π zynqmp_disp_avbuf_set_format β the Kernel API Manual, bestie edition π
okay so real talk, this is a page from the Kernel API Manual (yes, that Kernel API Manual) and it's all about one very specific little function. it's not the flashiest function at the party but she does her job and she does it well π
β¨ NAME β¨
zynqmp_disp_avbuf_set_format β sets the input format for a layer. that's it, that's the whole vibe.
π¦ SYNOPSIS π¦
void zynqmp_disp_avbuf_set_format (struct zynqmp_disp *disp ,
struct zynqmp_disp_layer *layer ,
const struct zynqmp_disp_format *fmt );
like, void return, three args, no drama. she's lowkey iconic for keeping it simple π«Ά
πΈ ARGUMENTS πΈ
dispβ the display controller. the main character of this whole situation πlayerβ the layer. yes queen, do your thing πfmtβ the format information. this is the actual tea being delivered β
π DESCRIPTION π
okay so basically: set the video buffer manager format for layer to fmt. that's literally the whole function. no cap, no secret extra steps, no hidden plot twist πβ¨
π SEE ALSO π
buckle up bestie because this list is long β but every single one of these is fam, and you're gonna want to know them all fr fr π§
- the kernel file
./drivers/gpu/drm/xlnx/zynqmp_disp.cβ the source of truth, go read her π 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)- the avbuf squad π₯
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)
- the blend crew π¨
- the layer gang π«Ά
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_layer_request_dma(9)zynqmp_disp_create_layers(9)zynqmp_disp_destroy_layers(9)
- the top-level crew β
π do NOT skip the source file, she's the one who actually knows what's going on. iykyk.
okay that's the whole page bestie, you ate that π
β¨ this lil slice of the Kernel API Manual lives over at ./drivers/gpu/drm/xlnx and it's dated October 2026 β so like, future vibes πΈπ¦ go forth and set those formats, you've got this fr fr π
π¦ 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