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

Commit 6220429a authored by Karthik Parsha's avatar Karthik Parsha
Browse files

msm: lpm-levels: Add support for CCI auto hardware clock gating



CCI auto hardware clock gating is exercised independent of CCI
SPM. To support auto hardware clock gating, disable CCI SPM when
clock gating lpm level is chosen.

Change-Id: Iec20be34708c85161675c977153ef7198d926346
Signed-off-by: default avatarKarthik Parsha <kparsha@codeaurora.org>
parent 51c75088
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -226,6 +226,8 @@ int set_l2_mode(struct low_power_ops *ops, int mode, bool notify_rpm)

int set_cci_mode(struct low_power_ops *ops, int mode, bool notify_rpm)
{
	if (mode == MSM_SPM_MODE_CLOCK_GATING)
		mode = MSM_SPM_MODE_DISABLED;
	return msm_spm_config_low_power_mode(ops->spm, mode, notify_rpm);
}