mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
msm: ipa3: enable uc stats for WDI2
Currently only uc stats is enabled only for WDI3 IPA HW version 4.5. Enable it for WDI2 as well. Change-Id: I3c4f61a3e73d4e6dad917c6aee27f984cb62acab Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
This commit is contained in:
parent
497e1f669b
commit
7fbc0a11ee
@ -2268,7 +2268,7 @@ int ipa3_disconnect_gsi_wdi_pipe(u32 clnt_hdl)
|
||||
ipa3_ctx->uc_wdi_ctx.stats_notify = NULL;
|
||||
else
|
||||
IPADBG("uc_wdi_ctx.stats_notify already null\n");
|
||||
if (ipa3_ctx->ipa_hw_type > IPA_HW_v4_5 ||
|
||||
if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 ||
|
||||
(ipa3_ctx->ipa_hw_type == IPA_HW_v4_1 &&
|
||||
ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ))
|
||||
ipa3_uc_debug_stats_dealloc(IPA_HW_PROTOCOL_WDI);
|
||||
@ -2653,7 +2653,7 @@ int ipa3_resume_gsi_wdi_pipe(u32 clnt_hdl)
|
||||
}
|
||||
pcmd_t = &ipa3_ctx->gsi_info[IPA_HW_PROTOCOL_WDI];
|
||||
/* start uC gsi dbg stats monitor */
|
||||
if (ipa3_ctx->ipa_hw_type > IPA_HW_v4_5 ||
|
||||
if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 ||
|
||||
(ipa3_ctx->ipa_hw_type == IPA_HW_v4_1 &&
|
||||
ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ)) {
|
||||
if (IPA_CLIENT_IS_PROD(ep->client)) {
|
||||
@ -2831,7 +2831,7 @@ retry_gsi_stop:
|
||||
}
|
||||
pcmd_t = &ipa3_ctx->gsi_info[IPA_HW_PROTOCOL_WDI];
|
||||
/* stop uC gsi dbg stats monitor */
|
||||
if (ipa3_ctx->ipa_hw_type > IPA_HW_v4_5 ||
|
||||
if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 ||
|
||||
(ipa3_ctx->ipa_hw_type == IPA_HW_v4_1 &&
|
||||
ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ)) {
|
||||
if (IPA_CLIENT_IS_PROD(ep->client)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user