SmartPack / SmartPack-Kernel-Manager

Source code of SmartPack-Kernel Manager, the Ultimate Tool to Manage your Kernel
https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro
GNU General Public License v3.0
629 stars 73 forks source link

Mali GPU control (ged_ski driver and mali power policy) #122

Closed 7Soldier closed 2 years ago

7Soldier commented 2 years ago
  1. Description: Custom driver ged_ski ported from some samsung devices for control mali gpu frequencies (supported in ex kernel manager and franco kernel manager) and control governor. It also contains data about the current frequency, frequency table, load and temperature. In the same section, add gpu power policy (a kind of analogue of the governor on mali).

  2. Information: Commit of this driver - https://github.com/LinkBoi00-Development/android_kernel_xiaomi_cannon/commit/f33722c5c4629bb1de93e0712d8c4c1a90402416 Available governors - default (not using) Governor - default (not using) Available power policy - coarse_demand, always_on Available frequencies - in table on sysfs

  3. SysFS paths: gpu power policy - /sys/devices/platform/xxxxxxxx.mali/power_policy (in my case xxxxxxxx is 13040000, numbers only) (rw) gpu available governor - /sys/kernel/gpu/gpu_available_governor (ro) (not using) gpu governor - /sys/kernel/gpu/gpu_governor (rw) (not using) gpu min freq - /sys/kernel/gpu/gpu_min_clock (rw) gpu max freq - /sys/kernel/gpu/gpu_max_clock (rw) gpu freq table - /sys/kernel/gpu/gpu_freq_table (ro) gpu hardware model - /sys/kernel/gpu/gpu_model (ro) gpu load - /sys/kernel/gpu/gpu_load (ro) gpu temperature - /sys/kernel/gpu/gpu_tmu (ro)

  4. Content of SysFS paths: gpu power policy - "[coarse_demand] always_on" gpu available governor - "Default" (not using) gpu governor - "Default" (not using) gpu min freq - "270000" (in KHz, in some mods of this drivers using Mhz format)

7Soldier commented 2 years ago

i am reedit it and push again, sorry.