zynqmp_disp..._request_dma(9)
π zynqmp_disp_layer_request_dma β the DMA-bagging era π
okay bestie, welcome to the Kernel API Manual β¨ this one's a little function from the DRM/Xilinx corner of the kernel and honestly it does exactly what it says on the tin: it goes and gets the DMA channels a layer needs. no cap, that's the whole vibe.
πΈ NAME πΈ
zynqmp_disp_layer_request_dma β request DMA channels for a layer π
β¨ SYNOPSIS β¨
int zynqmp_disp_layer_request_dma (struct zynqmp_disp *disp , struct
zynqmp_disp_layer *layer );
it's giving "two args, one int, zero drama" π
π«Ά ARGUMENTS π«Ά
dispβ the display controller. the big main character of this whole subsystem, iykyk πlayerβ the layer. the one actually getting its DMA situation sorted π¦
π₯ DESCRIPTION π₯
so what does it do? it requests all the DMA engine channels that the layer needs. all of them. every single one. not like, some of them. all. πβ¨
β RETURN β
0on success π (slay)- otherwise you get the DMA channel request error back π β so if it's not
0, that's your error, fr fr
π SEE ALSO π
buckle up bestie, this list is long and honestly iconic of the kernel docs π«Ά
- 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_create_layers(9)zynqmp_disp_enable(9)zynqmp_disp_disable(9)zynqmp_disp_setup_clock(9)
like I said. long. but every one of them is here, and that's the vibe check passed π
and that's the whole page, bestie π§π this lil' doc lives in ./drivers/gpu/drm/xlnx and was stamped October 2026 β go request those DMA channels and absolutely ate, periodt ππΈ
π¦ 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