qcacmn: Map IPA tx buffers as part of IPA ready callback
Register IPA ready callback with IPA driver. The callback sets ipa_is_ready flag in the host driver and kick starts the ipa init sequence as part of which the Tx buffers are mapped to IPA. None of the IPA APIs are invoked until IPA ready registration is complete. Change-Id: I6570b2b347052164a274fbc22358ebf0719dcabf CRs-Fixed: 2735107
このコミットが含まれているのは:
@@ -248,6 +248,17 @@ bool dp_ipa_is_mdm_platform(void);
|
||||
|
||||
qdf_nbuf_t dp_ipa_handle_rx_reo_reinject(struct dp_soc *soc, qdf_nbuf_t nbuf);
|
||||
|
||||
/**
|
||||
* dp_ipa_tx_buf_smmu_mapping() Create SMMU mappings for IPA
|
||||
* allocated TX buffers
|
||||
* @soc_hdl - handle to the soc
|
||||
* @pdev_id - pdev id number, to get the handle
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS dp_ipa_tx_buf_smmu_mapping(
|
||||
struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
|
||||
|
||||
#else
|
||||
static inline int dp_ipa_uc_detach(struct dp_soc *soc, struct dp_pdev *pdev)
|
||||
{
|
||||
@@ -279,5 +290,11 @@ static inline qdf_nbuf_t dp_ipa_handle_rx_reo_reinject(struct dp_soc *soc,
|
||||
return nbuf;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS dp_ipa_tx_buf_smmu_mapping(
|
||||
struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* _DP_IPA_H_ */
|
||||
|
新しいイシューから参照
ユーザーをブロックする