summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorAdrian Salido-Moreno <adrianm@codeaurora.org>2013-11-05 18:13:42 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:23:05 -0700
commit0cd89eac3fcdf4fade8768c963cab247f604ba87 (patch)
tree375a753a37585e06a3d98567b12125bcd4909d77 /drivers/video/fbdev
parent1b99bcade8f99cb5057f6508815313e477162f44 (diff)
msm: mdss: send frame events on polling mode
Due to potential heavy load in the system, in some cases the system may fall into polling mode for vsyncs if interrupts are not happening fast enough. In such cases frame events should still be sent so that sync fences are properly released. Change-Id: I41903540921e9b4e9c79de3ad0b6c11c20b30520 CRs-Fixed: 569334 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_intf_video.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c
index 6f2fbe125d20..192336601083 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c
@@ -438,10 +438,9 @@ static int mdss_mdp_video_wait4comp(struct mdss_mdp_ctl *ctl, void *arg)
} else {
rc = 0;
}
-
- mdss_mdp_ctl_notify(ctl,
- rc ? MDP_NOTIFY_FRAME_TIMEOUT : MDP_NOTIFY_FRAME_DONE);
}
+ mdss_mdp_ctl_notify(ctl,
+ rc ? MDP_NOTIFY_FRAME_TIMEOUT : MDP_NOTIFY_FRAME_DONE);
if (ctx->wait_pending) {
ctx->wait_pending = 0;