@@ -254,8 +254,7 @@ void ClockManager::Tick()
|
|||||||
std::scoped_lock lock{this->contextMutex};
|
std::scoped_lock lock{this->contextMutex};
|
||||||
if(Board::GetSocType() == SysClkSocType_Mariko && this->config->GetConfigValue(HocClkConfigValue_KipEditing)) {
|
if(Board::GetSocType() == SysClkSocType_Mariko && this->config->GetConfigValue(HocClkConfigValue_KipEditing)) {
|
||||||
if((Board::GetHz(SysClkModule_MEM) / 1000000) > 1600)
|
if((Board::GetHz(SysClkModule_MEM) / 1000000) > 1600)
|
||||||
if(I2c_BuckConverter_GetMvOut(&I2c_Mariko_GPU) < this->config->GetConfigValue(HocClkConfigValue_HighRamFreqVmin))
|
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(HocClkConfigValue_HighRamFreqVmin));
|
||||||
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(HocClkConfigValue_HighRamFreqVmin));
|
|
||||||
else
|
else
|
||||||
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(KipConfigValue_marikoGpuVmin));
|
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(KipConfigValue_marikoGpuVmin));
|
||||||
}
|
}
|
||||||
@@ -379,8 +378,7 @@ void ClockManager::Tick()
|
|||||||
if((Board::GetHz(SysClkModule_MEM) / 1000000) <= 1600)
|
if((Board::GetHz(SysClkModule_MEM) / 1000000) <= 1600)
|
||||||
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(KipConfigValue_marikoGpuVmin));
|
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(KipConfigValue_marikoGpuVmin));
|
||||||
else
|
else
|
||||||
if(I2c_BuckConverter_GetMvOut(&I2c_Mariko_GPU) < this->config->GetConfigValue(HocClkConfigValue_HighRamFreqVmin))
|
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(HocClkConfigValue_HighRamFreqVmin));
|
||||||
I2c_BuckConverter_SetMvOut(&I2c_Mariko_GPU, this->config->GetConfigValue(HocClkConfigValue_HighRamFreqVmin));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user