Revert "loader: revert mariko cpu vmin"

This reverts commit 364371d0a2.
This commit is contained in:
souldbminersmwc
2025-09-27 18:42:43 -04:00
parent 364371d0a2
commit 48ab20d62c
4 changed files with 7 additions and 1 deletions

View File

@@ -162,6 +162,9 @@ volatile CustomizeTable C = {
0 /* 1152 (Disabled by default) */,
},
.marikoCpuVmin = 600,
/* Advanced Settings:
* - Erista CPU DVFS Table:
*/

View File

@@ -84,6 +84,9 @@
u32 marikoGpuVoltArray[24];
u32 eristaGpuVoltArray[15];
u32 marikoCpuVmin;
CustomizeCpuDvfsTable eristaCpuDvfsTable;
CustomizeCpuDvfsTable marikoCpuDvfsTable;
CustomizeCpuDvfsTable marikoCpuDvfsTableSLT;

View File

@@ -55,7 +55,7 @@
// Patch vmin for slt
if (C.marikoCpuUV) {
if (*(ptr-5) == 620) {
PATCH_OFFSET((ptr-5), 600);
PATCH_OFFSET((ptr-5), C.marikoCpuVmin);
}
if (*(ptr-1) == 620) {
PATCH_OFFSET((ptr-1), 600);