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

Commit 6e97f0f2 authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm:ipa: enable SMMU for MHI PRIME channels



SMMU map buffers and doorbells for MHI PRIME channels.

Change-Id: I196694d731ce1a1fa26c95499ea808a1a25fcc82
Acked-by: default avatarJyothi J <jyothij@qti.qualcomm.com>
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent acc294eb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7082,6 +7082,10 @@ int ipa3_get_smmu_params(struct ipa_smmu_in_params *in,
				!(ipa3_ctx->s1_bypass_arr[IPA_SMMU_CB_UC] |
				ipa3_ctx->s1_bypass_arr[IPA_SMMU_CB_WLAN]);
		break;
	case IPA_SMMU_AP_CLIENT:
		is_smmu_enable =
			!(ipa3_ctx->s1_bypass_arr[IPA_SMMU_CB_AP]);
		break;
	default:
		is_smmu_enable = false;
		IPAERR("Trying to get illegal clients SMMU status");
+602 −423

File changed.

Preview size limit exceeded, changes collapsed.