mipi_dsi_compression_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 mipi_dsi_compression_mode(9) 🌸

okay so bestie, we're in the Kernel API Manual today and this one is literally about flipping Display Stream Compression on and off on a DSI peripheral. it's giving "one job, does it well" energy and honestly? we love a focused icon. πŸ’…


✨ SYNOPSIS ✨

int mipi_dsi_compression_mode (struct mipi_dsi_device *dsi , bool enable
);

like, that's the whole vibe. two args, one return, no drama. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dsi β€” the DSI peripheral device in question, your main character of the moment πŸ’–
  • enable β€” a bool that says whether you're turning the DSC on or off. yes or no. slay or not slay. 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea: this function enables or disables Display Stream Compression on the peripheral. πŸŽ€

and the way it does it β€” no cap β€” is with the default Picture Parameter Set and the VESA DSC 1.1 algorithm. that's it, that's the whole bit. you don't get to pick a fancy custom parameter set here, bestie; that's what the defaults are for. 🌈


⭐ RETURN ⭐

  • 0 on success πŸ’― (iconic, flawless, no notes)
  • a negative error code on failure 😭 (the vibe check failed, go read your errno)

🧚 SEE ALSO 🧚

okay this list is long long, but every single one of these is part of the family so we're listing them all, periodt. πŸ”₯

first up, the source of truth β€” Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c dsi helpers(9) β€” plus:

iykyk. πŸ’œ


quick reminder bestie: this is kernel API territory, so always check that return value. a negative number is not a cute aesthetic, it's an error. πŸ™ˆ

and that's the page!! it lives over in ./drivers/gpu/drm, dated October 2026, and it's filed under mipi_dsi_compression_mode(9) in your Kernel API Manual. go be gorgeous with your compression settings, mwah πŸ’‹πŸŒΈβœ¨

πŸ“¦ where this page comes from