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

Commit 931f38f0 authored by Nadine Toledano's avatar Nadine Toledano Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: disable prefetch in ipa mhi driver



The prefetch mechanism is not supported yet due to a known limitation
in GSI firmware. This change configures the MHI HW accelerated channels
to work in direct mode rather than doorbell mode.

Change-Id: I8cfc7c941c9c86b810c23935ab8bb8fdc07a41a7
Signed-off-by: default avatarNadine Toledano <nadinet@codeaurora.org>
parent d70d0441
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1606,7 +1606,7 @@ static int ipa_mhi_start_gsi_channel(struct ipa3_mhi_channel_ctx *channel,
	ch_props.ring_len = channel->ch_ctx_host.rlen;
	ch_props.ring_base_addr = IPA_MHI_HOST_ADDR_COND(
			channel->ch_ctx_host.rbase);
	ch_props.use_db_eng = GSI_CHAN_DB_MODE;
	ch_props.use_db_eng = GSI_CHAN_DIRECT_MODE;
	ch_props.max_prefetch = GSI_ONE_PREFETCH_SEG;
	ch_props.low_weight = 1;
	ch_props.err_cb = ipa_mhi_gsi_ch_err_cb;