diff options
| author | Suraj Kandpal <suraj.kandpal@intel.com> | 2025-06-20 09:34:34 +0300 |
|---|---|---|
| committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2025-06-30 18:11:38 +0300 |
| commit | c802a6b81b704bd969946f04f206a881f1abe2dd (patch) | |
| tree | a35fb7b86510ab5cb92d07ee65800ca70dc240f1 /include/drm/display | |
| parent | 2af612ad42903637b11f9ddf4101f231f1ec5d1d (diff) | |
| download | linux-c802a6b81b704bd969946f04f206a881f1abe2dd.tar.xz | |
drm/dp: Add argument in drm_edp_backlight_init
Add bool argument in drm_edp_backlight init to provide the drivers
option to choose if they want to use luminance values to
manipulate brightness.
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-3-suraj.kandpal@intel.com
Diffstat (limited to 'include/drm/display')
| -rw-r--r-- | include/drm/display/drm_dp_helper.h | 2 |
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 beafbc31f9d9..ea38e7807421 100644 --- a/include/drm/display/drm_dp_helper.h +++ b/include/drm/display/drm_dp_helper.h @@ -855,7 +855,7 @@ struct drm_edp_backlight_info { int drm_edp_backlight_init(struct drm_dp_aux *aux, struct drm_edp_backlight_info *bl, u16 driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE], - u16 *current_level, u8 *current_mode); + u16 *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, |
