clkmgr: don't apply gpudvfs during GameStartMemWar if gpu dvfs is disabled
This commit is contained in:
@@ -501,7 +501,10 @@ namespace clockManager {
|
|||||||
u32 nearestFreq = GetCurrentNearestFrequency(HocClkModule_MEM);
|
u32 nearestFreq = GetCurrentNearestFrequency(HocClkModule_MEM);
|
||||||
|
|
||||||
if (targetRamHz != nearestFreq) {
|
if (targetRamHz != nearestFreq) {
|
||||||
ApplyGpuDvfs(targetRamHz);
|
if (config::GetConfigValue(HocClkConfigValue_DVFSMode) == DVFSMode_Hijack) {
|
||||||
|
ApplyGpuDvfs(targetRamHz);
|
||||||
|
}
|
||||||
|
|
||||||
board::SetHz(HocClkModule_MEM, targetRamHz);
|
board::SetHz(HocClkModule_MEM, targetRamHz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user