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

Commit 3a7111e2 authored by Nadine Toledano's avatar Nadine Toledano
Browse files

msm: ipa2: notify sps driver to cache the write pointer for IPA BAM pipes



Due to HW limitation when returning from power-collapse SW shall read the
BAM write pointer value from SW instead of from the HW. This change
sets the SPS_BAM_CACHED_WP flag when IPA BAM registers to SPS driver.

Change-Id: Id287e40431bc483156ca9652f7f4dc565c790d30
Signed-off-by: default avatarNadine Toledano <nadinet@codeaurora.org>
parent 999a633c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3411,6 +3411,7 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p,
		bam_props.manage |= SPS_BAM_MGR_DEVICE_REMOTE;
	if (ipa_ctx->smmu_present)
		bam_props.options |= SPS_BAM_SMMU_EN;
	bam_props.options |= SPS_BAM_CACHED_WP;
	bam_props.ee = resource_p->ee;
	bam_props.ipc_loglevel = 3;