summaryrefslogtreecommitdiff
path: root/init.bullhead.power.sh
diff options
context:
space:
mode:
authorThierry Strudel <tstrudel@google.com>2015-08-26 23:07:57 -0700
committerThierry Strudel <tstrudel@google.com>2015-08-26 23:07:57 -0700
commitaa4ef3fb319e8649960a4534e4c37eb42f422476 (patch)
treee7b6cbe117395356237d60277937fb2b7dc97ec5 /init.bullhead.power.sh
parentc9de32793ba41994839cb83f6668dffd78dd80e7 (diff)
downloadbullhead-aa4ef3fb319e8649960a4534e4c37eb42f422476.tar.gz
bullhead power: set GPU default pwrlevel to 5 (180MHz)
Change-Id: I59d1edf79035f1656ff31a5b33e7da6aaf11cd12
Diffstat (limited to 'init.bullhead.power.sh')
-rwxr-xr-xinit.bullhead.power.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.bullhead.power.sh b/init.bullhead.power.sh
index 2f6877a..eee8b79 100755
--- a/init.bullhead.power.sh
+++ b/init.bullhead.power.sh
@@ -124,3 +124,6 @@ get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode disable
get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_mask $bcl_hotplug_mask
get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask $bcl_hotplug_soc_mask
get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode enable
+
+# set GPU default power level to 5 (180MHz) instead of 4 (305MHz)
+write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 5