msm: mdss: change retire fence signaling

Signal retire fence on first vsync after frame has been programmed to
hardware. This indicates when the frame starts being fetched by
MDSS hardware.

CRs-Fixed: 1081525
Change-Id: Ib69f64ff17a1609b67ff34ef277f658bfa5cfb5a
Signed-off-by: Adrian Salido <salidoa@google.com>
(cherry picked from commit 80d5d7558ac98c56527cb1040dab3fc5f438ab51)
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
This commit is contained in:
Adrian Salido 2016-07-12 13:31:17 -07:00 committed by Gerrit - the friendly Code Review server
parent acb7e2f792
commit 450a697713

View file

@ -2325,7 +2325,6 @@ int mdss_mdp_overlay_kickoff(struct msm_fb_data_type *mfd,
mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON);
mdss_mdp_check_ctl_reset_status(ctl);
__vsync_set_vsync_handler(mfd);
__validate_and_set_roi(mfd, data);
if (ctl->ops.wait_pingpong && mdp5_data->mdata->serialize_wait4pp)
@ -2374,6 +2373,7 @@ int mdss_mdp_overlay_kickoff(struct msm_fb_data_type *mfd,
&commit_cb);
ATRACE_END("display_commit");
}
__vsync_set_vsync_handler(mfd);
/*
* release the commit pending flag; we are releasing this flag