Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a162799a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: dsi: fix dsi init sequence with ulps during suspend feature"

parents 9e13de30 44eeb5f2
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -1276,7 +1276,15 @@ int mdss_dsi_on(struct mdss_panel_data *pdata)
	 */
	mdss_dsi_clk_ctrl(ctrl_pdata, ctrl_pdata->dsi_clk_handle,
			  MDSS_DSI_CORE_CLK, MDSS_DSI_CLK_ON);
	if (!pdata->panel_info.ulps_suspend_enabled) {

	/*
	 * If ULPS during suspend feature is enabled, then DSI PHY was
	 * left on during suspend. In this case, we do not need to reset/init
	 * PHY. This would have already been done when the CORE clocks are
	 * turned on. However, if cont splash is disabled, the first time DSI
	 * is powered on, phy init needs to be done unconditionally.
	 */
	if (!pdata->panel_info.ulps_suspend_enabled || !ctrl_pdata->ulps) {
		mdss_dsi_phy_sw_reset(ctrl_pdata);
		mdss_dsi_phy_init(ctrl_pdata);
		mdss_dsi_ctrl_setup(ctrl_pdata);