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
639 stars 71 forks source link

Mediatek Mali GPU support? #96

Closed ramabondanp closed 3 years ago

ramabondanp commented 3 years ago

Current gpu frequency path :

$cat /sys/kernel/debug/ged/hal/current_freqency | cut -f2 -d ' '
299000

Read available GPU freq

$cat /proc/gpufreq/gpufreq_opp_dump | awk '{printf $4 "\n"}' | cut -f1 -d ","
950000
925000
900000
...
...
...

Lock GPU frequency :

echo 902000 > /proc/gpufreq/gpufreq_opp_freq

Unlock GPU frequency :

echo 0 > /proc/gpufreq/gpufreq_opp_freq
sunilpaulmathew commented 3 years ago

@rama982 Sorry for the delayed reply. Also, it looks more complicated and very specific to some devices (especially, the values like Lock GPU frequency). I have to check to incorporate this in the app, without making many changes in the current setup.

ramabondanp commented 3 years ago

I can only confirm that this setup is in the current Helio series and Mediatek dimensity series with mali gpus.