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: Ashok Vuyyuru <avuyyuru@codeaurora.org>
This commit is contained in:
Ashok Vuyyuru 2019-10-03 20:33:35 +05:30 • committed by Gerrit - the friendly Code Review server
commit 2d1cab7d75

View file

@ -4410,6 +4410,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) {