5,604,050 Members 47,435 Now Online
XDA Developers Android and Mobile Development Forum

[Kernel][KitKat] Custom N3 (Displaycontrol/Soundcontrol/Synapse)

Tip us?
 
nk7
Old
#771  
Senior Member
Thanks Meter 109
Posts: 426
Join Date: Oct 2011
Quote:
Originally Posted by Wootever View Post
@SirCanealot and @SAVVAS.
@nk7
The msm-adreno-tz governor is limited to 450mhz by kernel source.
Thanks. I was wanting to see the governor. So effectively, max_gpuclk (max frequency) is ignored.

Quote:
Originally Posted by HSD-Pilot View Post
/sys/class/kgsl/kgsl-3d0/devfreq

Gesendet von meinem SM-N9005
I thought there was a folder where you could echo different governors for the GPU in a similar sense to the CPU govs.
 
encho
Old
#772  
Senior Member
Thanks Meter 153
Posts: 588
Join Date: Jul 2010
Excellent work on this kernel. I had record screen-on time yesterday, close to 7 hours. Intellidemand as a governor. And that was after fresh installation of rom and kernel!

Sent from my SM-N9005 using Tapatalk
 
drew071
Old
#773  
drew071's Avatar
Senior Member
Thanks Meter 191
Posts: 907
Join Date: Jul 2010
Where is the intellidemand option. I don't have it under cpu.

Drew.


Sent from my SM-N9005 using Tapatalk
 
Jeshter2000
Old
#774  
Jeshter2000's Avatar
Senior Member
Thanks Meter 410
Posts: 1,888
Join Date: Aug 2010
Location: Capelle aan den IJssel
Quote:
Originally Posted by drew071 View Post
Where is the intellidemand option. I don't have it under cpu.

Drew.


Sent from my SM-N9005 using Tapatalk
+100 I do not have it either...

Sent from my SM-N9005 using XDA Premium 4 mobile app
 
HSD-Pilot
Old
(Last edited by HSD-Pilot; 8th March 2014 at 07:32 PM.)
#775  
HSD-Pilot's Avatar
Recognized Contributor
Thanks Meter 1893
Posts: 3,202
Join Date: Jan 2012
Location: NRW
Quote:
Originally Posted by nk7 View Post
Thanks. I was wanting to see the governor. So effectively, max_gpuclk (max frequency) is ignored.
I've to say, that i'm currently using CivZ-SnapKat Kernel, but i can OC the Max GPU Freq.
Not sure, if it's really used but at least the Value sticks, when i $cat it




Here's my Script to set the basic Stuff

 

#!/system/bin/sh

###############################
# >> CONFIGURE YOUR VALUES << #
###############################

#### Set CPU Scaling Governor ####
# intellidemand conservative adaptive userspace wheatley powersave interactive performance

GOVERNOR=intellidemand

#### Set MIN/MAX CPU Frequency ####
# 300000 422400 652800 729600 883200 960000 1036800 1190400 1267200 1497600 1574400 1728000 1958400 2265600 2342400 2419200 2496000 2572800 2649600 2726400 2803200 2880000

MAX_OC_LIMIT=2265600
CPU_MIN=300000
CPU_MAX=2265600

#### Set I/O Scheduler ####
# noop bfq deadline vr row cfq test-iosched fiops fifo sio zen

SCHEDULER=fiops

#### Set SDCache ####
# 128 256 512 1024 2048 4096

READ_AHEAD_KB=1024

#### Set GPU Scaling Governor ####
# msm-adreno-tz performance simple_ondemand

GPU_GOVERNOR=msm-adreno-tz

#### Set MIN/MAX GPU Frequency ####
# 533333000 487500000 450000000 389000000 320000000 200000000

GPU_MIN=200000000
GPU_MAX=450000000

#### Set GPU Polling Interval ####
# 10

POLLING_INTERVAL=10

#### Set Intelliplug ####
# 0 0 3 4

ACTIVATE_INTELLIPLUG=1
DUAL_CORE_MODE=0
NR_FSHIFT=3
NR_RUN_HYSTERESIS=4

