STRUCT ZYNQMP_DISP_FORMAT(9)
π struct zynqmp_disp_format(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct zynqmp_disp_format, and it's literally the little info card that tells you everything about a display subsystem format. no cap, it's giving "format ID card" energy πͺͺπ
πΈ NAME πΈ
struct zynqmp_disp_format β display subsystem format information π₯οΈβ¨
π¦ SYNOPSIS π¦
here's the struct in all its glory, copy it exactly, don't @ me:
struct zynqmp_disp_format {
u32 drm_fmt;
u32 bus_fmt;
u32 buf_fmt;
bool swap;
const u32 *sf;
};
π Members π
drm_fmtβ the DRM format, aka the 4CC π« (yes, four character code, not a cute nickname)bus_fmtβ the media bus format πβ¨buf_fmtβ the AV buffer format π§Ίswapβ flag to swap R & B for RGB formats, and U & V for YUV formats ππ (this is the "flip it and reverse it" button, but for color components, fr fr)sfβ scaling factors for color components ππ (const u32 *, so it's a pointer to them, not the values themselves)
π₯ SEE ALSO π₯
bestie there are SO many friends on this list, it's a whole group chat π―ββοΈπ¬. First up, the kernel file itself:
- Kernel file
./drivers/gpu/drm/xlnx/zynqmp_disp.c
and then the whole squad, in order, no gatekeeping:
enum zynqmp_dpsub_layer_mode(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_layer_request_dma(9)zynqmp_disp_create_layers(9)zynqmp_disp_enable(9)zynqmp_disp_disable(9)zynqmp_disp_setup_clock(9)
like, the whole driver showed up to the party ππ
and that's the page!! π sourced straight from ./drivers/gpu/drm/xlnx, dated October 2026 β mwah, go read the code, ily, bye bestie π«Άβ¨π
π¦ 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