]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/dp: Move from u16 to u32 for max in drm_edp_backlight_info
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 20 Jun 2025 06:34:36 +0000 (12:04 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 30 Jun 2025 15:11:41 +0000 (20:41 +0530)
commit08e81e2ded98d726db0dba39030ef59eb49d762c
tree96e40070e09a1fcd95c8dac5b9a5cc38d9be37cc
parent81fd01414f259ff897054c50750a25cbb0255060
drm/dp: Move from u16 to u32 for max in drm_edp_backlight_info

Use u32 instead of u16 for max variable in drm_edp_backlight_info
since it can now hold max luminance range value which is u32.
We will set this max with max_luminance value when luminance_set is
true.

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-5-suraj.kandpal@intel.com
drivers/gpu/drm/display/drm_dp_helper.c
include/drm/display/drm_dp_helper.h