#### Set Intelli Thermal ####
# N 85 10 2 80 85 75 10

ACTIVATE_INTELLI_THERMAL=Y
CORE_LIMIT_TEMP=75
CORE_TEMP_HYSTERESIS=5
FREQ_STEP=1
LIMIT_TEMP=70
PSM_TEMP=75
PSM_TEMP_HYSTERESIS=70
TEMP_HYSTERESIS=5

#### Set FSync & Power Suspend ####
# 0 0

FSYNC=1
POWER_SUSPEND=0

#### Set CPU Boost ####
# 20 1267200 40 1190400

BOOST_MS=20
INPUT_BOOST_FREQ=1267200
INPUT_BOOST_MS=40
SYNC_THRESHOLD=1190400

#############################
# >> APPLY CONFIGURATION << #
#############################

cpu=/sys/devices/system/cpu/cpu*
gpu=/sys/class/kgsl/kgsl-3d0/devfreq
dm=/sys/block/dm-*
kernel=/sys/kernel
loop=/sys/block/loop*
mmc=/sys/block/mmc*
module=sys/module
ram=/sys/block/ram*
sdcard=/sys/devices/virtual/bdi/179:*
vm=/proc/sys/vm

#### Set CPU Governor ####

echo " "
echo ">>> CPU <<<"
echo " "

for a in $cpu; do
if [ -e ${a}/cpufreq/scaling_governor ]; then
echo "$GOVERNOR" >> ${a}/cpufreq/scaling_governor
sleep 1
echo "CPU GOVERNOR > $(cat ${a}/cpufreq/scaling_governor) / $GOVERNOR"; fi
done

for a in $cpu; do
if [ -e ${a}/cpufreq/max_limit ]; then
echo "$MAX_OC_LIMIT" >> ${a}/cpufreq/max_limit
sleep 1
echo "MAX OC LIMIT > $(cat ${a}/cpufreq/max_limit) / $MAX_OC_LIMIT"; fi
if [ -e ${a}/cpufreq/scaling_min_freq ]; then
echo "$CPU_MIN" >> ${a}/cpufreq/scaling_min_freq
sleep 1
echo "MIN CPU FREQ > $(cat ${a}/cpufreq/scaling_min_freq) / $CPU_MIN" ; fi
if [ -e ${a}/cpufreq/scaling_max_freq ]; then
echo "$CPU_MAX" >> ${a}/cpufreq/scaling_max_freq
sleep 1
echo "MAX CPU FREQ > $(cat ${a}/cpufreq/scaling_max_freq) / $CPU_MAX"; fi
done

echo " "
echo ">>> I/O SETTINGS <<<"
echo " "

for a in $mmc; do
if [ -e ${a}/queue ]; then
echo "$SCHEDULER" >> ${a}/queue/scheduler
sleep 1
echo "I/O SCHEDULER > $(cat ${a}/queue/scheduler) / $SCHEDULER"; fi
done

