diff options
author | Suraj Kandpal <suraj.kandpal@intel.com> | 2025-09-04 10:18:04 +0530 |
---|---|---|
committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2025-09-09 08:25:25 +0530 |
commit | 854c0dc80e25a408ecf7cf27661c28b8c10c291e (patch) | |
tree | 6084b4e82ae30f638086dc7d809eea0b7dd909e1 | |
parent | 5f3cec21f6d57336a2cbfa9ee428ac66c77a7211 (diff) |
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
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c index f665d845c809..0cf49219c44d 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +++ b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c @@ -550,9 +550,6 @@ static void intel_dp_aux_vesa_disable_backlight(const struct drm_connector_state struct intel_panel *panel = &connector->panel; struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); - if (panel->backlight.edp.vesa.luminance_control_support) - return; - drm_edp_backlight_disable(&intel_dp->aux, &panel->backlight.edp.vesa.info); if (!panel->backlight.edp.vesa.info.aux_enable) |