Skip to content

Commit 854c0dc

Browse files
committed
drm/i915/backlight: Disable backlight when using luminance control
We just return when using luminance control instead we should be calling the disable helper to get everything cleaned up properly by default. Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com> Link: https://lore.kernel.org/r/20250904044804.948391-1-suraj.kandpal@intel.com
1 parent 5f3cec2 commit 854c0dc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,6 @@ static void intel_dp_aux_vesa_disable_backlight(const struct drm_connector_state
550550
struct intel_panel *panel = &connector->panel;
551551
struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder);
552552

553-
if (panel->backlight.edp.vesa.luminance_control_support)
554-
return;
555-
556553
drm_edp_backlight_disable(&intel_dp->aux, &panel->backlight.edp.vesa.info);
557554

558555
if (!panel->backlight.edp.vesa.info.aux_enable)

0 commit comments

Comments
 (0)