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

Commit 988a9ef2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Disable traffic shaper in command mode"

parents afa71cb2 3a69977d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2414,9 +2414,9 @@ bool mdss_mdp_is_amortizable_pipe(struct mdss_mdp_pipe *pipe,
		(mixer->type == MDSS_MDP_MIXER_TYPE_INTF)))
		return false;

	/* do not apply for sdm660 & sdm630 in command mode */
	if ((IS_MDSS_MAJOR_MINOR_SAME(mdata->mdp_rev, MDSS_MDP_HW_REV_320) ||
		IS_MDSS_MAJOR_MINOR_SAME(mdata->mdp_rev, MDSS_MDP_HW_REV_330))
	/* do not apply for msm8998, sdm660 & sdm630 in command mode */
	if (MDSS_GET_MAJOR(mdata->mdp_rev) ==
		MDSS_GET_MAJOR(MDSS_MDP_HW_REV_300)
		 && !mixer->ctl->is_video_mode)
		return false;