STRUCT MIPI_DSI_PACKET(9)
π struct mipi_dsi_packet π
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is struct mipi_dsi_packet β it literally represents a MIPI DSI packet in protocol format, no cap π
β¨ NAME β¨
struct mipi_dsi_packet β the struct that represents a MIPI DSI packet in protocol format π¦
πΈ SYNOPSIS πΈ
struct mipi_dsi_packet {
size_t size;
u8 header[4];
size_t payload_length;
const u8 *payload;
};
like, that's the whole vibe. four fields, all iconic, all doing their job π
π Members π
sizeβ the size of the packet, in bytes. that's it, that's the field π«Άheaderβ the four bytes that make up the header π and if you're wondering what's in those four lil bytes: it's the Data ID, the Word Count or Packet Data, and the ECC. the whole squad in one array π₯payload_lengthβ literally just the number of bytes in the payload β¨payloadβ a pointer to a buffer containing the payload, if any π note the "if any" bestie, sometimes there's no payload and that's valid π
π¦ SEE ALSO π¦
the kernel file lives at ./include/drm/drm_mipi_dsi.h and it's giving home base π here's everyone else in the friend group:
struct mipi_dsi_msg(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)mipi_dsi_pixel_format_to_bpp(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)
ok that's the whole page bestie, go forth and packet responsibly π
mwah π this came from ./include/drm and it's stamped October 2026 β struct mipi_dsi_packet(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