clkmgr: don't apply gpudvfs during GameStartMemWar if gpu dvfs is disabled

This commit is contained in:
Lightos1
2026-07-26 13:45:25 +02:00
parent 6f4b58b83e
commit a6f1732e1d

View File

@@ -501,7 +501,10 @@ namespace clockManager {
u32 nearestFreq = GetCurrentNearestFrequency(HocClkModule_MEM);
if (targetRamHz != nearestFreq) {
ApplyGpuDvfs(targetRamHz);
if (config::GetConfigValue(HocClkConfigValue_DVFSMode) == DVFSMode_Hijack) {
ApplyGpuDvfs(targetRamHz);
}
board::SetHz(HocClkModule_MEM, targetRamHz);
}
}