Skip to content

Commit 35e5263

Browse files
pyma1tursulin
authored andcommitted
drm/i915/backlight: Honor VESA eDP backlight luminance control capability
The VESA AUX backlight fails to be enable luminance based backlight mainpulation becaused luminance_set is false by default. Fix it by using luminance support control capabitliy. Fixes: e13af51 ("drm/i915/backlight: Use drm helper to initialize edp backlight") Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://lore.kernel.org/r/20250823121647.275834-1-aaron.ma@canonical.com (cherry picked from commit 72136ef) Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
1 parent f83ec76 commit 35e5263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ static int intel_dp_aux_vesa_setup_backlight(struct intel_connector *connector,
546546
luminance_range->max_luminance,
547547
panel->vbt.backlight.pwm_freq_hz,
548548
intel_dp->edp_dpcd, &current_level, &current_mode,
549-
false);
549+
panel->backlight.edp.vesa.luminance_control_support);
550550
if (ret < 0)
551551
return ret;
552552

0 commit comments

Comments
 (0)