drm_edp_backlight_supported(9)
π 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β ifedp_dpcdindicates that VESA backlight controls are supported π slay!!falseβ otherwise π
β SEE ALSO β
the whole friend group, in order, no one left out π:
- Kernel file
./include/drm/display/drm_dp_helper.h - struct
drm_dp_vsc_sdp(9) - struct
drm_dp_as_sdp(9) drm_dp_dsc_sink_supports_format(9)drm_dp_is_uhbr_rate(9)- struct
drm_dp_aux_msg(9) - struct
drm_dp_aux_cec(9) - struct
drm_dp_aux(9) drm_dp_dpcd_readb(9)drm_dp_dpcd_read_data(9)drm_dp_dpcd_write_data(9)drm_dp_dpcd_writeb(9)drm_dp_dpcd_read_byte(9)drm_dp_dpcd_write_byte(9)- struct
drm_dp_desc(9) - enum
drm_dp_quirk(9) drm_dp_has_quirk(9)- struct
drm_edp_backlight_info(9) - struct
drm_dp_phy_test_params(9)
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
- 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