zynqmp_disp_layer_update(9)
π zynqmp_disp_layer_update(9) β¨
okay so this is a page from the Kernel API Manual β zynqmp_disp_layer_update(9), bestie. yes it's a mouthful, no you're not gonna say it out loud at a party. let's get into it π«Ά
πΈ NAME πΈ
zynqmp_disp_layer_update β the function that updates the layer framebuffer. that's it, that's the whole vibe.
π SYNOPSIS π
int zynqmp_disp_layer_update (struct zynqmp_disp_layer *layer , struct
drm_plane_state *state );
like, she takes two things and returns an int. iconic signature tbh π
π¦ ARGUMENTS π¦
layerβ the layer. literally just the layer, that's the whole description, and honestly? respect for the brevity πstateβ the plane state. also living that short-description life.
β¨ DESCRIPTION β¨
so what she does: she updates the framebuffer for the layer by issuing a new DMA engine transaction for the new framebuffer π₯
that's the whole thing. new framebuffer in, fresh DMA engine transaction out. it's giving "out with the old, in with the new" energy, and honestly the DMA engine is doing all the heavy lifting here β main character energy, no cap π
π RETURN π
she returns 0 on success π otherwise you get the DMA descriptor failure error. so if the number you got back is not zero, that's the error and you should probably pay attention to it π
π SEE ALSO π
buckle up bestie, this is the whole friend group β and yes, every single one of them is invited to the group chat π«Ά
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_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)
ngl the whole avbuf + blend + layer family shows up to every function's SEE ALSO like it's a mandatory group photo πΈ iykyk
and that's the page!! mwah π this lil doc lives in ./drivers/gpu/drm/xlnx and the version/date stamped on it is October 2026 β so she's from the future, obviously, slay β bye bestie, go update some framebuffers π§π
π¦ 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