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

Commit 3b6b3260 authored by Jayant Shekhar's avatar Jayant Shekhar
Browse files

drm/msm/sde: Use primary display for splash



In current implementation, splash uses single display
path, so for allocating resources for splash, ensure
primary display is used as otherwise there are chances
of mixer allocation failures.

Change-Id: I63554fce4b39fe1dc94d0648eb69a4007616378d
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 7d5af490
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -2658,6 +2658,14 @@ static int sde_kms_cont_splash_config(struct msm_kms *kms)
		SDE_DEBUG("info.is_connected = %s, info.is_primary = %s\n",
			((info.is_connected) ? "true" : "false"),
			((info.is_primary) ? "true" : "false"));

		/**
		 * Since we are supporting one DSI for splash, use the display
		 * which is marked as primary.
		 */
		if (!info.is_primary)
			continue;
		else
			break;
	}