diff options
| author | Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org> | 2013-02-15 12:43:42 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:14:41 -0700 |
| commit | 16f5cc6ae5a8be96ec355dc575aa3529fc0ee73d (patch) | |
| tree | 8c1e7ec89556d899cd586ad9373dde444e92aef0 /drivers/video/fbdev | |
| parent | 16e9419b23189470b769c9bc2672f694c361b9a7 (diff) | |
msm: mdss: enforce display commit during overlay unset
Display commit needs to happen on kickoff to ensure pipes are detached from
the control path. If the pipes remained attached upon control
reactivation it leads to frame drops.
CRs-fixed: 447112
Change-Id: I7b135874acc637501b3e4e7b844e111159b37eab
Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_overlay.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_overlay.c b/drivers/video/fbdev/msm/mdss_mdp_overlay.c index 283d3f0fd402..a5e70ad336a3 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_overlay.c +++ b/drivers/video/fbdev/msm/mdss_mdp_overlay.c @@ -580,6 +580,13 @@ static int mdss_mdp_overlay_release_all(struct msm_fb_data_type *mfd) unset_ndx |= pipe->ndx; cnt++; } + + if (cnt == 0 && !list_empty(&mfd->pipes_cleanup)) { + pr_warn("overlay release on fb%d called without commit!", + mfd->index); + cnt++; + } + mutex_unlock(&mfd->lock); if (unset_ndx) { |
