mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "iinterconnect: qcom: Hold high bandwidth vote for keepalive BCMs"
This commit is contained in:
commit
2c5445837e
1 changed files with 6 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
*/
|
||||
#include <linux/interconnect-provider.h>
|
||||
|
|
@ -81,12 +81,11 @@ static void bcm_aggregate(struct qcom_icc_bcm *bcm)
|
|||
bcm->vote_y[bucket] = temp;
|
||||
}
|
||||
|
||||
if (bcm->keepalive && bcm->vote_x[QCOM_ICC_BUCKET_AMC] == 0 &&
|
||||
bcm->vote_y[QCOM_ICC_BUCKET_AMC] == 0) {
|
||||
bcm->vote_x[QCOM_ICC_BUCKET_AMC] = 1;
|
||||
bcm->vote_x[QCOM_ICC_BUCKET_WAKE] = 1;
|
||||
bcm->vote_y[QCOM_ICC_BUCKET_AMC] = 1;
|
||||
bcm->vote_y[QCOM_ICC_BUCKET_WAKE] = 1;
|
||||
if (bcm->keepalive) {
|
||||
bcm->vote_x[QCOM_ICC_BUCKET_AMC] = 16000;
|
||||
bcm->vote_x[QCOM_ICC_BUCKET_WAKE] = 16000;
|
||||
bcm->vote_y[QCOM_ICC_BUCKET_AMC] = 16000;
|
||||
bcm->vote_y[QCOM_ICC_BUCKET_WAKE] = 16000;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue