msm: mdss: Disable traffic shaper for pipe in command mode
Add check to disable traffic shaper for pipe in command mode for sdm660 target. Change-Id: Id67ae89cbee90922212cc7cd6edafcae4ab4d0fc Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
This commit is contained in:
parent
ebc5196e3e
commit
2f75c352f1
1 changed files with 10 additions and 2 deletions
|
@ -2406,8 +2406,16 @@ bool mdss_mdp_is_amortizable_pipe(struct mdss_mdp_pipe *pipe,
|
|||
struct mdss_mdp_mixer *mixer, struct mdss_data_type *mdata)
|
||||
{
|
||||
/* do not apply for rotator or WB */
|
||||
return ((pipe->dst.y > mdata->prefill_data.ts_threshold) &&
|
||||
(mixer->type == MDSS_MDP_MIXER_TYPE_INTF));
|
||||
if (!((pipe->dst.y > mdata->prefill_data.ts_threshold) &&
|
||||
(mixer->type == MDSS_MDP_MIXER_TYPE_INTF)))
|
||||
return false;
|
||||
|
||||
/* do not apply for sdm660 in command mode */
|
||||
if ((IS_MDSS_MAJOR_MINOR_SAME(mdata->mdp_rev,
|
||||
MDSS_MDP_HW_REV_320)) && !mixer->ctl->is_video_mode)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline void __get_ordered_rects(struct mdss_mdp_pipe *pipe,
|
||||
|
|
Loading…
Add table
Reference in a new issue