Skip to content

Commit 72136ef

Browse files
pyma1surajk8
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 <[email protected]> Reviewed-by: Suraj Kandpal <[email protected]> Signed-off-by: Suraj Kandpal <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 702fdf3 commit 72136ef

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
@@ -530,7 +530,7 @@ static int intel_dp_aux_vesa_setup_backlight(struct intel_connector *connector,
530530
luminance_range->max_luminance,
531531
panel->vbt.backlight.pwm_freq_hz,
532532
intel_dp->edp_dpcd, &current_level, &current_mode,
533-
false);
533+
panel->backlight.edp.vesa.luminance_control_support);
534534
if (ret < 0)
535535
return ret;
536536

0 commit comments

Comments
 (0)