release 1.2.6.0

This commit is contained in:
KazushiM
2022-01-22 15:09:24 +08:00
parent 0049ffbf7f
commit 5d162b1876
3 changed files with 35 additions and 40 deletions

View File

@@ -53,13 +53,13 @@ Switch sysmodule allowing you to set cpu/gpu clocks according to the running app
From Hekate Minerva module [sys_sdrammtc.c](https://github.com/CTCaer/hekate/blob/197ed8c319bd4132e4d7571ce037d4a27f806bba/modules/hekate_libsys_minerva/sys_sdrammtc.c#L67)
- 2131 → max for Erista (requires I/O bus overvolting); official max for Mariko (requires proper timings)
- 2131 → NOT stable: max for Erista and official max for Mariko
- 2099
- 2064
- 1996
- 1996 → stable for all
- 1932
- 1894
- 1862 → official max for Erista; Mariko without timing adjustment (stable on most DRAM chips except Hynix ones)
- 1862 → official max for Erista; Mariko without timing adjustment
- 1795
- 1728
- 1600 → official docked & official boost mode
@@ -180,4 +180,4 @@ The `[values]` section allows you to alter timings in sys-clk, you should not ne
|:-----------------------:|-------------------------------------------------------------------------------|:-------:|
|**temp_log_interval_ms** | Defines how often sys-clk log temperatures, in milliseconds (`0` to disable) | 0 ms |
|**csv_write_interval_ms**| Defines how often sys-clk writes to the CSV, in milliseconds (`0` to disable) | 0 ms |
|**poll_interval_ms** | Defines how fast sys-clk checks and applies profiles, in milliseconds | 300 ms |
|**poll_interval_ms** | Defines how fast sys-clk checks and applies profiles, in milliseconds | 500 ms |

View File

@@ -414,8 +414,6 @@ bool ClockManager::CheckReverseNXRT()
bool ClockManager::RefreshContext()
{
bool hasChanged = false;
bool shouldAdjustProfile = false;
bool enabled = this->GetConfig()->Enabled();
if(enabled != this->context->enabled)
{
@@ -430,7 +428,6 @@ bool ClockManager::RefreshContext()
FileUtils::LogLine("[mgr] TitleID change: %016lX", applicationId);
this->context->applicationId = applicationId;
hasChanged = true;
shouldAdjustProfile = true;
/* Clear ReverseNX state and recheck -Tool patches*/
this->oc->reverseNXMode = ReverseNX_SystemDefault;
@@ -443,19 +440,6 @@ bool ClockManager::RefreshContext()
FileUtils::LogLine("[mgr] Profile change: %s", Clocks::GetProfileName(profile, true));
this->context->realProfile = profile;
hasChanged = true;
shouldAdjustProfile = true;
}
/* Check ReverseNX-RT */
if (CheckReverseNXRT())
{
shouldAdjustProfile = true;
}
/* Adjust nominal profile when tid, real profile or -RT profile change */
if (shouldAdjustProfile)
{
this->context->profile = ReverseNXProfileHandler();
}
/* Update PerformanceConfigurationId */
@@ -475,6 +459,11 @@ bool ClockManager::RefreshContext()
if(hasChanged)
Clocks::ResetToStock();
/* Check ReverseNX-RT and adjust nominal profile when context changes */
hasChanged |= CheckReverseNXRT();
if (hasChanged)
this->context->profile = ReverseNXProfileHandler();
std::uint32_t hz = 0;
for (unsigned int module = 0; module < SysClkModule_EnumMax; module++)
{