loader: add mariko cpu vmin

This commit is contained in:
souldbminersmwc
2025-09-27 13:43:13 -04:00
parent 213bdba15e
commit a885040ce9
3 changed files with 6 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,8 @@
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);