re-add sys-clk manager, default to mtc auto adj (others are useless), new gpu table for erista units, custom sys-clk updates
This commit is contained in:
souldbminersmwc
2025-09-18 22:20:44 -04:00
parent f3eae72b47
commit 342f9dd116
203 changed files with 55075 additions and 189 deletions

View File

@@ -119,7 +119,7 @@ static inline const char* sysclkFormatProfile(SysClkProfile profile, bool pretty
case SysClkProfile_HandheldChargingUSB:
return pretty ? "USB Charger" : "handheld_charging_usb";
case SysClkProfile_HandheldChargingOfficial:
return pretty ? "Official Charger" : "handheld_charging_official";
return pretty ? "PD Charger" : "handheld_charging_official";
default:
return NULL;
}

View File

@@ -20,11 +20,10 @@ typedef enum {
SysClkConfigValue_PowerLogIntervalMs,
SysClkConfigValue_CsvWriteIntervalMs,
SysClkConfigValue_EnumMax,
SysClkConfigValue_UncappedClocks,
} SysClkConfigValue;
typedef struct {
uint64_t values[SysClkConfigValue_UncappedClocks];
uint64_t values[SysClkConfigValue_EnumMax];
} SysClkConfigValueList;
static inline const char* sysclkFormatConfigValue(SysClkConfigValue val, bool pretty)

View File

@@ -30,8 +30,7 @@ enum SysClkIpcCmd
SysClkIpcCmd_SetOverride = 8,
SysClkIpcCmd_GetConfigValues = 9,
SysClkIpcCmd_SetConfigValues = 10,
SysClkIpcCmd_ToggleUncappedClocks = 11,
SysClkIpcCmd_GetFreqList = 12,
SysClkIpcCmd_GetFreqList = 11,
};