mipi_dsi_dc...y_brightness(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mipi_dsi_dc...y_brightness(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this is the page for mipi_dsi_dc...y_brightness(9) β€” yes that's the real title, the truncation is giving legacy and we respect it πŸŽ€


🌸 NAME 🌸

mipi_dsi_dcs_set_display_brightness β€” sets the brightness value of the display πŸ’‘βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

int mipi_dsi_dcs_set_display_brightness (struct mipi_dsi_device *dsi ,
u16 brightness );

πŸŽ€ ARGUMENTS πŸŽ€

  • dsi β€” the DSI peripheral device, aka the screen in question πŸ–₯️
  • brightness β€” the brightness value you want to throw at it, a u16 πŸ”†

πŸ’… DESCRIPTION πŸ’…

Okay so, heads up bestie β€” this function is deprecated 😭 like, it still exists, but the kernel devs are gently pushing you toward the new one. Use mipi_dsi_dcs_set_display_brightness_multi instead. That's the move. That's the upgrade. Periodt πŸ‘‘


🌈 RETURN 🌈

0 on success, or a negative error code on failure πŸ’€ β€” no in-between, no cap.

✨ iykyk: a negative return means something went sideways, so go check it 🫢

🧚 SEE ALSO 🧚

Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c, dsi helpers(9), plus the whole friend group πŸ‘‡


that's the whole thing bestie, you ate that read πŸ’œβœ¨ this page lives over in ./drivers/gpu/drm and it's dated October 2026 β€” go forth and set some display brightness (with the _multi version, obviously πŸ™ˆπŸ’…) πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from