# Optimize non-rotating storage;
for i in $dm $loop $mmc $ram; do
if [ -e $i/queue/rotational ]; then
echo "0" > $i/queue/rotational; fi
if [ -e $i/queue/nr_requests ]; then
echo "2048" > $i/queue/nr_requests; fi
# CFQ specific
if [ -e $i/queue/iosched/back_seek_penalty ]; then
echo "1" > $i/queue/iosched/back_seek_penalty; fi
if [ -e $i/queue/iosched/low_latency ]; then
echo "1" > $i/queue/iosched/low_latency; fi
if [ -e $i/queue/iosched/slice_idle ]; then
echo "1" > $i/queue/iosched/slice_idle; fi
if [ -e $i/queue/iosched/quantum ]; then
echo "8" > $i/queue/iosched/quantum; fi
# Deadline/VR/SIO specific
if [ -e $i/queue/iosched/fifo_batch ]; then
echo "4" > $i/queue/iosched/fifo_batch; fi
if [ -e $i/queue/iosched/writes_starved ]; then
echo "1" > $i/queue/iosched/writes_starved; fi
# VR Specific
if [ -e $i/queue/iosched/rev_penalty ]; then
echo "1" > $i/queue/iosched/rev_penalty; fi
if [ -e $i/queue/rq_affinity ]; then
echo "1" > $i/queue/rq_affinity; fi
# ROW specific
if [ -e $i/queue/iosched/hp_read_quantum ]; then
echo "20" > $i/queue/iosched/hp_read_quantum; fi
if [ -e $i/queue/iosched/rp_read_quantum ]; then
echo "20" > $i/queue/iosched/rp_read_quantum; fi
if [ -e $i/queue/iosched/hp_swrite_quantum ]; then
echo "5" > $i/queue/iosched/hp_swrite_quantum; fi
if [ -e $i/queue/iosched/rp_write_quantum ]; then
echo "4" > $i/queue/iosched/rp_write_quantum; fi
if [ -e $i/queue/iosched/rp_swrite_quantum ]; then
echo "4" > $i/queue/iosched/rp_swrite_quantum; fi
if [ -e $i/queue/iosched/lp_read_quantum ]; then
echo "2" > $i/queue/iosched/lp_read_quantum; fi
if [ -e $i/queue/iosched/lp_swrite_quantum ]; then
echo "2" > $i/queue/iosched/lp_swrite_quantum; fi
if [ -e $i/queue/iosched/read_idle ]; then
echo "5" > $i/queue/iosched/read_idle; fi
if [ -e $i/queue/iosched/read_idle_freq ]; then
echo "15" > $i/queue/iosched/read_idle_freq; fi
# Disable iostats to reduce overhead
if [ -e $i/queue/iostats ]; then
echo "0" > $i/queue/iostats; fi
# Optimize for readahead;
if [ -e $i/queue/read_ahead_kb ]; then
echo "256" > $i/queue/read_ahead_kb; fi
# Specifically for NAND devices where reads are faster than writes, writes starved 2:1 is good
if [ -e $i/queue/iosched/writes_starved ]; then
echo "2" > $i/queue/iosched/writes_starved; fi
done

for a in $sdcard; do
if [ -e ${a}/read_ahead_kb ]; then
echo "$READ_AHEAD_KB" >> ${a}/read_ahead_kb
sleep 1
echo "SDCACHE > $(cat ${a}/read_ahead_kb) / $READ_AHEAD_KB"; fi
done

echo " "
echo ">>> GPU <<<"
echo " "

for a in $gpu; do
if [ -e ${a}/governor ]; then
echo "$GPU_GOVERNOR" >> ${a}/governor
sleep 1
echo "GPU GOVERNOR > $(cat ${a}/governor) / $GPU_GOVERNOR"; fi

if [ -e ${a}/min_freq ]; then
echo "$GPU_MIN" >> ${a}/min_freq
sleep 1
echo "MIN GPU FREQ > $(cat ${a}/min_freq) / $GPU_MIN"; fi
if [ -e ${a}/max_freq ]; then
echo "$GPU_MAX" >> ${a}/max_freq
sleep 1
echo "MAX GPU FREQ > $(cat ${a}/max_freq) / $GPU_MAX"; fi

if [ -e ${a}/polling_interval ]; then
echo "$POLLING_INTERVAL" >> ${a}/polling_interval
sleep 1
echo "GPU POLLING INTERVAL > $(cat ${a}/polling_interval) / $POLLING_INTERVAL"; fi
done

echo " "
echo ">>> INTELLIPLUG <<<"
echo " "

