mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 05:32:40 -05:00
Imx233 Disable Autoslow only at maximum cpu frequency
At normal loads: - disabling auto slow boosts performance at the cost of runtime (~ -5%) - disabling at max cpu does not noticibly decrease runtime Change-Id: I5de80201c9a24ce556862151cbd6b21b01708b63
This commit is contained in:
parent
ec4fa0333c
commit
7272f821da
1 changed files with 2 additions and 2 deletions
|
|
@ -357,8 +357,8 @@ void imx233_set_cpu_frequency(long frequency)
|
|||
/* Change VDDD regulator */
|
||||
imx233_power_set_regulator(REGULATOR_VDDD, prof->vddd, prof->vddd_bo);
|
||||
}
|
||||
/* enable auto slow again */
|
||||
imx233_clkctrl_enable_auto_slow(true);
|
||||
/* enable auto slow again only at lower cpu frequencies */
|
||||
imx233_clkctrl_enable_auto_slow(frequency != CPUFREQ_MAX);
|
||||
/* update frequency */
|
||||
cpu_frequency = frequency;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue