drm_edp_backlight_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_edp_backlight_supported(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one's about peeking at an eDP DPCD and being like "hiiii do u do VESA backlight??" πŸŽ€


✨ NAME ✨

drm_edp_backlight_supported β€” check an eDP DPCD for VESA backlight support πŸ¦‹


🌸 SYNOPSIS 🌸

bool drm_edp_backlight_supported (const u8
       edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE] );

like, that's the whole vibe. it takes a const u8 array sized EDP_DISPLAY_CTL_CAP_SIZE and gives you back a bool. no cap. ✨


🫢 ARGUMENTS 🫢

  • edp_dpcd β€” the DPCD we're checking, bestie. that's it, that's the arg. it's literally just the DPCD to check πŸ’–

🧚 DESCRIPTION 🧚

okay so here's the tea β˜• β€” note that currently this function will return false for panels which support various DPCD backlight features but which require the brightness be set through PWM, and don't support setting the brightness level via the DPCD.

so like… those panels are lowkey doing their own thing and this function is not gonna hype them up. it says false. periodt. πŸ’…

fr fr, don't come for this function if your panel is a PWM-only girlie β€” that's a documented currently, not a bug. πŸ™ˆ

πŸ‘‘ RETURN πŸ‘‘

  • true β€” if edp_dpcd indicates that VESA backlight controls are supported πŸŽ‰ slay!!
  • false β€” otherwise 😭

⭐ SEE ALSO ⭐

the whole friend group, in order, no one left out πŸ’œ:


okay that's the whole page, ily, go check those DPCDs responsibly πŸ’–βœ¨

this lil masterpiece lives in ./include/drm/display, dropped October 2026, and it's all about drm_edp_backlight_supported(9) β€” mwah, bye bestie πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from