drm/dp: Change argument type of drm_edp_backlight_enable
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 20 Jun 2025 06:34:41 +0000 (12:04 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 30 Jun 2025 15:11:47 +0000 (20:41 +0530)
commit05a76aef23df031bca3cdc5c46dd67922f3a15f2
tree392902a49711d2d5d852d5338a28c6934e716b6d
parentf2db78e37fe7f95dde96abe2a2a8412f8f519658
drm/dp: Change argument type of drm_edp_backlight_enable

Change the argument type to u32 for the default level being sent
since it has to now account for luminance value which has to be
set for DP_EDP_PANEL_LUMINANCE_TARGET_VALUE.

--v2
-No need to typecast [Jani]

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