From 07a9d67a5e6a8c34088368f01d0f46b5469054ea Mon Sep 17 00:00:00 2001 From: Sandeep Panda Date: Fri, 7 Jul 2017 16:08:47 +0530 Subject: [PATCH] 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 --- drivers/video/fbdev/msm/msm_mdss_io_8974.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbdev/msm/msm_mdss_io_8974.c b/drivers/video/fbdev/msm/msm_mdss_io_8974.c index 80dbe83972d7..bb3b4b3fa929 100644 --- a/drivers/video/fbdev/msm/msm_mdss_io_8974.c +++ b/drivers/video/fbdev/msm/msm_mdss_io_8974.c @@ -2587,7 +2587,8 @@ int mdss_dsi_post_clkon_cb(void *priv, } if (clk & MDSS_DSI_LINK_CLK) { /* 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); if (ctrl->ulps) {