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

Commit d0c1fd74 authored by Jin Li's avatar Jin Li
Browse files

drm/sde: only set split registers for DSI interfaces



The SPLIT related registers are only for DSI interfaces. Without
checking the interface type, they could be overwrote by
configurations through HDMI path.

CRs-Fixed: 1085586
Change-Id: I7ace9fd8dfe5ee99cb750b2723e8f22701039552
Signed-off-by: default avatarJin Li <jinl@codeaurora.org>
parent d6c96b6e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -39,6 +39,10 @@ static void sde_hw_setup_split_pipe_control(struct sde_hw_mdp *mdp,
	u32 upper_pipe = 0;
	u32 lower_pipe = 0;

	/* The SPLIT registers are only for DSI interfaces */
	if ((cfg->intf != INTF_1) && (cfg->intf != INTF_2))
		return;

	if (cfg->en) {
		if (cfg->mode == INTF_MODE_CMD) {
			lower_pipe = FLD_SPLIT_DISPLAY_CMD;