]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/backlight: Add function to change brightness in nits for VESA
authorSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 6 Feb 2025 06:32:51 +0000 (12:02 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 6 Feb 2025 16:44:42 +0000 (22:14 +0530)
commitb68074efcfcf7d8226ddb0b1326298671a04a3f7
treeb9d9bdea1518d934048fa9358021cb3b79c9f915
parent3f8a009a794eac8f5b7fac0242d321cc4581303d
drm/i915/backlight: Add function to change brightness in nits for VESA

Create a function that fills in the value for
PANEL_TARGET_LUMINANCE_VALUE which helps in changing the luminance in
nits using VESA interface.

--v2
-Prefer using luminance over nits [Jani]

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