for a in $module; do
if [ -e ${a}/intelli_plug/parameters/intelli_plug_active ]; then
if [ $ACTIVATE_INTELLIPLUG = "1" ]; then
stop mpdecision; else
if [ $ACTIVATE_INTELLIPLUG = "0" ]; then
start mpdecision; fi; fi
echo "$ACTIVATE_INTELLIPLUG" >> ${a}/intelli_plug/parameters/intelli_plug_active
sleep 1
echo "INTELLIPLUG > $(cat ${a}/intelli_plug/parameters/intelli_plug_active) / $ACTIVATE_INTELLIPLUG"; fi
if [ -e ${a}/intelli_plug/parameters/eco_mode_active ]; then
echo "$DUAL_CORE_MODE" >> ${a}/intelli_plug/parameters/eco_mode_active
sleep 1
echo "DUALCORE MODE > $(cat ${a}/intelli_plug/parameters/eco_mode_active) / $DUAL_CORE_MODE"; fi
if [ -e ${a}/intelli_plug/parameters/nr_fshift ]; then
echo "$NR_FSHIFT" >> ${a}/intelli_plug/parameters/nr_fshift
sleep 1
echo "INTELLIPLUG NR FSHIFT > $(cat ${a}/intelli_plug/parameters/nr_fshift) / $NR_FSHIFT"; fi
if [ -e ${a}/intelli_plug/parameters/nr_run_hysteresis ]; then
echo "$NR_RUN_HYSTERESIS" >> ${a}/intelli_plug/parameters/nr_run_hysteresis
sleep 1
echo "INTELLIPLUG NR RUN HYSTERESIS > $(cat ${a}/intelli_plug/parameters/nr_run_hysteresis) / $NR_RUN_HYSTERESIS"; fi
done

echo " "
echo ">>> INTELLI THERMAL <<<"
echo " "

for a in $module; do
if [ -e ${a}/msm_thermal/parameters/enabled ]; then
echo "$ACTIVATE_INTELLI_THERMAL" >> ${a}/msm_thermal/parameters/enabled
sleep 1
echo "INTELLI THERMAL > $(cat ${a}/msm_thermal/parameters/enabled) / $ACTIVATE_INTELLI_THERMAL"; fi
if [ -e ${a}/msm_thermal/parameters/core_limit_temp ]; then
echo "$CORE_LIMIT_TEMP" >> ${a}/msm_thermal/parameters/core_limit_temp
sleep 1
echo "CPU CORE TEMP LIMIT > $(cat ${a}/msm_thermal/parameters/core_limit_temp) / $CORE_LIMIT_TEMP"; fi
if [ -e ${a}/msm_thermal/parameters/core_temp_hysteresis ]; then
echo "$CORE_TEMP_HYSTERESIS" >> ${a}/msm_thermal/parameters/core_temp_hysteresis
sleep 1
echo "CPU CORE TEMP HYSTERESIS > $(cat ${a}/msm_thermal/parameters/core_temp_hysteresis) / $CORE_TEMP_HYSTERESIS"; fi
if [ -e ${a}/msm_thermal/parameters/freq_step ]; then
echo "$FREQ_STEP" >> ${a}/msm_thermal/parameters/freq_step
sleep 1
echo "CPU THERMAL FREQ STEP > $(cat ${a}/msm_thermal/parameters/freq_step) / $FREQ_STEP"; fi
if [ -e ${a}/msm_thermal/parameters/limit_temp ]; then
echo "$LIMIT_TEMP" >> ${a}/msm_thermal/parameters/limit_temp
sleep 1
echo "TEMP LIMIT > $(cat ${a}/msm_thermal/parameters/limit_temp) / $LIMIT_TEMP"; fi
if [ -e ${a}/msm_thermal/parameters/psm_temp ]; then
echo "$PSM_TEMP" >> ${a}/msm_thermal/parameters/psm_temp
sleep 1
echo "PSM TEMP > $(cat ${a}/msm_thermal/parameters/psm_temp) / $PSM_TEMP"; fi
if [ -e ${a}/msm_thermal/parameters/psm_temp_hysteresis ]; then
echo "$PSM_TEMP_HYSTERESIS" >> ${a}/msm_thermal/parameters/psm_temp_hysteresis
sleep 1
echo "PSM TEMP HYSTERESIS > $(cat ${a}/msm_thermal/parameters/psm_temp_hysteresis) / $PSM_TEMP_HYSTERESIS"; fi
if [ -e ${a}/msm_thermal/parameters/temp_hysteresis ]; then
echo "$TEMP_HYSTERESIS" >> ${a}/msm_thermal/parameters/temp_hysteresis
sleep 1
echo "TEMP HYSTERESIS > $(cat ${a}/msm_thermal/parameters/temp_hysteresis) / $TEMP_HYSTERESIS"; fi
done

