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

Commit 2ae35ef6 authored by Ping Li's avatar Ping Li
Browse files

msm: mdss: Correct the AD backlight calculation formulas



The previous AD backlight calculation formulas assume that the
BL_LIN, BL_LIN_INV and BL_ATT LUTs are monotonically increasing,
which can cause miscalculation when non monotonic LUTs are used.
This patch fixes the problem by removing the above assumption.

Change-Id: Ifee9dc067de8c6dbd24aac407ba702a13241f782
Signed-off-by: default avatarPing Li <pingli@codeaurora.org>
parent 13fe987c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment