mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm_fb: display: check FB_ACTIVATE_VBL bit only
FB_ACTIVATE_VBL bit is set to enable TE logic at pan_display and unset to disable TE logic at pan_display for smart panel. This patch checks for FB_ACTIVATE_VBL bit set only instead of value. CRs-fixed: 433399 Change-Id: I6fc913c6752fcca6a27c783c45ab318065217973 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
This commit is contained in:
parent
c0e1c24799
commit
4adff91942
2 changed files with 4 additions and 1 deletions
|
@ -862,6 +862,9 @@ static void mdp4_overlay_update_dsi_cmd(struct msm_fb_data_type *mfd)
|
|||
pipe = vctrl->base_pipe;
|
||||
}
|
||||
|
||||
/* TE enabled */
|
||||
mdp4_mipi_vsync_enable(mfd, pipe, 0);
|
||||
|
||||
MDP_OUTP(MDP_BASE + 0x021c, 10); /* read pointer */
|
||||
|
||||
/*
|
||||
|
|
|
@ -1982,7 +1982,7 @@ static int msm_fb_pan_display_sub(struct fb_var_screeninfo *var,
|
|||
}
|
||||
|
||||
mdp_set_dma_pan_info(info, dirtyPtr,
|
||||
(var->activate == FB_ACTIVATE_VBL));
|
||||
(var->activate & FB_ACTIVATE_VBL));
|
||||
/* async call */
|
||||
|
||||
mdp_dma_pan_update(info);
|
||||
|
|
Loading…
Reference in a new issue