mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
msm: cvp: Fix sum fps aggregation setting
Initialize the sum fps calculation to avoid the value keep increasing. Change-Id: I826c88f7e75d318e2b328e8a525afb44511fb662 Signed-off-by: Ronald Karyodisa <ronaldk@codeaurora.org>
This commit is contained in:
parent
5168327a4f
commit
235171a308
1 changed files with 4 additions and 0 deletions
|
|
@ -753,6 +753,10 @@ static void aggregate_power_update(struct msm_cvp_core *core,
|
|||
unsigned long op_fdu_max[2] = {0}, op_od_max[2] = {0};
|
||||
unsigned long op_mpu_max[2] = {0}, op_ica_max[2] = {0};
|
||||
unsigned long op_fw_max[2] = {0}, bw_sum[2] = {0}, op_bw_max[2] = {0};
|
||||
core->dyn_clk.sum_fps[HFI_HW_FDU] = 0;
|
||||
core->dyn_clk.sum_fps[HFI_HW_MPU] = 0;
|
||||
core->dyn_clk.sum_fps[HFI_HW_OD] = 0;
|
||||
core->dyn_clk.sum_fps[HFI_HW_ICA] = 0;
|
||||
|
||||
list_for_each_entry(inst, &core->instances, list) {
|
||||
if (inst->state == MSM_CVP_CORE_INVALID ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue