]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/backlight: Enable nits based luminance
authorSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 6 Feb 2025 06:32:53 +0000 (12:02 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 6 Feb 2025 16:44:43 +0000 (22:14 +0530)
commita5efc8dcfe710fd63a0557d3512e8ff753c2e283
tree04536624741afd8c72f182a14538256e0c8de6d0
parent8d502933ac20afe97ec36fa8f0fd39bfee631b60
drm/i915/backlight: Enable nits based luminance

Enable nits based luminance by writing the PANEL_LUMINANCE_CONTROL
bit and set the correct register to change brightness.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Tested-by: Ben Kao <ben.kao@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250206063253.2827017-9-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c