summaryrefslogtreecommitdiff
path: root/core/cds
diff options
context:
space:
mode:
authorHimanshu Agarwal <himanaga@codeaurora.org>2017-06-05 15:54:27 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-21 13:53:43 -0700
commit7ab5a4bc7a1a6b07b3756df5a6cd4d748408a35b (patch)
tree3ed33e0cb60411510e786be0f5b525faa7b5608e /core/cds
parent8ed81960c11acbf2735604c12e11f0546e0bfd55 (diff)
downloadqcacld-7ab5a4bc7a1a6b07b3756df5a6cd4d748408a35b.tar.gz
qcacld-3.0: Add support for WLAN-IPA WDI 2 SMMU S1 translation
Update WLAN-IPA WDI-2 datapath buffer sharing for SMMU Stage 1 translation support. When SMMU Stage 1 translation is enabled DMA APIs return IO virtual address(IOVA) instead of physical address. This IOVA need to mapped to physical address by IPA module before accessing them Change-Id: I969ad020d5b423c785539f346286b212ea5830a1 CRS-Fixed: 2072960
Diffstat (limited to 'core/cds')
-rw-r--r--core/cds/src/cds_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c
index 7be587f817..e1f71ee9a9 100644
--- a/core/cds/src/cds_api.c
+++ b/core/cds/src/cds_api.c
@@ -2690,6 +2690,7 @@ int cds_smmu_map_unmap(bool map, uint32_t num_buf, qdf_mem_info_t *buf_arr)
#else
void cds_smmu_mem_map_setup(qdf_device_t osdev)
{
+ osdev->smmu_s1_enabled = false;
}
int cds_smmu_map_unmap(bool map, uint32_t num_buf, qdf_mem_info_t *buf_arr)