msm: mdss: Use the correct AD backlight for AD BL filter
Use the last backlight sent to AD core for AD backlight filter threshold comparison. Change-Id: I8ea26a8a95c700749aa83d5b70a3b16c44258767 Signed-off-by: Ping Li <pingli@codeaurora.org>
This commit is contained in:
parent
854f74456c
commit
83af99dce7
1 changed files with 1 additions and 1 deletions
|
@ -2652,7 +2652,7 @@ static int pp_ad_calc_bl(struct msm_fb_data_type *mfd, int bl_in, int *bl_out,
|
|||
|
||||
*bl_out = temp;
|
||||
if (pp_ad_bl_threshold_check(ad->init.al_thresh, ad->init.alpha_base,
|
||||
mfd->ad_bl_level, ad_bl_out)) {
|
||||
ad->last_bl, ad_bl_out)) {
|
||||
mfd->ad_bl_level = ad_bl_out;
|
||||
pr_debug("backlight send to AD block: %d\n", mfd->ad_bl_level);
|
||||
*bl_out_notify = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue