Loading drivers/platform/msm/ipa/ipa_v3/ipa_utils.c +13 −3 Original line number Diff line number Diff line Loading @@ -4697,11 +4697,21 @@ int ipa3_cfg_ep_aggr(u32 clnt_hdl, const struct ipa_ep_cfg_aggr *ep_aggr) res = -EINVAL; goto complete; } /* * HW bug on IPA4.5 where gran is used from pipe 0 instead of * coal pipe. Add this check to make sure that RSC pipe will use * gran 0 per the requested time needed; pipe 0 will use always * gran 0 as gran 0 is the POR value of it and s/w never change * it. */ if (ipa3_ctx->ipa_hw_type == IPA_HW_v4_5 && ipa3_get_client_mapping(clnt_hdl) == IPA_CLIENT_APPS_WAN_COAL_CONS && ipa3_ctx->ep[clnt_hdl].cfg.aggr.pulse_generator != 0) ipa3_ctx->ep[clnt_hdl].cfg.aggr.pulse_generator != 0) { IPAERR("coal pipe using GRAN_SEL = %d\n", ipa3_ctx->ep[clnt_hdl].cfg.aggr.pulse_generator); ipa_assert(); } } else { /* * Global aggregation granularity is 0.5msec. Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_utils.c +13 −3 Original line number Diff line number Diff line Loading @@ -4697,11 +4697,21 @@ int ipa3_cfg_ep_aggr(u32 clnt_hdl, const struct ipa_ep_cfg_aggr *ep_aggr) res = -EINVAL; goto complete; } /* * HW bug on IPA4.5 where gran is used from pipe 0 instead of * coal pipe. Add this check to make sure that RSC pipe will use * gran 0 per the requested time needed; pipe 0 will use always * gran 0 as gran 0 is the POR value of it and s/w never change * it. */ if (ipa3_ctx->ipa_hw_type == IPA_HW_v4_5 && ipa3_get_client_mapping(clnt_hdl) == IPA_CLIENT_APPS_WAN_COAL_CONS && ipa3_ctx->ep[clnt_hdl].cfg.aggr.pulse_generator != 0) ipa3_ctx->ep[clnt_hdl].cfg.aggr.pulse_generator != 0) { IPAERR("coal pipe using GRAN_SEL = %d\n", ipa3_ctx->ep[clnt_hdl].cfg.aggr.pulse_generator); ipa_assert(); } } else { /* * Global aggregation granularity is 0.5msec. Loading