msm: ipa: disable status on ODL_DPL_CONS pipe above IPAv4.5 targets

ADPLv3 targets do not require status to be enabled on ODL_DPL pipe.
Make changes to disable the status for targets with IPAv4.5 and above.

Change-Id: Ica07a25a01e742928d3ecb19a88b7ee2305235ae
Signedo-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Cette révision appartient à :
Chaitanya Pratapa
2020-08-30 21:26:42 -07:00
révisé par Gerrit - the friendly Code Review server
Parent cf817b5009
révision 948fe7a1d8

Voir le fichier

@@ -4120,9 +4120,10 @@ static int ipa3_assign_policy(struct ipa_sys_connect_params *in,
* Dont enable ipa_status for APQ, since MDM IPA
* has IPA >= 4.5 with DPLv3.
*/
if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ &&
ipa3_is_mhip_offload_enabled())
sys->ep->status.status_en = false;
if ((ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ &&
ipa3_is_mhip_offload_enabled()) ||
(ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5))
sys->ep->status.status_en = false;
else
sys->ep->status.status_en = true;
sys->policy = IPA_POLICY_INTR_POLL_MODE;