mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "msm: cvp: Fix CVP BW overvoting issue"
This commit is contained in:
commit
29142a00dd
1 changed files with 4 additions and 4 deletions
|
|
@ -895,12 +895,12 @@ static int adjust_bw_freqs(void)
|
|||
cvp_max_rate = tbl[tbl_size - 1].clock_rate;
|
||||
bus = &core->resources.bus_set.bus_tbl[1];
|
||||
max_bw = bus->range[1];
|
||||
min_bw = max_bw/10;
|
||||
min_bw = max_bw/100;
|
||||
|
||||
aggregate_power_update(core, &nrt_pwr, &rt_pwr, cvp_max_rate);
|
||||
dprintk(CVP_PROF, "PwrUpdate nrt %u %u rt %u %u\n",
|
||||
nrt_pwr.core_sum, nrt_pwr.op_core_sum,
|
||||
rt_pwr.core_sum, rt_pwr.op_core_sum);
|
||||
dprintk(CVP_PROF, "PwrUpdate nrt %u %u %lld rt %u %u %lld\n",
|
||||
nrt_pwr.core_sum, nrt_pwr.op_core_sum, nrt_pwr.bw_sum,
|
||||
rt_pwr.core_sum, rt_pwr.op_core_sum, rt_pwr.bw_sum);
|
||||
|
||||
if (rt_pwr.core_sum > cvp_max_rate) {
|
||||
dprintk(CVP_WARN, "%s clk vote out of range %lld\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue