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

Commit 8dc18dc0 authored by Ashok Vuyyuru's avatar Ashok Vuyyuru
Browse files

msm: ipa4: Fix to increase coaleascing common event ring size



Because of smaller event size observing the event ring empty
error from GSI. Add changes to increase coaleascing channel
common event ring size.

Change-Id: I87a83497be9e2b34743efec8b6782adaca21d662
Signed-off-by: default avatarAshok Vuyyuru <avuyyuru@codeaurora.org>
parent c3b20355
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4422,6 +4422,12 @@ static int ipa_gsi_setup_channel(struct ipa_sys_connect_params *in,
		}
		ipa3_ctx->gsi_evt_comm_ring_rem -= (ring_size);
		ep->gsi_evt_ring_hdl = ipa3_ctx->gsi_evt_comm_hdl;
	} else if (in->client == IPA_CLIENT_APPS_WAN_COAL_CONS) {
		result = ipa_gsi_setup_event_ring(ep,
				IPA_COMMON_EVENT_RING_SIZE, mem_flag);
		if (result)
			goto fail_setup_event_ring;

	} else if (in->client == IPA_CLIENT_APPS_WAN_CONS &&
			coale_ep_idx != IPA_EP_NOT_ALLOCATED &&
			ipa3_ctx->ep[coale_ep_idx].valid == 1) {