Revert "qcacmn: Initialize ipa_mapped to 1 in soc attach"
This reverts Change-Id: Idcb86db99f522959b639865f77178cd47a234277. Change-Id: I3084631103fa3e1937605af5ed5e14b8348cef57 CRs-Fixed: 3569762
This commit is contained in:

committed by
Rahul Choudhary

parent
06a7a53dde
commit
1f2104b733
@@ -3466,9 +3466,11 @@ QDF_STATUS dp_ipa_enable_pipes(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
|
||||
qdf_atomic_set(&soc->ipa_pipes_enabled, 1);
|
||||
DP_IPA_EP_SET_TX_DB_PA(soc, ipa_res);
|
||||
|
||||
if (!ipa_config_is_opt_wifi_dp_enabled())
|
||||
if (!ipa_config_is_opt_wifi_dp_enabled()) {
|
||||
dp_ipa_handle_rx_buf_pool_smmu_mapping(soc, pdev, true,
|
||||
__func__, __LINE__);
|
||||
qdf_atomic_set(&soc->ipa_mapped, 1);
|
||||
}
|
||||
|
||||
result = qdf_ipa_wdi_enable_pipes(hdl);
|
||||
if (result) {
|
||||
|
@@ -13570,9 +13570,6 @@ dp_soc_attach(struct cdp_ctrl_objmgr_psoc *ctrl_psoc,
|
||||
dp_soc_set_def_pdev(soc);
|
||||
dp_soc_set_qref_debug_list(soc);
|
||||
|
||||
if (!ipa_config_is_opt_wifi_dp_enabled())
|
||||
qdf_atomic_set(&soc->ipa_mapped, 1);
|
||||
|
||||
dp_info("Mem stats: DMA = %u HEAP = %u SKB = %u",
|
||||
qdf_dma_mem_stats_read(),
|
||||
qdf_heap_mem_stats_read(),
|
||||
|
@@ -4390,6 +4390,8 @@ QDF_STATUS wlan_ipa_setup(struct wlan_ipa_priv *ipa_ctx,
|
||||
qdf_mutex_create(&ipa_ctx->ipa_lock);
|
||||
qdf_atomic_init(&ipa_ctx->deinit_in_prog);
|
||||
|
||||
cdp_ipa_set_smmu_mapped(ipa_ctx->dp_soc, 0);
|
||||
|
||||
status = wlan_ipa_wdi_setup_rm(ipa_ctx);
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
goto fail_setup_rm;
|
||||
|
Reference in New Issue
Block a user