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

Commit ba438ab1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: fix qsb configuration for ipa4.0"

parents fc23b58b f55c5e04
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1991,10 +1991,13 @@ void ipa3_cfg_qsb(void)
	max_writes.qmb_1_max_writes = 2;

	if (ipa3_ctx->ipa_hw_type >= IPA_HW_v3_5) {
		max_writes.qmb_1_max_writes = 4;
		max_reads.qmb_1_max_reads = 12;
		max_writes.qmb_1_max_writes = 4;
	}

	if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_0)
		max_reads.qmb_0_max_reads = 12;

	ipahal_write_reg_fields(IPA_QSB_MAX_WRITES, &max_writes);
	ipahal_write_reg_fields(IPA_QSB_MAX_READS, &max_reads);
}