Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb7975ab authored by Benet Clark's avatar Benet Clark
Browse files

msm: mdss: Define AD BL linearity LUT size independent of maximum BL value



Previously the AD BL linearity LUT size was dependent on the maximum BL
value for the hardware. Now it has been defined to a fixed value so that
the LUT is consistent across hardwares.

Change-Id: I11cc2f135118cf3f63fdeca820f4c8430f9d127d
Signed-off-by: default avatarBenet Clark <benetc@codeaurora.org>
parent 60e6ad84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -735,7 +735,7 @@ enum {
};

#define MDSS_MAX_BL_BRIGHTNESS 255
#define AD_BL_LIN_LEN (MDSS_MAX_BL_BRIGHTNESS + 1)
#define AD_BL_LIN_LEN 256

#define MDSS_AD_MODE_AUTO_BL	0x0
#define MDSS_AD_MODE_AUTO_STR	0x1