zynqmp_disp_...r_set_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynqmp_disp_...r_set_format(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes that Kernel API Manual, the one with the truncated title that literally ate its own function name (zynqmp_disp_...r_set_format). iconic behavior honestly. anyway, this page is about setting a layer's format, and it's short and sweet, so let's get into it πŸŽ€


🌸 NAME 🌸

zynqmp_disp_layer_set_format β€” Set the layer format. that's it. that's the whole name. slay πŸ’–


✨ SYNOPSIS ✨

void zynqmp_disp_layer_set_format (struct zynqmp_disp_layer *layer ,
const struct drm_format_info *info );

note the void β€” this function doesn't return anything, it just does the thing and leaves. main character energy fr fr πŸ‘‘


🫢 ARGUMENTS 🫢

  • layer β€” The layer. yes that's the whole description, we love a low-effort icon πŸ’€ this is the struct zynqmp_disp_layer * you're setting the format on.
  • info β€” The format info. also a one-liner, she's mysterious 🌈 this is the const struct drm_format_info * holding the format you want.

πŸ¦‹ NOTE πŸ¦‹

🚨 important bestie, listen up 🚨

Use zynqmp_disp_layer_set_live_format to set media bus format for live video layers. like, that's a different function for a different situation β€” don't mix them up, iykyk 🧚

So: set the format for layer to info. and the one rule that will get you absolutely clowned on if you ignore it β€”

the layer must be disabled. πŸ”₯ not negotiable. not "probably fine". disabled. periodt πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c β€” plus the whole extended friend group, all listed here so you can go read them too:

like. that's the whole squad. read them all, they're literally right there πŸ“


and that's a wrap bestie πŸŒˆπŸ’œ this lil page lives in ./drivers/gpu/drm/xlnx, dated October 2026, and the title up top is still zynqmp_disp_...r_set_format(9) because some people fear commitment to full names 😭 go forth and set your formats (with the layer disabled, i'm watching you πŸ‘€πŸ’–)

πŸ“¦ where this page comes from