all: new GPU UV features

This commit is contained in:
souldbminersmwc
2026-05-30 17:32:06 -04:00
parent 0d5558f876
commit 5540a96af1
12 changed files with 159 additions and 54 deletions

View File

@@ -137,13 +137,17 @@ std::vector<std::string> ConfigInfoStrings(HocClkConfigValue val, bool isMariko,
"Warning: Enabling this may cause damage to your device without a proper undervolt. Use with caution!",
"Clock cappings:",
"- Handheld:",
" - GPU (HiOPT): 614 MHz",
" - GPU (HiOPT - 15mV): 691 MHz",
" - GPU (High UV): 768 MHz",
" - GPU (No UV): 614 MHz",
" - GPU (SLT): 691 MHz",
" - GPU (HiOPT): 768 MHz",
" - GPU (HiOPT - 15mV): 844 MHz",
" - GPU (High UV): 921 MHz",
"- USB Charger",
" - GPU (HiOPT): 844 MHz",
" - GPU (HiOPT - 15mV): 921 MHz",
" - GPU (High UV): 998 MHz",
" - GPU (No UV): 844 MHz",
" - GPU (SLT): 921 MHz",
" - GPU (HiOPT): 998 MHz",
" - GPU (HiOPT - 15mV): 1075 MHz",
" - GPU (High UV): 1152 MHz",
"- PD Charger / Docked:",
" - No capping applied",
"Default: OFF"
@@ -463,10 +467,12 @@ std::vector<std::string> ConfigInfoStrings(HocClkConfigValue val, bool isMariko,
return {
"GPU undervolt level",
"Options:",
" - No Undervolt: No Undervolt...",
" - SLT Table: NVIDIA custom SLT Table",
" - HiOPT: L4T Custom HiOPT table",
" - HiOPT - 15mV: L4T Custom HiOPT table with a 15mV offset",
" - High UV: The highest undervolt table, recommended",
"Default: HiOPT"
" - High UV: The highest undervolt table",
"Default: No Undervolt"
};
case KipConfigValue_marikoGpuVmin:
@@ -502,10 +508,10 @@ std::vector<std::string> ConfigInfoStrings(HocClkConfigValue val, bool isMariko,
return {
"GPU undervolt level",
"Options:",
" - No Undervolt: No Undervolt...",
" - SLT Table: NVIDIA custom SLT Table",
" - HiOPT: L4T Custom HiOPT table",
" - HiOPT - 15mV: L4T Custom HiOPT table with a 15mV offset",
" - High UV: The highest undervolt table, recommended",
"Default: HiOPT"
"Default: No Undervolt"
};
case KipConfigValue_eristaGpuVmin:
@@ -516,7 +522,7 @@ std::vector<std::string> ConfigInfoStrings(HocClkConfigValue val, bool isMariko,
case KipConfigValue_commonGpuVoltOffset:
return {
"The offset added/subtracted to all AUTO GPU voltages",
"The offset added/subtracted to all GPU voltages marked as \"auto\"",
"Default: 0 mV (Disabled)"
};

View File

@@ -2246,12 +2246,19 @@ protected:
this->listElement->addItem(new CompactCategoryHeader("GPU Settings"));
std::vector<NamedValue> gpuUvConf = {
NamedValue("HiOPT", 0),
NamedValue("HiOPT - 15mV", 1),
NamedValue("High UV Table", 2),
std::vector<NamedValue> gpuUvConfM = {
NamedValue("No Undervolt", 0),
NamedValue("SLT Table", 1),
NamedValue("HiOPT Table", 2),
NamedValue("HiOPT - 15mV", 3),
NamedValue("High UV Table", 4),
};
std::vector<NamedValue> gpuUvConfE = {
NamedValue("No Undervolt", 0),
NamedValue("SLT Table", 1),
NamedValue("HiOPT Table", 2),
};
std::vector<NamedValue> mGpuVoltsVmin = {
NamedValue("480mV", 480), NamedValue("485mV", 485), NamedValue("490mV", 490),
NamedValue("495mV", 495), NamedValue("500mV", 500), NamedValue("505mV", 505),
@@ -2285,7 +2292,7 @@ protected:
"GPU Undervolt Table",
&thresholdsDisabled,
{},
gpuUvConf,
gpuUvConfE,
false,
true
);
@@ -2308,7 +2315,7 @@ protected:
"GPU Undervolt Table",
&thresholdsDisabled,
{},
gpuUvConf,
gpuUvConfM,
false,
true
);
@@ -2343,16 +2350,27 @@ protected:
}
std::vector<NamedValue> gpuOffset = {
NamedValue("-50 mV", 50),
NamedValue("-45 mV", 45),
NamedValue("-40 mV", 40),
NamedValue("-30 mV", 30),
NamedValue("-25 mV", 25),
NamedValue("-20 mV", 20),
NamedValue("-15 mV", 15),
NamedValue("-10 mV", 10),
NamedValue(" -5 mV", 5),
NamedValue("Disabled", 0),
NamedValue("-50 mV", static_cast<u32>(-50)),
NamedValue("-45 mV", static_cast<u32>(-45)),
NamedValue("-40 mV", static_cast<u32>(-40)),
NamedValue("-35 mV", static_cast<u32>(-35)),
NamedValue("-30 mV", static_cast<u32>(-30)),
NamedValue("-25 mV", static_cast<u32>(-25)),
NamedValue("-20 mV", static_cast<u32>(-20)),
NamedValue("-15 mV", static_cast<u32>(-15)),
NamedValue("-10 mV", static_cast<u32>(-10)),
NamedValue("-5 mV", static_cast<u32>(-5)),
NamedValue("0 mV", 0),
NamedValue("5 mV", 5),
NamedValue("10 mV", 10),
NamedValue("15 mV", 15),
NamedValue("20 mV", 20),
NamedValue("25 mV", 25),
NamedValue("30 mV", 30),
NamedValue("35 mV", 35),
NamedValue("40 mV", 40),
NamedValue("45 mV", 45),
NamedValue("50 mV", 50),
};
addConfigButton(