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

Commit 60ed6c7e authored by Yan He's avatar Yan He
Browse files

msm: ipa: remove IPC logging in the data path of IPA BAM



IPA BAM use case may have frequent switching between polling mode
and interrupt mode. Thus, remove all IPC logging which could happen
in the data path of IPA BAM to reduce the CPU usage.

Change-Id: Ibaad7827af8a2926ec0dfe51de986be8461acf56
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent b245a027
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3217,7 +3217,7 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p,
	if (ipa_ctx->smmu_present)
		bam_props.options |= SPS_BAM_SMMU_EN;
	bam_props.ee = resource_p->ee;
	bam_props.ipc_loglevel = 2;
	bam_props.ipc_loglevel = 3;

	result = sps_register_bam_device(&bam_props, &ipa_ctx->bam_handle);
	if (result) {
+1 −1
Original line number Diff line number Diff line
@@ -3190,7 +3190,7 @@ static int ipa3_init(const struct ipa3_plat_drv_res *resource_p,
	if (ipa3_ctx->smmu_present)
		bam_props.options |= SPS_BAM_SMMU_EN;
	bam_props.ee = resource_p->ee;
	bam_props.ipc_loglevel = 2;
	bam_props.ipc_loglevel = 3;

	result = sps_register_bam_device(&bam_props, &ipa3_ctx->bam_handle);
	if (result) {