diff options
| author | Ping Li <pingli@codeaurora.org> | 2015-12-30 15:49:20 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:14:42 -0700 |
| commit | 83af99dce7aee8232f23d0ba17cb77a4c5409498 (patch) | |
| tree | 07aaf5aa4c609671b2f0d8bb5abf7d8d21f378bf | |
| parent | 854f74456ca92923f33f92a129a6a3e0ee36a3a9 (diff) | |
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>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_pp.c b/drivers/video/fbdev/msm/mdss_mdp_pp.c index e79010a6e3fe..827a063c5119 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pp.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c @@ -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; |
