aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSuraj Kandpal <suraj.kandpal@intel.com>2025-06-20 12:04:36 +0530
committerSuraj Kandpal <suraj.kandpal@intel.com>2025-06-30 20:41:41 +0530
commit08e81e2ded98d726db0dba39030ef59eb49d762c (patch)
tree96e40070e09a1fcd95c8dac5b9a5cc38d9be37cc /include
parentdrm/dp: Add argument for max luminance in drm_edp_backlight_init (diff)
downloadlinux-08e81e2ded98d726db0dba39030ef59eb49d762c.tar.gz
linux-08e81e2ded98d726db0dba39030ef59eb49d762c.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/drm/display/drm_dp_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/display/drm_dp_helper.h b/include/drm/display/drm_dp_helper.h
index 0575418f0eb3..cf0706762902 100644
--- a/include/drm/display/drm_dp_helper.h
+++ b/include/drm/display/drm_dp_helper.h
@@ -844,7 +844,7 @@ drm_dp_has_quirk(const struct drm_dp_desc *desc, enum drm_dp_quirk quirk)
struct drm_edp_backlight_info {
u8 pwmgen_bit_count;
u8 pwm_freq_pre_divider;
- u16 max;
+ u32 max;
bool lsb_reg_used : 1;
bool aux_enable : 1;