Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/backlight: Take luminance_set into account for VESA backlight

When deciding what functions to enable to help control backlight we
used to only check aux_enable. Now with PANEL_LUMINANCE_OVERRIDE in
picture we need to take care that we do not enable PWM function if
luminance_set is set.

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15671
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://patch.msgid.link/20260302040613.3324049-4-suraj.kandpal@intel.com

+2 -1
+2 -1
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
··· 486 486 struct intel_panel *panel = &connector->panel; 487 487 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); 488 488 489 - if (!panel->backlight.edp.vesa.info.aux_enable) { 489 + if (!(panel->backlight.edp.vesa.info.aux_enable || 490 + panel->backlight.edp.vesa.info.luminance_set)) { 490 491 u32 pwm_level; 491 492 492 493 if (!panel->backlight.edp.vesa.info.aux_set)