Merge "msm: ipa: do not use delay in SSR"
This commit is contained in:
commit
08cbc2ba00
1 changed files with 13 additions and 13 deletions
|
@ -1524,7 +1524,7 @@ static void ipa_free_buffer(void *user1, int user2)
|
||||||
kfree(user1);
|
kfree(user1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ipa_q6_pipe_delay(bool zip_pipes)
|
int ipa_q6_pipe_delay(bool zip_pipes)
|
||||||
{
|
{
|
||||||
u32 reg_val = 0;
|
u32 reg_val = 0;
|
||||||
int client_idx;
|
int client_idx;
|
||||||
|
@ -1911,14 +1911,14 @@ int ipa_q6_pre_shutdown_cleanup(void)
|
||||||
BUG();
|
BUG();
|
||||||
|
|
||||||
IPA_ACTIVE_CLIENTS_INC_SPECIAL("Q6");
|
IPA_ACTIVE_CLIENTS_INC_SPECIAL("Q6");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* pipe delay and holb discard for ZIP pipes are handled
|
* Do not delay Q6 pipes here. This may result in IPA reading a
|
||||||
* in post shutdown callback.
|
* DMA_TASK with lock bit set and then Q6 pipe delay is set. In this
|
||||||
|
* situation IPA will be remain locked as the DMA_TASK with unlock
|
||||||
|
* bit will not be read by IPA as pipe delay is enabled. IPA uC will
|
||||||
|
* wait for pipe to be empty before issuing a BAM pipe reset.
|
||||||
*/
|
*/
|
||||||
if (ipa_q6_pipe_delay(false)) {
|
|
||||||
IPAERR("Failed to delay Q6 pipes\n");
|
|
||||||
BUG();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ipa_q6_monitor_holb_mitigation(false)) {
|
if (ipa_q6_monitor_holb_mitigation(false)) {
|
||||||
IPAERR("Failed to disable HOLB monitroing on Q6 pipes\n");
|
IPAERR("Failed to disable HOLB monitroing on Q6 pipes\n");
|
||||||
|
@ -1958,13 +1958,13 @@ int ipa_q6_post_shutdown_cleanup(void)
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* pipe delay and holb discard for ZIP pipes are handled in
|
* Do not delay Q6 pipes here. This may result in IPA reading a
|
||||||
* post shutdown.
|
* DMA_TASK with lock bit set and then Q6 pipe delay is set. In this
|
||||||
|
* situation IPA will be remain locked as the DMA_TASK with unlock
|
||||||
|
* bit will not be read by IPA as pipe delay is enabled. IPA uC will
|
||||||
|
* wait for pipe to be empty before issuing a BAM pipe reset.
|
||||||
*/
|
*/
|
||||||
if (ipa_q6_pipe_delay(true)) {
|
|
||||||
IPAERR("Failed to delay Q6 ZIP pipes\n");
|
|
||||||
BUG();
|
|
||||||
}
|
|
||||||
if (ipa_q6_avoid_holb(true)) {
|
if (ipa_q6_avoid_holb(true)) {
|
||||||
IPAERR("Failed to set HOLB on Q6 ZIP pipes\n");
|
IPAERR("Failed to set HOLB on Q6 ZIP pipes\n");
|
||||||
BUG();
|
BUG();
|
||||||
|
|
Loading…
Add table
Reference in a new issue