|
@@ -2,7 +2,7 @@
|
|
|
/*
|
|
|
* Copyright (c) 2018 - 2021, The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
- * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*/
|
|
|
|
|
|
#include "ipa_i.h"
|
|
@@ -1043,7 +1043,8 @@ int ipa3_disconn_wdi3_pipes(int ipa_ep_idx_tx, int ipa_ep_idx_rx,
|
|
|
else
|
|
|
ipa3_release_wdi3_gsi_smmu_mappings(IPA_WDI3_RX2_DIR);
|
|
|
|
|
|
- if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2)
|
|
|
+ if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2
|
|
|
+ && ipa3_ctx->platform_type != IPA_PLAT_TYPE_XR)
|
|
|
ipa3_uc_debug_stats_dealloc(IPA_HW_PROTOCOL_WDI3);
|
|
|
|
|
|
if (ipa3_ctx->ipa_wdi_opt_dpath)
|
|
@@ -1163,7 +1164,8 @@ int ipa3_enable_wdi3_pipes(int ipa_ep_idx_tx, int ipa_ep_idx_rx,
|
|
|
goto fail_start_channel3;
|
|
|
}
|
|
|
/* start uC gsi dbg stats monitor */
|
|
|
- if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2) {
|
|
|
+ if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2
|
|
|
+ && ipa3_ctx->platform_type != IPA_PLAT_TYPE_XR) {
|
|
|
ipa3_ctx->gsi_info[IPA_HW_PROTOCOL_WDI3].ch_id_info[0].ch_id
|
|
|
= ep_rx->gsi_chan_hdl;
|
|
|
ipa3_ctx->gsi_info[IPA_HW_PROTOCOL_WDI3].ch_id_info[0].dir
|
|
@@ -1308,7 +1310,8 @@ int ipa3_disable_wdi3_pipes(int ipa_ep_idx_tx, int ipa_ep_idx_rx,
|
|
|
}
|
|
|
}
|
|
|
/* stop uC gsi dbg stats monitor */
|
|
|
- if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2) {
|
|
|
+ if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2
|
|
|
+ && ipa3_ctx->platform_type != IPA_PLAT_TYPE_XR) {
|
|
|
ipa3_ctx->gsi_info[IPA_HW_PROTOCOL_WDI3].ch_id_info[0].ch_id
|
|
|
= 0xff;
|
|
|
ipa3_ctx->gsi_info[IPA_HW_PROTOCOL_WDI3].ch_id_info[0].dir
|