summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorSuraj Kandpal <suraj.kandpal@intel.com>2025-06-20 12:04:37 +0530
committerSuraj Kandpal <suraj.kandpal@intel.com>2025-06-30 20:41:42 +0530
commit9274a940f1c90c15fb66a8c5488b1b79e4e8c432 (patch)
tree7626aae11e73195c6affb8608f1aa507468946bf /include/drm
parent08e81e2ded98d726db0dba39030ef59eb49d762c (diff)
downloadlinux-9274a940f1c90c15fb66a8c5488b1b79e4e8c432.tar.gz
linux-9274a940f1c90c15fb66a8c5488b1b79e4e8c432.tar.bz2
linux-9274a940f1c90c15fb66a8c5488b1b79e4e8c432.zip
drm/dp: Change current_level argument type to u32
Change the current_level argument type to u32 from u16 since it can now carry the value which it gets from DP_EDP_PANEL_TARGET_LUMINANCE_VALUE. 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-6-suraj.kandpal@intel.com
Diffstat (limited to 'include/drm')
-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 cf0706762902..f23847fc02c9 100644
--- a/include/drm/display/drm_dp_helper.h
+++ b/include/drm/display/drm_dp_helper.h
@@ -856,7 +856,7 @@ int
drm_edp_backlight_init(struct drm_dp_aux *aux, struct drm_edp_backlight_info *bl,
u32 max_luminance,
u16 driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE],
- u16 *current_level, u8 *current_mode, bool need_luminance);
+ u32 *current_level, u8 *current_mode, bool need_luminance);
int drm_edp_backlight_set_level(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl,
u16 level);
int drm_edp_backlight_enable(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl,