Home | History | Annotate | Download | only in perf-setup
      1 #Setup for newer devices
      2 
      3 if [[ "`id -u`" -ne "0" ]]; then
      4   echo "WARNING: running as non-root, proceeding anyways..."
      5 fi
      6 
      7 stop thermal-engine
      8 stop perfd
      9 
     10 echo 0 > /sys/devices/system/cpu/cpu0/online
     11 echo 0 > /sys/devices/system/cpu/cpu1/online
     12 
     13 echo performance  > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
     14 echo 2150400 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
     15 
     16 echo 13763 > /sys/class/devfreq/soc:qcom,gpubw/max_freq
     17 echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor
     18 echo -n 624000000 > /sys/class/kgsl/kgsl-3d0/devfreq/max_freq
     19