drm_mipi_dsi...nput_bus_fmt(9)
π 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:
dsi helpers(9)of_find_mipi_dsi_device_by_node(9)mipi_dsi_device_register_full(9)mipi_dsi_device_unregister(9)devm_mipi_dsi_device_register_full(9)of_find_mipi_dsi_host_by_node(9)mipi_dsi_attach(9)mipi_dsi_detach(9)devm_mipi_dsi_attach(9)mipi_dsi_packet_format_is_short(9)mipi_dsi_packet_format_is_long(9)mipi_dsi_create_packet(9)mipi_dsi_shutdown_peripheral(9)mipi_dsi_turn_on_peripheral(9)mipi_dsi_compression_mode_ext(9)mipi_dsi_compression_mode(9)mipi_dsi_picture_parameter_set(9)mipi_dsi_generic_write(9)mipi_dsi_generic_write_multi(9)mipi_dsi_dual_generic_write_multi(9)mipi_dsi_generic_read(9)mipi_dsi_dcs_write_buffer(9)mipi_dsi_dcs_write_buffer_chatty(9)mipi_dsi_dcs_write_buffer_multi(9)mipi_dsi_dual_dcs_write_buffer_multi(9)mipi_dsi_dcs_write(9)mipi_dsi_dcs_read(9)mipi_dsi_dcs_read_multi(9)mipi_dsi_dcs_nop(9)mipi_dsi_dcs_soft_reset(9)mipi_dsi_dcs_get_power_mode(9)mipi_dsi_dcs_get_pixel_format(9)mipi_dsi_dcs_enter_sleep_mode(9)mipi_dsi_dcs_exit_sleep_mode(9)mipi_dsi_dcs_set_display_off(9)mipi_dsi_dcs_set_display_on(9)mipi_dsi_dcs_set_column_address(9)mipi_dsi_dcs_set_page_address(9)mipi_dsi_dcs_set_tear_on(9)mipi_dsi_dcs_set_pixel_format(9)mipi_dsi_dcs_set_tear_scanline(9)mipi_dsi_dcs_set_display_brightness(9)mipi_dsi_dcs_get_display_brightness(9)mipi_dsi_dcs_set_display_brightness_large(9)mipi_dsi_dcs_get_display_brightness_large(9)mipi_dsi_picture_parameter_set_multi(9)mipi_dsi_compression_mode_ext_multi(9)mipi_dsi_compression_mode_multi(9)mipi_dsi_dcs_nop_multi(9)mipi_dsi_dcs_enter_sleep_mode_multi(9)mipi_dsi_dcs_exit_sleep_mode_multi(9)mipi_dsi_dcs_set_display_off_multi(9)mipi_dsi_dcs_set_display_on_multi(9)mipi_dsi_dcs_set_tear_on_multi(9)mipi_dsi_turn_on_peripheral_multi(9)mipi_dsi_dcs_set_tear_off_multi(9)mipi_dsi_dcs_soft_reset_multi(9)mipi_dsi_dcs_set_display_brightness_multi(9)mipi_dsi_dcs_set_pixel_format_multi(9)mipi_dsi_dcs_set_column_address_multi(9)mipi_dsi_dcs_set_page_address_multi(9)mipi_dsi_dcs_set_tear_scanline_multi(9)mipi_dsi_shutdown_peripheral_multi(9)mipi_dsi_driver_register_full(9)mipi_dsi_driver_unregister(9)
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
- 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