echo " "
echo ">>> FSYNC & POWER SUSPEND <<<"
echo " "

for a in $kernel; do
if [ -e ${a}/dyn_fsync/Dyn_fsync_active ]; then
echo "$FSYNC" >> ${a}/dyn_fsync/Dyn_fsync_active
sleep 1
echo "FSYNC > $(cat ${a}/dyn_fsync/Dyn_fsync_active) / $FSYNC"; fi
if [ -e ${a}/power_suspend/power_suspend_mode ]; then
echo "$POWER_SUSPEND" >> ${a}/power_suspend/power_suspend_mode
sleep 1
echo "POWER SUSPEND > $(cat ${a}/power_suspend/power_suspend_mode) / $POWER_SUSPEND"; fi
done

echo " "
echo ">>> CPU BOOST <<<"
echo " "

for a in $module; do
if [ -e ${a}/cpu_boost/parameters/boost_ms ]; then
echo "$BOOST_MS" >> ${a}/cpu_boost/parameters/boost_ms
sleep 1
echo "CPU BOOST MS > $(cat ${a}/cpu_boost/parameters/boost_ms) / $BOOST_MS"; fi
if [ -e ${a}/cpu_boost/parameters/input_boost_freq ]; then
echo "$INPUT_BOOST_FREQ" >> ${a}/cpu_boost/parameters/input_boost_freq
sleep 1
echo "CPU INPUT BOOST FREQ > $(cat ${a}/cpu_boost/parameters/input_boost_freq) / $INPUT_BOOST_FREQ"; fi
if [ -e ${a}/cpu_boost/parameters/input_boost_ms ]; then
echo "$INPUT_BOOST_MS" >> ${a}/cpu_boost/parameters/input_boost_ms
sleep 1
echo "CPU INPUT BOOST MS > $(cat ${a}/cpu_boost/parameters/input_boost_ms) / $INPUT_BOOST_MS"; fi
if [ -e ${a}/cpu_boost/parameters/sync_threshold ]; then
echo "$SYNC_THRESHOLD" >> ${a}/cpu_boost/parameters/sync_threshold
sleep 1
echo "CPU SYNC_THRESHOLD > $(cat ${a}/cpu_boost/parameters/sync_threshold) / $SYNC_THRESHOLD"; fi
done

echo " "
for a in $vm; do
if [ -e ${a}/drop_caches ]; then
sync
echo "3" >> ${a}/drop_caches
sleep 1
echo "0" >> ${a}/drop_caches
echo "Caches dropped"; fi
done
echo " "


Gesendet von meinem SM-N9005
The Following 2 Users Say Thank You to HSD-Pilot For This Useful Post: [ Click to Expand ]
 
JYJY
Old
#776  
Senior Member
Thanks Meter 75
Posts: 202
Join Date: Jul 2012
Quote:
Originally Posted by drew071 View Post
Where is the intellidemand option. I don't have it under cpu.

Drew.


Sent from my SM-N9005 using Tapatalk
Quote:
Originally Posted by Jeshter2000 View Post
+100 I do not have it either...

Sent from my SM-N9005 using XDA Premium 4 mobile app
You guys are funny. How could you find something that is not there? If I recall correctly, wootever mentioned he won't add any more governors.

Sent from my SM-N9005 using XDA Premium 4 mobile app
The Following 2 Users Say Thank You to JYJY For This Useful Post: [ Click to Expand ]
 
nk7
Old
#777  
Senior Member
Thanks Meter 109
Posts: 426
Join Date: Oct 2011
Quote:
Originally Posted by HSD-Pilot View Post
I've to say, that i'm currently using CivZ-SnapKat Kernel, but i can OC the Max GPU Freq.
Not sure, if it's really used but at least the Value sticks, when i $cat it

 





Here's my Script to set the basic Stuff

 

#!/system/bin/sh

###############################
# >> CONFIGURE YOUR VALUES << #
###############################

#### Set CPU Scaling Governor ####
# intellidemand conservative adaptive userspace wheatley powersave interactive performance

GOVERNOR=intellidemand

