diff options
| author | Animesh Kishore <animeshk@codeaurora.org> | 2017-05-08 11:23:34 +0530 |
|---|---|---|
| committer | Animesh Kishore <animeshk@codeaurora.org> | 2017-05-08 11:23:34 +0530 |
| commit | 3a69977d0e2175db9db1b2e85dcd6f95b8ef9551 (patch) | |
| tree | 510c61fcb2b15c6bd40d0881e3c7ee438a80231b /drivers/video/fbdev | |
| parent | 7d78f564ebe64a5c1977e6debbe25cd06bcd5902 (diff) | |
msm: mdss: Disable traffic shaper in command mode
Disabling for msm8998 and derivatives.
Change-Id: I944b7f31533c0c697c7c53684e6ad28eb1e36622
Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_pipe.c b/drivers/video/fbdev/msm/mdss_mdp_pipe.c index 724913f376a7..e147405fd455 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pipe.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pipe.c @@ -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; |
