qcacmn: Fix for IPA rx buff map failure

Add an atomic variable to indicate IPA pipes are connected.
Use it to ensure that SMMU mapping for rx buffers is sent
to IPA even if REO is not remapped but IPA pipes are connected.

Change-Id: I5d82dc073fc2f0de6df102f7bfd2a1e945297aa8
CRs-Fixed: 2552128
This commit is contained in:
Nisha Menon
2019-10-23 12:50:16 -07:00
committed by nshrivas
父節點 84f7fa87a8
當前提交 f7c5baa657
共有 3 個文件被更改,包括 7 次插入27 次删除

查看文件

@@ -210,6 +210,7 @@ QDF_STATUS dp_rx_buffers_replenish(struct dp_soc *dp_soc, uint32_t mac_id,
paddr = qdf_nbuf_get_frag_paddr(rx_netbuf, 0);
dp_ipa_handle_rx_buf_smmu_mapping(dp_soc, rx_netbuf, true);
/*
* check if the physical address of nbuf->data is
* less then 0x50000000 then free the nbuf and try
@@ -248,7 +249,6 @@ QDF_STATUS dp_rx_buffers_replenish(struct dp_soc *dp_soc, uint32_t mac_id,
*desc_list = next;
dp_ipa_handle_rx_buf_smmu_mapping(dp_soc, rx_netbuf, true);
}
hal_srng_access_end(dp_soc->hal_soc, rxdma_srng);