diff options
author | Ramakant Singh <ramaka@codeaurora.org> | 2015-04-01 17:08:54 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-04-06 08:13:15 -0700 |
commit | 0f96c76818cd6cea6bb5b02a4a25fad4a823e9ab (patch) | |
tree | 58b31054546b930c1db5aedd9fa5e093cad1ebad /drivers/video | |
parent | 569166a312e9b55aa33f9f8343ae40df54f27235 (diff) | |
download | qcom-msm-v3.10-0f96c76818cd6cea6bb5b02a4a25fad4a823e9ab.tar.gz |
msm: mdss: fix MDP over vote issue with smart blit
Set smart blit flag before AB/IB bandwidth calculation to optimize
the bandwidth value for smart blit case.
Change-Id: I214bc078c6bc9c22b53a99c0e0a517602ea3c1aa
Signed-off-by: Ramakant Singh <ramaka@codeaurora.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/msm/mdss/mdp3_ppp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/msm/mdss/mdp3_ppp.c b/drivers/video/msm/mdss/mdp3_ppp.c index 5c6af475f2f..26b49f97b0d 100644 --- a/drivers/video/msm/mdss/mdp3_ppp.c +++ b/drivers/video/msm/mdss/mdp3_ppp.c @@ -112,7 +112,7 @@ struct ppp_status { }; static struct ppp_status *ppp_stat; - +static bool is_blit_optimization_possible(struct blit_req_list *req, int indx); int ppp_get_bpp(uint32_t format, uint32_t fb_format) { @@ -543,6 +543,8 @@ int mdp3_calc_ppp_res(struct msm_fb_data_type *mfd, struct blit_req_list *lreq) } for (i = 0; i < lcount; i++) { + /* Set Smart blit flag before BW calculation */ + is_blit_optimization_possible(lreq, i); req = &(lreq->req_list[i]); if (req->fps > 0 && req->fps <= panel_info->mipi.frame_rate) { |