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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user