]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/backlight: Use drm_edp_backlight_enable
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 20 Jun 2025 06:34:45 +0000 (12:04 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 30 Jun 2025 15:11:51 +0000 (20:41 +0530)
commitbdad4aa48c15cacd63e94242ea99682e1b5be4d0
treea30bf90d0aaf8009a7831df29f4de3b5174441a6
parentaede23820254ae2831d37456b4b18c665297e152
drm/i915/backlight: Use drm_edp_backlight_enable

Use drm dp helper to enable backlight now that it has been modified
to set PANEL_LUMINANCE_CONTROL_ENABLE bit based on if capability
supports it and the driver wants it. Remove the dead code.

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/20250620063445.3603086-14-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c