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

Commit f8314874 authored by Siddhartha Agrawal's avatar Siddhartha Agrawal
Browse files

msm: mdss: Enable FBC on Layer mixer 1



Layer mixer 1 also supports framebuffer compression. This is
needed to support dual-dsi fbc enabled panels.

Change-Id: I1118298e89ce06ef14bbea1c47478f04e3050154
Signed-off-by: default avatarSiddhartha Agrawal <agrawals@codeaurora.org>
parent 0baa58a0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1305,9 +1305,10 @@ static int mdss_mdp_ctl_fbc_enable(int enable,
		return -EINVAL;
	}

	if (mixer->num == MDSS_MDP_INTF_LAYERMIXER0)
	if (mixer->num == MDSS_MDP_INTF_LAYERMIXER0 ||
			mixer->num == MDSS_MDP_INTF_LAYERMIXER1) {
		pr_debug("Mixer supports FBC.\n");
	else {
	} else {
		pr_debug("Mixer doesn't support FBC.\n");
		return -EINVAL;
	}