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

Commit 8be9f076 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

PM / devfreq: Set the is_64 flag in the adreno init function



Set the is_64 flag to true even if using the new SCM
ARMv8 interface.

Change-Id: I98f7addb8225d041dc5f6f2a9f87a6350ced8a7e
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent e4b5be8f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -160,6 +160,8 @@ static int tz_init(struct devfreq_msm_adreno_tz_data *priv,
		ret = scm_call2(SCM_SIP_FNID(SCM_SVC_DCVS, TZ_V2_INIT_ID_64),
				&desc);
		*version = desc.ret[0];
		if (!ret)
			priv->is_64 = true;
		kzfree(tz_buf);
	} else
		ret = -EINVAL;