mipi_dbi_buf_copy(9)
π 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 fromfbβ the source framebuffer, the main character of the source sideclipβ the clipping rectangle of the area that's gonna get copied (yes, only that area βοΈ)swapβ when it'strue, 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:
- Kernel file
./drivers/gpu/drm/drm_mipi_dbi.c overview(9)mipi_dbi_command_read(9)mipi_dbi_command_buf(9)drm_mipi_dbi_crtc_helper_mode_valid(9)drm_mipi_dbi_plane_helper_atomic_check(9)drm_mipi_dbi_plane_helper_atomic_update(9)drm_mipi_dbi_crtc_helper_atomic_check(9)drm_mipi_dbi_crtc_helper_atomic_disable(9)drm_mipi_dbi_connector_helper_get_modes(9)drm_mipi_dbi_dev_init(9)mipi_dbi_hw_reset(9)mipi_dbi_display_is_on(9)mipi_dbi_poweron_reset(9)mipi_dbi_poweron_conditional_reset(9)mipi_dbi_spi_cmd_max_speed(9)mipi_dbi_spi_init(9)mipi_dbi_spi_transfer(9)mipi_dbi_debugfs_init(9)
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
- 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