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

Commit 09858df8 authored by Ping Li's avatar Ping Li Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Unblock mdp PP features when AD calib mode is enabled



Assertive display calibration mode can co-exist with MDP based
post-processing features, only the backlight changes need to be
blocked when AD calibration mode is enabled.

Change-Id: I9c2932e4fa305a9d53cb4dcca11b877f298b4a23
Signed-off-by: default avatarPing Li <pingli@codeaurora.org>
parent f265ab81
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1734,10 +1734,6 @@ static int pp_dspp_setup(u32 disp_num, struct mdss_mdp_mixer *mixer)
		ad_flags = 0;
	}

	/* call calibration specific processing here */
	if (ctl->mfd->calib_mode)
		goto flush_exit;

	/* nothing to update */
	if ((!flags) && (!(opmode)) && (!ad_flags))
		goto dspp_exit;
@@ -1800,7 +1796,6 @@ static int pp_dspp_setup(u32 disp_num, struct mdss_mdp_mixer *mixer)
opmode_config:
	pp_dspp_opmode_config(ctl, dspp_num, pp_sts, mdata->mdp_rev, &opmode);

flush_exit:
	if (ad_hw) {
		mutex_lock(&ad->lock);
		ad_flags = ad->reg_sts;