hocclk: add missing code and small change to overlay

This commit is contained in:
souldbminersmwc
2026-05-09 16:54:39 -04:00
parent c4f7f0e713
commit c12b0136f8
2 changed files with 4 additions and 1 deletions

View File

@@ -87,7 +87,9 @@ std::map<uint32_t, std::string> gpu_freq_label_e_uv = {
std::map<uint32_t, std::string> gpu_freq_label_m = {
{76800000, "Boost Mode"},
{307200000, "Handheld"},
{345600000, "Handheld"},
{384000000, "Handheld"},
{422400000, "Handheld"},
{460800000, "Handheld"},
{614400000, "Handheld Safe Max"},
{768000000, "Docked"},

View File

@@ -189,7 +189,8 @@ namespace clockManager {
for (u32 f = kPcvStep; f <= kMax && gFreqTable[module].count < HOCCLK_FREQ_LIST_MAX; f += kStep) {
if (f % kPcvStep != 0) {
if (!middleFreqs) continue;
if (!config::GetConfigValue(HocClkConfigValue_MarikoMiddleFreqs))
continue;
*hz = f;
gFreqTable[module].count++;
hz++;