clk-mgr: properly apply gpu ram oc dvfs during GameStartMemWar
This commit is contained in:
1 parent
c5ded00cc5
commit
a707d4f2c4
1 file changed
+4
-2
@@ -531,10 +531,12 @@ namespace mgr {
|
||||
|
||||
u32 nearestFreq = GetCurrentNearestFrequency(HocClkModule_MEM);
|
||||
|
||||
if (targetRamHz != nearestFreq) {
|
||||
if (targetRamHz > nearestFreq) {
|
||||
ApplyRamOcDvfs(targetRamHz);
|
||||
|
||||
board::SetHz(HocClkModule_MEM, targetRamHz);
|
||||
} else if (targetRamHz < nearestFreq) {
|
||||
board::SetHz(HocClkModule_MEM, targetRamHz);
|
||||
ApplyRamOcDvfs(targetRamHz);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user