summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-10-30 18:14:06 +0100
committerGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-10-30 18:14:09 +0100
commit99f9d13fccd6075d226aeb7db3694c3b83677a7a (patch)
treefdbb5491ead478625dc25cc08b7affef6043e4c8 /rootdir
parent597d321c3a874c5d6349e8504f9f7614249081dd (diff)
shinano: set permissions for dynamic fps
Change-Id: Ib24c6fb31af10f5b331c9380144835921cdb928c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.qcom.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 9de8fee..52184a6 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -191,6 +191,10 @@ on boot
chmod 400 /sys/class/graphics/fb1/msm_fb_fps_level
chmod 400 /sys/class/graphics/fb2/msm_fb_fps_level
+ # Dynamic fps
+ chmod 644 /sys/devices/virtual/graphics/fb0/dynamic_fps
+ chown system graphics /sys/devices/virtual/graphics/fb0/dynamic_fps
+
# Adaptive backlight
chown system system /sys/devices/mdss_dsi_panel/cabc
chmod 0660 /sys/devices/mdss_dsi_panel/cabc