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

Commit 9b9c3b6c authored by George Shen's avatar George Shen
Browse files

msm: cvp: Check ICA cycle in CVP power update



Fix CVP frequency management issue. In case a CVP application
uses ICA block, the driver failed to recognize the ICA block
use, therefore not updating CVP frequency. Because estimated
ICA use cycle is ignored by CVP driver. The change fixed the
problem.

Change-Id: I7ac0c2b913489d01f9f63bdffbec0d50ba7e4998
Signed-off-by: default avatarGeorge Shen <sqiao@codeaurora.org>
parent 01dafb76
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1440,7 +1440,8 @@ static bool is_subblock_profile_existed(struct msm_cvp_inst *inst)
{
	return (inst->prop.od_cycles ||
			inst->prop.mpu_cycles ||
			inst->prop.fdu_cycles);
			inst->prop.fdu_cycles ||
			inst->prop.ica_cycles);
}

static void aggregate_power_update(struct msm_cvp_core *core,