Commit Graph

18 Commits

Author SHA1 Message Date
hanabbi
b9b36de4c9 feat(sys-clk-oc): set mariko min clock to 1020Mhz if using governor
Mariko: If using governor and cpu profile is higher than 1020, min clock will be set to 1020.
Not much power saved by underclocking below 1020, so to prevent stutter and hanging
2023-05-26 12:46:41 +09:00
hanabbi
ccf0eccbf1 fix(sys-clk-oc): improve governor by changing get_next_freq algorithm
use freq set in profile as max_freq instead of last entry in table
2023-05-26 12:46:41 +09:00
hanabbi
8cfab71f4d fix(sys-clk-oc): fix governor not setting clocks correctly: fixes #1
- move hz check from ApplyTargetFreq to caller
2023-05-26 12:46:41 +09:00
KazushiM
63bbde2f58 pages: cleanup 2023-02-12 23:55:54 +08:00
KazushiM
b0ace1d8ae sys-clk-OC: Separate governor into multiple modules that could be disabled individually 2023-02-09 22:21:11 +08:00
KazushiM
012cd40a68 - sys-clk-OC: force disable charging, a temporary toggle that will be reset once power state changes (#57) 2023-01-04 14:25:33 +08:00
KazushiM
277f8d48e5 - sys-clk-OC: Charging current limit 2023-01-02 16:12:13 +08:00
KazushiM
b50899f4d1 [sys-clk-OC] Governor: Improve utility responsiveness 2022-12-02 20:22:09 +08:00
KazushiM
d884077db8 Online loader_configurator for web browser 2022-11-08 17:21:45 +08:00
KazushiM
523d2dc45a Fix maxMemFreq detection; Add some other alternative governor logic 2022-11-01 23:13:53 +08:00
KazushiM
6a1ac29733 AutoCPUBoost for governor 2022-10-31 13:16:57 +08:00
KazushiM
2962163f19 Fix memory leaks; Adjust heap & thread stack size (#47) 2022-10-31 11:20:24 +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
26c0bff4dd Sys-clk-OC: Fixed #41; Erista support added; Manager is deprecated 2022-10-29 18:38:57 +08:00
KazushiM
a6dcf1da5c [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%. 2022-10-28 22:18:20 +08:00
KazushiM
851839be0a Schedutil-like governor with proper load_avg calculation; Fixed #36 2022-10-27 01:41:38 +08:00
KazushiM
0f6fb06e53 Boost mode typo; uplift sample rate to 200/s; GPU boost mode = GPU throttled mode 2022-10-24 12:22:23 +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