msm: mdss: set mdp video stop mode

When dynamic refresh is triggered and DSI sets the video stop signal,
mdp line counter is halted, but not mdp engine unless this bit is set.

Change-Id: Ibfd9b2c6c9ed6635c1ca229f2ad21f800427e760
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
This commit is contained in:
Huaibin Yang 2015-01-27 14:20:06 -08:00 committed by David Keitel
parent e3ac2f4367
commit a07a798f71

View file

@ -1183,6 +1183,11 @@ static void mdss_mdp_fetch_start_config(struct mdss_mdp_video_ctx *ctx,
h_total = mdss_panel_get_htotal(pinfo, true);
fetch_start = (v_total - mdss_mdp_max_fetch_lines(pinfo)) * h_total + 1;
fetch_enable = BIT(31);
if (pinfo->dynamic_fps && (pinfo->dfps_update ==
DFPS_IMMEDIATE_CLK_UPDATE_MODE))
fetch_enable |= BIT(23);
ctl->prg_fet = true;
pr_debug("ctl:%d, fetch start=%d\n", ctl->num, fetch_start);