msm: mdss: do not resynchronize DSI FIFO if during device boot up

For PHY version 0x3, DSI FIFO needs to be resynchronized once DSI
PLL is enabled. But during device boot up if continuous splash is
enabled then we don't need to toggle the FIFO resync bit, since DSI
PLL will be already enabled by UEFI. So avoid toggling FIFO resync
if continuous splash is enabled.

Change-Id: I94f3e0e48799ded8e546f3889b3df0a8af577451
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
This commit is contained in:
Sandeep Panda 2017-07-07 16:08:47 +05:30
parent 823d04d683
commit 07a9d67a5e

View file

@ -2587,7 +2587,8 @@ int mdss_dsi_post_clkon_cb(void *priv,
} }
if (clk & MDSS_DSI_LINK_CLK) { if (clk & MDSS_DSI_LINK_CLK) {
/* toggle the resync FIFO everytime clock changes */ /* toggle the resync FIFO everytime clock changes */
if (ctrl->shared_data->phy_rev == DSI_PHY_REV_30) if ((ctrl->shared_data->phy_rev == DSI_PHY_REV_30) &&
!pdata->panel_info.cont_splash_enabled)
mdss_dsi_phy_v3_toggle_resync_fifo(ctrl); mdss_dsi_phy_v3_toggle_resync_fifo(ctrl);
if (ctrl->ulps) { if (ctrl->ulps) {