mipi_dbi_buf_copy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mipi_dbi_buf_copy(9) β€” the kernel API manual, but make it cute

okay so bestie, you're in the Kernel API Manual and this little icon is called mipi_dbi_buf_copy. no cap, it's a whole vibe.


✨ NAME ✨

mipi_dbi_buf_copy β€” copy a framebuffer, and transform it if necessary πŸŽ€


🌸 SYNOPSIS 🌸

int mipi_dbi_buf_copy (void *dst , struct iosys_map *src , struct
       drm_framebuffer *fb , struct drm_rect *clip , bool swap , struct
       drm_format_conv_state *fmtcnv_state );

that's the whole signature, don't come for me, I copied it exactly πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dst β€” the destination buffer, i.e. where the pixels are going 🫢
  • src β€” the source buffer, i.e. where the pixels are coming from
  • fb β€” the source framebuffer, the main character of the source side
  • clip β€” the clipping rectangle of the area that's gonna get copied (yes, only that area βœ‚οΈ)
  • swap β€” when it's true, it swaps the MSB and LSB of 16-bit values πŸ”
  • fmtcnv_state β€” the format-conversion state, lowkey important

⭐ RETURN ⭐

Zero on success, and a negative error code if it fails 😭 periodt.


🌈 SEE ALSO 🌈

the whole friend group, fr fr:


k bye bestie, go copy that framebuffer πŸ’œ

this page lives under ./drivers/gpu/drm, dated October 2026, and yeah β€” that's the whole mipi_dbi_buf_copy(9) moment. slay πŸŽ€βœ¨

πŸ“¦ where this page comes from