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

Commit 69ea2248 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/dsi-staging: avoid ctl soft reset when cont-splash is enabled



Avoid resetting the dsi ctrl when continuous splash screen is
enabled as it might cause flicker during the transition from
UEFI to kernel.

Change-Id: I0f9a28867fb83c26d39a2212916273cd686d7d23
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent 25e45574
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -5033,18 +5033,19 @@ int dsi_display_prepare(struct dsi_display *display)
		goto error_host_engine_off;
	}

	if (!display->is_cont_splash_enabled) {
		/*
		 * For continuous splash usecase, skip panel prepare and
		 * ctl reset since the pnael and ctrl is already in active
		 * state and panel on commands are not needed
		 */
		rc = dsi_display_soft_reset(display);
		if (rc) {
		pr_err("[%s] failed soft reset, rc=%d\n", display->name, rc);
			pr_err("[%s] failed soft reset, rc=%d\n",
					display->name, rc);
			goto error_ctrl_link_off;
		}

	if (!display->is_cont_splash_enabled) {
		/*
		 * For continuous splash usecase we skip panel
		 * prepare since the pnael is already in
		 * active state and panel on commands are not needed
		 */
		rc = dsi_panel_prepare(display->panel);
		if (rc) {
			pr_err("[%s] panel prepare failed, rc=%d\n",