qcacmn: Add support for SMMU IPA WDI unified API
IPA driver adds unified WDI API for ipa_wdi_create_smmu_mapping and ipa_wdi_release_smmu_mapping. WLAN driver needs to adopt the change accordingly. Change-Id: Ibbf10e4beb579a6a3d3e6b0e8e6d2c853f7e629a CRs-Fixed: 2238493
这个提交包含在:
@@ -207,6 +207,36 @@ static inline int qdf_ipa_wdi_set_perf_profile(
|
||||
return __qdf_ipa_wdi_set_perf_profile(profile);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_ipa_wdi_create_smmu_mapping() - Client should call this function to
|
||||
* create smmu mapping
|
||||
*
|
||||
* @num_buffers: [in] number of buffers
|
||||
* @info: [in] wdi buffer info
|
||||
*
|
||||
* Returns: 0 on success, negative on failure
|
||||
*/
|
||||
static inline int qdf_ipa_wdi_create_smmu_mapping(uint32_t num_buffers,
|
||||
qdf_ipa_wdi_buffer_info_t *info)
|
||||
{
|
||||
return __qdf_ipa_wdi_create_smmu_mapping(num_buffers, info);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_ipa_wdi_release_smmu_mapping() - Client should call this function to
|
||||
* release smmu mapping
|
||||
*
|
||||
* @num_buffers: [in] number of buffers
|
||||
* @info: [in] wdi buffer info
|
||||
*
|
||||
* Returns: 0 on success, negative on failure
|
||||
*/
|
||||
static inline int qdf_ipa_wdi_release_smmu_mapping(uint32_t num_buffers,
|
||||
qdf_ipa_wdi_buffer_info_t *info)
|
||||
{
|
||||
return __qdf_ipa_wdi_release_smmu_mapping(num_buffers, info);
|
||||
}
|
||||
|
||||
#else /* CONFIG_IPA_WDI_UNIFIED_API */
|
||||
|
||||
#include <i_qdf_ipa_wdi3.h>
|
||||
|
在新工单中引用
屏蔽一个用户