#### Set MIN/MAX CPU Frequency ####
# 300000 422400 652800 729600 883200 960000 1036800 1190400 1267200 1497600 1574400 1728000 1958400 2265600 2342400 2419200 2496000 2572800 2649600 2726400 2803200 2880000

MAX_OC_LIMIT=2265600
CPU_MIN=300000
CPU_MAX=2265600

#### Set I/O Scheduler ####
# noop bfq deadline vr row cfq test-iosched fiops fifo sio zen

SCHEDULER=fifo

#### Set SDCache ####
# 128 256 512 1024 2048 4096

READ_AHEAD_KB=1024

#### Set GPU Scaling Governor ####
# msm-adreno-tz performance simple_ondemand

GPU_GOVERNOR=msm-adreno-tz

#### Set MIN/MAX GPU Frequency ####
# 533333000 487500000 450000000 389000000 320000000 200000000

GPU_MIN=200000000
GPU_MAX=487500000

#### Set GPU Polling Interval ####
# 10

POLLING_INTERVAL=10


#############################
# >> APPLY CONFIGURATION << #
#############################

until [ `pidof com.android.systemui` != "" ]; do
sleep 1
done
#sleep 20


cpu=/sys/devices/system/cpu/cpu*
gpu=/sys/class/kgsl/kgsl-3d0/devfreq
dm=/sys/block/dm-*
kernel=/sys/kernel
loop=/sys/block/loop*
mmc=/sys/block/mmc*
ram=/sys/block/ram*
sdcard=/sys/devices/virtual/bdi/179:*
module=sys/module

#### Set CPU Governor ####

echo " "
echo ">>> CPU <<<"
echo " "

for a in $cpu; do
if [ -e ${a}/cpufreq/scaling_governor ]; then
echo "$GOVERNOR" >> ${a}/cpufreq/scaling_governor
sleep 1
echo "CPU GOVERNOR > $(cat ${a}/cpufreq/scaling_governor) / $GOVERNOR"; fi
done

for a in $cpu; do
if [ -e ${a}/cpufreq/max_limit ]; then
echo "$MAX_OC_LIMIT" >> ${a}/cpufreq/max_limit
sleep 1
echo "MAX OC LIMIT > $(cat ${a}/cpufreq/max_limit) / $MAX_OC_LIMIT"; fi
if [ -e ${a}/cpufreq/scaling_min_freq ]; then
echo "$CPU_MIN" >> ${a}/cpufreq/scaling_min_freq
sleep 1
echo "MIN CPU FREQ > $(cat ${a}/cpufreq/scaling_min_freq) / $CPU_MIN" ; fi
if [ -e ${a}/cpufreq/scaling_max_freq ]; then
echo "$CPU_MAX" >> ${a}/cpufreq/scaling_max_freq
sleep 1
echo "MAX CPU FREQ > $(cat ${a}/cpufreq/scaling_max_freq) / $CPU_MAX"; fi
done

echo " "
echo ">>> I/O SETTINGS <<<"
echo " "

for a in $mmc; do
if [ -e ${a}/queue ]; then
echo "$SCHEDULER" >> ${a}/queue/scheduler
sleep 1
echo "I/O SCHEDULER > $(cat ${a}/queue/scheduler) / $SCHEDULER"; fi
done

