mipi_dsi_co...ion_mode_ext(9)
π
mipi_dsi_co...ion_mode_ext β NAME
ok so this is mipi_dsi_compression_mode_ext from the Kernel API Manual, and bestie, it's literally the function that turns DSC (Display Stream Compression) on or off on your peripheral. β¨
πΈ SYNOPSIS
int mipi_dsi_compression_mode_ext (struct mipi_dsi_device *dsi , bool
enable , enum mipi_dsi_compression_algo algo , unsigned int pps_selector
);
π ARGUMENTS
dsiβ the DSI peripheral device itself, your main character π«Άenableβ aboolthat says whether we're enabling or disabling the DSC. yes or no, on or off, slay or not-slayalgoβ which compression algorithm you picked (enum mipi_dsi_compression_algo, no cap you gotta choose)pps_selectorβ picks the PPS out of the table of pre-stored or uploaded PPS entries. like choosing your outfit from the closet, but for pixels π
π DESCRIPTION
Enables or disables Display Stream Compression on the peripheral. That's the whole vibe. π
π¨ WAIT. This function is deprecated. Do not build new stuff on it, bestie, I'm serious. Use mipi_dsi_compression_mode_ext_multi instead β that's the upgraded version, the glow-up, the one with main character energy. This one is giving legacy code. π
π RETURN
0 on success, or a negative error code on failure. So like β zero means you ate π
, anything negative means the vibe check failed and you should go read the error code.
π¦ SEE ALSO
literally the whole friend group, here they all are, in order, no one left out:
- Kernel file
./drivers/gpu/drm/drm_mipi_dsi.cdsi 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(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)drm_mipi_dsi_get_input_bus_fmt(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)
ok that's the whole page, ily, go use the _multi version instead π
β xoxo, your favorite kernel doc bestie, coming at you live from ./drivers/gpu/drm, dated October 2026 πβ¨
π¦ 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