mipi_dsi_pix...ormat_to_bpp(9)
π
mipi_dsi_pixel_format_to_bpp β the manual page, but make it make sense
okay so bestie, welcome to the Kernel API Manual entry for mipi_dsi_pixel_format_to_bpp(9). yes the title is literally truncated with dots in the middle, that's just how it's printed, we don't question the kernel's choices π
β¨ NAME β¨
mipi_dsi_pixel_format_to_bpp β obtain the number of bits per pixel for any given pixel format defined by the MIPI DSI specification
like, you hand it a pixel format and it hands you back how many bits each pixel is eating. that's the whole gig. no cap π«Ά
πΈ SYNOPSIS πΈ
int mipi_dsi_pixel_format_to_bpp (enum mipi_dsi_pixel_format fmt );
yes queen, that's the entire signature, copy it exactly, don't @ me π
π ARGUMENTS π
fmtβ the MIPI DSI pixel format. that's it. that's the argument. it's the format you're asking about and it's of typeenum mipi_dsi_pixel_format, iykyk π
β RETURN β
the number of bits per pixel of the given pixel format. so like, the answer. the bpp. the moment of truth. slay π₯
heads up, the return type is int, so it comes back as a plain ol' integer β go off with that info β¨
π¦ SEE ALSO π¦
bestie this list is LONG, buckle up, it's giving "the whole MIPI DSI friend group" π and it all lives in the kernel file ./include/drm/drm_mipi_dsi.h:
struct mipi_dsi_msg(9)struct mipi_dsi_packet(9)struct mipi_dsi_host_ops(9)struct mipi_dsi_host(9)struct mipi_dsi_device_info(9)struct mipi_dsi_device(9)struct mipi_dsi_multi_context(9)enum mipi_dsi_dcs_tear_mode(9)mipi_dsi_generic_write_seq_multi(9)mipi_dsi_generic_write_var_seq_multi(9)mipi_dsi_dcs_write_seq_multi(9)mipi_dsi_dcs_write_var_seq_multi(9)mipi_dsi_dual(9)mipi_dsi_dual_generic_write_seq_multi(9)mipi_dsi_dual_dcs_write_seq_multi(9)struct mipi_dsi_driver(9)
literally the entire extended universe, go read them, I'll wait π
okay that's the page!! π§ sign-off time: this icon lives in ./include/drm, it's dated October 2026, and it's from the Kernel API Manual, filed under the very dramatic name mipi_dsi_pix...ormat_to_bpp(9). periodt π
β¨
π¦ 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