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

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

Merge "msm: clk: qcom: add clock handoff for vco to support continuous splash"

parents 10403b23 cad9fe37
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -762,6 +762,10 @@ static int vco_10nm_prepare(struct clk_hw *hw)
		return -EINVAL;
	}

	/* Skip vco recalculation for continuous splash use case */
	if (pll->handoff_resources == true)
		return 0;

	rc = mdss_pll_resource_enable(pll, true);
	if (rc) {
		pr_err("failed to enable pll (%d) resource, rc=%d\n",
@@ -821,6 +825,9 @@ static unsigned long vco_10nm_recalc_rate(struct clk_hw *hw,
		return 0;
	}

	if (!dsi_pll_10nm_lock_status(pll))
		pll->handoff_resources = true;

	dec = MDSS_PLL_REG_R(pll->pll_base, PLL_DECIMAL_DIV_START_1);
	dec &= 0xFF;