Commit Graph

23 Commits

Author SHA1 Message Date
hanabbi
4e0ef5e117 sys-clk: fix wrong typo in safe/unsafe max 2023-08-14 06:19:18 +09:00
hanabbi
ed4e428d68 sys-clk: update unsafe max for erista 2023-08-11 21:40:04 +09:00
hanai3Bi
3db0b9b380 1.5.1 2023-05-26 12:45:29 +09:00
KazushiM
8285e84071 Maximum RAM frequency will not be used automatically 2023-02-02 17:13:52 +08:00
KazushiM
139c7dfcad - oc_loader: pcv_erista: use 1963.5 MHz instead of 1989
- sys-clk-OC: update safe/unsafe frequencies (Erista CPU 1785/2091, Mariko CPU 1963/2397, Mariko GPU 998/1305); add 408/510 MHz CPU clocks; add unsafe toggle for Erista
2022-12-30 20:58:33 +08:00
KazushiM
523d2dc45a Fix maxMemFreq detection; Add some other alternative governor logic 2022-11-01 23:13:53 +08:00
KazushiM
859841ab8e - Fixed gpu_hz_list typo in governor (#46)
- Parse loader.kip config from { "/", "/atmosphere/", "/atmosphere/kips/", "/bootloader/" } (#44)
2022-10-31 00:43:40 +08:00
KazushiM
524247955f spl: is unavailable in overlay (ovlloader specifically) 2022-10-29 03:11:52 +08:00
KazushiM
4eed01f458 Fixed SplConfigItem_HardwareType detection 2022-10-30 01:46:02 +08:00
KazushiM
26c0bff4dd Sys-clk-OC: Fixed #41; Erista support added; Manager is deprecated 2022-10-29 18:38:57 +08:00
KazushiM
b52bef3c31 Updated: Sys-clk-OC, Loader, System_settings
- Sys-clk-OC

  - Major cleanup in clock_manager, preparing to add basic Erista support.

  - Added an experimental CPU & GPU frequency governor.

    - Known issue:

      - Occasional stuttering is expected: GPU load% metric PMU_GET_GPU_LOAD does not reflect real utilization precisely. Use another metric, some interpolation algo or add min frequency option for improvement.

- Loader

  - Addressed an issue for Erista variants: Boot with unmodified Fusee or Hekate, nn::pcv::EmcDvfsPeriodicCompHandler will fail with rc 0x8C5. Fixed by removing 40.8 MHz while retaining 1600.0 MHz MEM table -- however, this means user has to use modified sys-clk.
2022-10-23 23:36:52 +08:00
KazushiM
6f5de53382 [sys-clk-OC] Disable unsafe frequencies by default; Remove emulator-mode; Move fast-charging handler to sysmodule 2022-05-15 19:37:50 +08:00
KazushiM
406b2df944 - Add emulator mode (GPU-only freq capping) for handheld profile
- HOS 14.0.0+ removed ts:GetTemperatureMilliC · retronx-team/sys-clk@dcd0d5d
2022-03-24 11:01:14 +08:00
KazushiM
4ff20f15f1 - IPC service for handling ReverseNX-RT communication, reducing I/O requests
- Set config for "Auto CPU Boost"/"Sync ReverseNX Mode" in overlay

- Apply hardened freq cap to handheld mode (CPU@1963MHz, GPU@921MHz)
2022-02-11 01:42:57 +08:00
KazushiM
e6b608fa43 - [Sys-clk-OC] Partial rewrite, general performance & stability improvement
- [ReverseNX-RT] Notify user if profile is synced with sys-clk
2021-12-18 23:11:26 +08:00
KazushiM
314b769708 [Sys-clk-OC] Add RAM freq selection 2021-12-11 20:21:20 +08:00
KazushiM
46c0cb88c3 [RAM@2131.2MHz] Add DRAM timing adjusment, 2131.2 MHz should work for all ram chips and achieves higher bandwidth;
[Fix] Revert to permanent RAM clock (ptm-patch);
No longer actively maintained next year.
2021-12-11 13:19:41 +08:00
KazushiM
c66c836ae3 GPU Max frequency is now 1497.6MHz; RAM clocks could be set in sys-clk-OC (1331 and Max); DRAM manu as suffixes in loader.kip file names for references; README 2021-12-03 23:46:43 +08:00
KazushiM
bf3bd67dd6 - Revert commit a45b767a80 in favor of tinkering "enough_power_threshold_mw" in system-settings.ini
- Add InfoNX (For battery, charger, clocks, voltages, etc.)
2021-09-19 19:03:24 +08:00
KazushiM
a45b767a80 Sys-clk-OC: Option to regard Power Delivery chargers supplying >=18W (typically, 9V/2A) as official chargers 2021-09-15 12:23:54 +08:00
KazushiM
584e8d8665 isMariko check fix 2021-09-12 13:08:27 +08:00
KazushiM
2724faf980 - Add TinyMemBenchNX, a simple memory benchmark program based on [tinymembench](https://github.com/ssvb/tinymembench)
- Sys-clk Fix: Ignore RAM clock values in config, or sys-clk will stuck in a loop of resetting RAM clocks (generating huge log file and degrading performance)

- Fix: Temporary frequency override in sys-clk overlay/manager
2021-08-31 00:39:42 +08:00
KazushiM
a4b4473809 sys-clk-OC 2021-08-29 15:00:45 +08:00