# Optimize non-rotating storage;
for i in $dm $loop $mmc $ram; do
if [ -e $i/queue/rotational ]; then
echo "0" > $i/queue/rotational; fi
if [ -e $i/queue/nr_requests ]; then
echo "2048" > $i/queue/nr_requests; fi
# CFQ specific
if [ -e $i/queue/iosched/back_seek_penalty ]; then
echo "1" > $i/queue/iosched/back_seek_penalty; fi
if [ -e $i/queue/iosched/low_latency ]; then
echo "1" > $i/queue/iosched/low_latency; fi
if [ -e $i/queue/iosched/slice_idle ]; then
echo "1" > $i/queue/iosched/slice_idle; fi
if [ -e $i/queue/iosched/quantum ]; then
echo "8" > $i/queue/iosched/quantum; fi
# Deadline/VR/SIO specific
if [ -e $i/queue/iosched/fifo_batch ]; then
echo "4" > $i/queue/iosched/fifo_batch; fi
if [ -e $i/queue/iosched/writes_starved ]; then
echo "1" > $i/queue/iosched/writes_starved; fi
# VR Specific
if [ -e $i/queue/iosched/rev_penalty ]; then
echo "1" > $i/queue/iosched/rev_penalty; fi
if [ -e $i/queue/rq_affinity ]; then
echo "1" > $i/queue/rq_affinity; fi
# Disable iostats to reduce overhead
if [ -e $i/queue/iostats ]; then
echo "0" > $i/queue/iostats; fi
# Optimize for readahead;
if [ -e $i/queue/read_ahead_kb ]; then
echo "256" > $i/queue/read_ahead_kb; fi
# Specifically for NAND devices where reads are faster than writes, writes starved 2:1 is good
if [ -e $i/queue/iosched/writes_starved ]; then
echo "2" > $i/queue/iosched/writes_starved; fi
done

for a in $sdcard; do
if [ -e ${a}/read_ahead_kb ]; then
echo "$READ_AHEAD_KB" >> ${a}/read_ahead_kb
sleep 1
echo "SDCACHE > $(cat ${a}/read_ahead_kb) / $READ_AHEAD_KB"; fi
done

echo " "
echo ">>> GPU <<<"
echo " "

for a in $gpu; do
if [ -e ${a}/governor ]; then
echo "$GPU_GOVERNOR" >> ${a}/governor
sleep 1
echo "GPU GOVERNOR > $(cat ${a}/governor) / $GPU_GOVERNOR"; fi

if [ -e ${a}/min_freq ]; then
echo "$GPU_MIN" >> ${a}/min_freq
sleep 1
echo "MIN GPU FREQ > $(cat ${a}/min_freq) / $GPU_MIN"; fi
if [ -e ${a}/max_freq ]; then
echo "$GPU_MAX" >> ${a}/max_freq
sleep 1
echo "MAX GPU FREQ > $(cat ${a}/max_freq) / $GPU_MAX"; fi

if [ -e ${a}/polling_interval ]; then
echo "$POLLING_INTERVAL" >> ${a}/polling_interval
sleep 1
echo "GPU POLLING INTERVAL > $(cat ${a}/polling_interval) / $POLLING_INTERVAL"; fi
done


Gesendet von meinem SM-N9005
Thanks for that. Yes, current GPU freq is limited to 450 in adreno and ondemand(?) governor in CivKat kernel. But if you set it to performance governor and OC to 533.33 MHz then you can see it update to OC frequency. I'm sure the adreno GPU governor is very optimised.

Was going to make a simple overlay app to read current gpu frequency like Cool Tool app for CPU and see that overlay in-game. Not that I play games that often. Thanks for the code anyway.
 
PurppleMonkey
Old
#778  
Member
Thanks Meter 8
Posts: 71
Join Date: Jun 2013
Hi ^^

can i undervolt with your kernel ?
 
encho
Old
#779  
Senior Member
Thanks Meter 153
Posts: 588
Join Date: Jul 2010
Quote:
Originally Posted by drew071 View Post
Where is the intellidemand option. I don't have it under cpu.

Drew.


Sent from my SM-N9005 using Tapatalk
Quote:
Originally Posted by Jeshter2000 View Post
+100 I do not have it either...

Sent from my SM-N9005 using XDA Premium 4 mobile app
Quote:
Originally Posted by JYJY View Post
You guys are funny. How could you find something that is not there? If I recall correctly, wootever mentioned he won't add any more governors.

Sent from my SM-N9005 using XDA Premium 4 mobile app
I do have it.
Attached Thumbnails
Click image for larger version

Name:	tmp_Screenshot_2014-03-08-16-43-16-1016710629.png
Views:	299
Size:	194.3 KB
ID:	2620278  
 
meti84
Old
#780  
Member
Thanks Meter 4
Posts: 43
Join Date: Nov 2008
Location: Brescia
Quote:
Originally Posted by encho View Post
I do have it.
It's a really old version of the kernel...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes