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

Commit 03f3ab6d authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa4: IPA PM clk scaling debug log change



Change clk scaling debug messages to low priority since there are
use cases where clients are cycling between activate and deactivate
which will clog the log with clk scaling messages.

Change-Id: I08a54e4312e32fb05a9c37d56fe0a432f8e45d77
CRs-Fixed: 2162251
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 6847aa66
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ static int do_clk_scaling(void)
	clk_scaling = &ipa_pm_ctx->clk_scaling;

	mutex_lock(&ipa_pm_ctx->client_mutex);
	IPA_PM_DBG("clock scaling started\n");
	IPA_PM_DBG_LOW("clock scaling started\n");
	tput = calculate_throughput();
	ipa_pm_ctx->aggregated_tput = tput;
	set_current_threshold();
@@ -364,7 +364,7 @@ static int do_clk_scaling(void)
			new_th_idx++;
	}

	IPA_PM_DBG("old idx was at %d\n", ipa_pm_ctx->clk_scaling.cur_vote);
	IPA_PM_DBG_LOW("old idx was at %d\n", ipa_pm_ctx->clk_scaling.cur_vote);


	if (ipa_pm_ctx->clk_scaling.cur_vote != new_th_idx) {
@@ -372,7 +372,7 @@ static int do_clk_scaling(void)
		ipa3_set_clock_plan_from_pm(ipa_pm_ctx->clk_scaling.cur_vote);
	}

	IPA_PM_DBG("new idx is at %d\n", ipa_pm_ctx->clk_scaling.cur_vote);
	IPA_PM_DBG_LOW("new idx is at %d\n", ipa_pm_ctx->clk_scaling.cur_vote);

	return 0;
}