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

Commit 3a69977d authored by Animesh Kishore's avatar Animesh Kishore
Browse files

msm: mdss: Disable traffic shaper in command mode



Disabling for msm8998 and derivatives.

Change-Id: I944b7f31533c0c697c7c53684e6ad28eb1e36622
Signed-off-by: default avatarAnimesh Kishore <animeshk@codeaurora.org>
parent 7d78f564
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;