msm: mdss: fix to increase the retire count during create fence

Current code does not increase the retire count during the
create fence. This results in the vsync handler not getting
created to report the vsync during kickoff.

Change-Id: I81373487142a6f501a58027a26a49a9949c56ee0
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
This commit is contained in:
Ingrid Gallardo 2015-06-11 21:14:17 -07:00 committed by David Keitel
parent b20fdef9ad
commit a76691661c

View file

@ -657,7 +657,7 @@ static struct sync_fence *__create_fence(struct msm_fb_data_type *mfd,
(mfd->panel.type == MIPI_CMD_PANEL)) {
if (mdp5_data->vsync_timeline) {
value = mdp5_data->vsync_timeline->value + 1 +
mdp5_data->retire_cnt;
mdp5_data->retire_cnt++;
sync_fence = mdss_fb_sync_get_fence(
mdp5_data->vsync_timeline, fence_name, value);
} else {