From 2d1cab7d75b106656815b5cb5a718675ff2f84dd Mon Sep 17 00:00:00 2001 From: Ashok Vuyyuru Date: Thu, 3 Oct 2019 20:33:35 +0530 Subject: [PATCH] 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 --- drivers/platform/msm/ipa/ipa_v3/ipa_dp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c index e1020ae55e37..7f99e7ea261e 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c @@ -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) {