zynqmp_disp..._live_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynqmp_disp..._live_format(9) β€” the kernel API manual, bestie edition

okay so you're in the Kernel API Manual and the page you landed on is zynqmp_disp..._live_format(9). yes the title is truncated, no that's not a you problem, it's just how the man page renders πŸ’€ anyway. sit down, hydrate, and let's get into it πŸ“


✨ NAME ✨

zynqmp_disp_layer_set_live_format β€” sets the live video layer format. that's it, that's the whole job. icon behavior honestly πŸ‘‘


🌸 SYNOPSIS 🌸

void zynqmp_disp_layer_set_live_format (struct zynqmp_disp_layer *layer
, u32 media_bus_format );

returns void (so like… nothing comes back, it just does the thing), and it takes two args. keep scrolling for the tea β˜•


πŸŽ€ ARGUMENTS πŸŽ€

  • layer β€” the layer. yes, THE layer. the struct zynqmp_disp_layer * in question, the main character of this function 🫢
  • media_bus_format β€” the media bus format you want to set. type is u32, and it's literally the format you're handing over ✨

πŸ’– NOTE πŸ’–

read this part, bestie, it's the vibe check of the whole page πŸ™ˆ

fr fr: this function should not be used to set format for non-live video layer. like, don't. if you've got a non-live layer, use zynqmp_disp_layer_set_format instead β€” that's the correct tool for that job, no cap.

what it actually does: sets the display format for the live layer.

and the one condition, non-negotiable, no exceptions: the layer must be disabled. if it's still enabled, you're not doing this. turn it off first πŸ’€


🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c β€” plus the enum family, and honestly the whole friend group is listed below so you can go read all of them:


and that's the page!! mwah πŸ’‹ cute lil sign-off time: this one lives in ./drivers/gpu/drm/xlnx, and the date on it is October 2026 β€” so yeah, she's from the future, we stan a forward-thinking man page β­πŸ‘‘ bye bestie, go disable that layer first πŸ§šπŸ’œ

πŸ“¦ where this page comes from