disp: msm: sde: add new support for digital dimming
Add new properties to support dynamically turning on and off digital dimming and setting new minimum backlight. Change-Id: I3b94190877d556768ba2c92ec59432dec44de0de Signed-off-by: Ping Li <pingli@codeaurora.org>
This commit is contained in:
@@ -719,6 +719,8 @@ struct drm_msm_fp16_csc {
|
||||
__u32 cfg_param_1[FP16_CSC_CFG1_PARAM_LEN];
|
||||
};
|
||||
|
||||
#define DIMMING_ENABLE (1 << 0)
|
||||
#define DIMMING_MIN_BL_VALID (1 << 1)
|
||||
struct drm_msm_backlight_info {
|
||||
__u32 brightness_max;
|
||||
__u32 brightness;
|
||||
@@ -726,6 +728,8 @@ struct drm_msm_backlight_info {
|
||||
__u32 bl_level;
|
||||
__u32 bl_scale;
|
||||
__u32 bl_scale_sv;
|
||||
__u32 status;
|
||||
__u32 min_bl;
|
||||
};
|
||||
|
||||
#define DIMMING_BL_LUT_LEN 8192
|
||||
|
Reference in New Issue
Block a user