feat(sys-clk-oc): set mariko min clock to 1020Mhz if using governor
Mariko: If using governor and cpu profile is higher than 1020, min clock will be set to 1020. Not much power saved by underclocking below 1020, so to prevent stutter and hanging
This commit is contained in:
@@ -294,6 +294,12 @@ void Governor::SetMaxHz(uint32_t maxHz, SysClkModule module) {
|
||||
}
|
||||
}
|
||||
|
||||
void Governor::SetMinHz(uint32_t minHz, SysClkModule module) {
|
||||
if (module == SysClkModule_CPU) {
|
||||
m_cpu_gov->min_hz = minHz;
|
||||
}
|
||||
}
|
||||
|
||||
void Governor::GovernorManager::Start() {
|
||||
if (this->running)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user