[Sys-clk-OC] Added an governor toggle per title in overlay (default: governor enabled) (#37); Fixed an issue where governor does not bump CPU frequency immediately to max when some non-system core (Core0/1/2) util is 100%.
This commit is contained in:
@@ -75,6 +75,7 @@ typedef struct
|
||||
uint32_t mhz[(size_t)SysClkProfile_EnumMax * (size_t)SysClkModule_EnumMax];
|
||||
uint32_t mhzMap[SysClkProfile_EnumMax][SysClkModule_EnumMax];
|
||||
};
|
||||
bool governorDisabled;
|
||||
} SysClkTitleProfileList;
|
||||
|
||||
#define SYSCLK_GLOBAL_PROFILE_TID 0xA111111111111111
|
||||
|
||||
@@ -41,9 +41,9 @@ static inline const char* sysclkFormatConfigValue(SysClkConfigValue val, bool pr
|
||||
case SysClkConfigValue_CsvWriteIntervalMs:
|
||||
return pretty ? "CSV write interval (ms)" : "csv_write_interval_ms";
|
||||
case SysClkConfigValue_AutoCPUBoost:
|
||||
return pretty ? "Enable Auto CPU Boost" : "auto_cpu_boost";
|
||||
return pretty ? "Auto CPU Boost" : "auto_cpu_boost";
|
||||
case SysClkConfigValue_SyncReverseNXMode:
|
||||
return pretty ? "Enable ReverseNX Mode Sync" : "sync_reversenx_mode";
|
||||
return pretty ? "Sync ReverseNX Mode Sync" : "sync_reversenx_mode";
|
||||
case SysClkConfigValue_AllowUnsafeFrequencies:
|
||||
return pretty ? "Allow Unsafe Frequencies" : "allow_unsafe_freq";
|
||||
case SysClkConfigValue_DisableFastCharging:
|
||||
@@ -51,7 +51,7 @@ static inline const char* sysclkFormatConfigValue(SysClkConfigValue val, bool pr
|
||||
case SysClkConfigValue_ChargingLimitPercentage:
|
||||
return pretty ? "Charging Limit (%%)" : "charging_limit_perc";
|
||||
case SysClkConfigValue_GovernorExperimental:
|
||||
return pretty ? "Governor (Experimental)" : "governor_experimental";
|
||||
return pretty ? "Frequency Governor (Experimental)" : "governor_experimental";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user