mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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>
This commit is contained in:
parent
996d5675d6
commit
13c8f5cea2
1 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue