]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/dp: Add argument for max luminance in drm_edp_backlight_init
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 20 Jun 2025 06:34:35 +0000 (12:04 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 30 Jun 2025 15:11:39 +0000 (20:41 +0530)
commit81fd01414f259ff897054c50750a25cbb0255060
tree9a4f576b8160d43e0fe04620090a43c2b6803a8f
parentc802a6b81b704bd969946f04f206a881f1abe2dd
drm/dp: Add argument for max luminance in drm_edp_backlight_init

Add new argument to drm_edp_backlight_init which gives the
max_luminance which will be needed to set the max values for
backlight.

--v2
-Use pass only max luminance instead of luminance_range_info struct
[Arun]

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-4-suraj.kandpal@intel.com
drivers/gpu/drm/display/drm_dp_helper.c
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
drivers/gpu/drm/nouveau/nouveau_backlight.c
include/drm/display/drm_dp_helper.h