msm: ipa3: fix holb sequence for SSR
The correct sequence for enabling HOLB drop is first to suspend the pipe and then to HOLB drop. Change-Id: I78b7b268eec230a4993e446bd90846f800364e06 CRs-Fixed: 2141518 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
This commit is contained in:
parent
df805abc50
commit
34e75f5628
1 changed files with 6 additions and 4 deletions
|
@ -2162,6 +2162,12 @@ static void ipa3_q6_avoid_holb(void)
|
|||
if (ep_idx == -1)
|
||||
continue;
|
||||
|
||||
/* from IPA 4.0 pipe suspend is not supported */
|
||||
if (ipa3_ctx->ipa_hw_type < IPA_HW_v4_0)
|
||||
ipahal_write_reg_n_fields(
|
||||
IPA_ENDP_INIT_CTRL_n,
|
||||
ep_idx, &ep_suspend);
|
||||
|
||||
/*
|
||||
* ipa3_cfg_ep_holb is not used here because we are
|
||||
* setting HOLB on Q6 pipes, and from APPS perspective
|
||||
|
@ -2174,10 +2180,6 @@ static void ipa3_q6_avoid_holb(void)
|
|||
ipahal_write_reg_n_fields(
|
||||
IPA_ENDP_INIT_HOL_BLOCK_EN_n,
|
||||
ep_idx, &ep_holb);
|
||||
|
||||
ipahal_write_reg_n_fields(
|
||||
IPA_ENDP_INIT_CTRL_n,
|
||||
ep_idx, &ep_suspend);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue