fix more stuff

This commit is contained in:
souldbminersmwc
2025-09-01 16:49:38 -04:00
parent 5770e25ec1
commit 38b92ebe05
3 changed files with 15 additions and 13 deletions

View File

@@ -93,6 +93,14 @@ volatile CustomizeTable C = {
.commonGpuVoltOffset = 0, .commonGpuVoltOffset = 0,
.marikoCpuHighVoltOffset = 0,
.marikoCpuHighUV = 0,
.cpuMaxFreq = 1963500,
.gpuMaxFreq = 1267200,
.marikoEmcDvbShift = 0, .marikoEmcDvbShift = 0,
.ramTimingPresetOne = 4, // T1-3 EOS .ramTimingPresetOne = 4, // T1-3 EOS
@@ -111,13 +119,7 @@ volatile CustomizeTable C = {
.marikoGpuVoltArray = {635, 635, 635, 635, 635, 635, 635, 635, 635, 635, 635, 635, 660, 685, 715, 745, 765, 785}, .marikoGpuVoltArray = {635, 635, 635, 635, 635, 635, 635, 635, 635, 635, 635, 635, 660, 685, 715, 745, 765, 785},
.marikoCpuHighVoltOffset = 0,
.marikoCpuHighUV = 0,
.cpuMaxFreq = 1963500,
.gpuMaxFreq = 1267200,
/* Advanced Settings: /* Advanced Settings:

View File

@@ -55,6 +55,11 @@ typedef struct CustomizeTable {
u32 marikoCpuUV; u32 marikoCpuUV;
u32 marikoGpuUV; u32 marikoGpuUV;
u32 commonGpuVoltOffset; u32 commonGpuVoltOffset;
u8 marikoCpuHighVoltOffset;
u8 marikoCpuHighUV;
u32 cpuMaxFreq;
u32 gpuMaxFreq;
// advanced config // advanced config
u32 marikoEmcDvbShift; u32 marikoEmcDvbShift;
u32 ramTimingPresetOne; u32 ramTimingPresetOne;
@@ -66,11 +71,7 @@ typedef struct CustomizeTable {
u32 ramTimingPresetSeven; u32 ramTimingPresetSeven;
// //
u32 marikoGpuVoltArray[18]; u32 marikoGpuVoltArray[18];
u8 marikoCpuHighVoltOffset;
u8 marikoCpuHighUV;
u32 cpuMaxFreq;
u32 gpuMaxFreq;
CustomizeCpuDvfsTable eristaCpuDvfsTable; CustomizeCpuDvfsTable eristaCpuDvfsTable;
@@ -88,7 +89,6 @@ typedef struct CustomizeTable {
u32 marikoVDDQMax; u32 marikoVDDQMax;
u8 marikoB3; u8 marikoB3;
} CustomizeTable; } CustomizeTable;
//static_assert(sizeof(CustomizeTable) == sizeof(u8) * 4 + sizeof(u32) * 10 + sizeof(CustomizeCpuDvfsTable) * 5 + sizeof(void*) * 2); //static_assert(sizeof(CustomizeTable) == sizeof(u8) * 4 + sizeof(u32) * 10 + sizeof(CustomizeCpuDvfsTable) * 5 + sizeof(void*) * 2);
//static_assert(sizeof(CustomizeTable) == 7000); //static_assert(sizeof(CustomizeTable) == 7000);

View File

@@ -188,11 +188,11 @@ var CustTable = [
"Acceptable range: 0 ~ 100" "Acceptable range: 0 ~ 100"
], 0, [0, 100], 1), ], 0, [0, 100], 1),
new CustEntry("marikoCpuHighVoltOffset", "CPU Voltage offset at high frequencies", CustPlatform.Mariko, 4, [ new CustEntry("marikoCpuHighVoltOffset", "CPU Voltage offset at high frequencies", CustPlatform.Mariko, 1, [
"Reduce CPU power draw at high clocks", "Reduce CPU power draw at high clocks",
], 0, [0, 100], 1), ], 0, [0, 100], 1),
new CustEntry("marikoCpuHighUV", "Enable Mariko CPU High Undervolt", CustPlatform.Mariko, 4, [ new CustEntry("marikoCpuHighUV", "Enable Mariko CPU High Undervolt", CustPlatform.Mariko, 1, [
"Reduce CPU power draw at high clocks", "Reduce CPU power draw at high clocks",
], 0, [0, 12], 1), ], 0, [0, 12], 1),