drm_mipi_dsi...nput_bus_fmt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_mipi_dsi_get_input_bus_fmt πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a little function from the DRM/MIPI DSI world and honestly it's lowkey iconic β€” it just tells you which pixel format your DSI host is gonna want fed into it. let's get into it πŸŽ€


🌸 NAME 🌸

drm_mipi_dsi_get_input_bus_fmt β€” get the required MEDIA_BUS_FMT_* based input pixel format for a given DSI output pixel format πŸ’–


✨ SYNOPSIS ✨

u32 drm_mipi_dsi_get_input_bus_fmt (enum mipi_dsi_pixel_format
dsi_format );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dsi_format β€” the pixel format that a DSI host needs to output, aka the vibe the host is serving on the way out 🌈

πŸ’€ DESCRIPTION πŸ’€

so like, various DSI hosts can use this function during their drm_bridge_funcs.atomic_get_input_bus_fmts operation to ascertain the MEDIA_BUS_FMT_* pixel format required as input. no cap β€” that's literally the whole job. it's the little translator that tells you what to feed in based on what's coming out 🫢


⭐ RETURN ⭐

a 32-bit MEDIA_BUS_FMT_* value on success, or 0 in case of failure. slay when it works, πŸ’€ when it doesn't.


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c β€” and here's the whole bestie squad, fr fr, every single one:


and that's the whole thing, bestie, you ate πŸ’…βœ¨ mwah 🫢 β€” this cutie lives in ./drivers/gpu/drm and the page is dated October 2026, so like, see you then ig πŸŽ€πŸ’–πŸŒΈ

πŸ“¦ where this page comes from