summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-09-28 19:46:11 +0200
committerGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-09-28 19:46:11 +0200
commite1a5456221c2fea534f624eab6aff68aec9efbf3 (patch)
treef92b57f33b365c35bb9479e7d631bb868595eb9c
parentb808e4f7fada3d2632621beb6b40bcf639c5b714 (diff)
shinano: add MDP idle notifier permissions
Change-Id: Iad8221db509d7c6ef6a58f9d79435b57cd7fc2ee
-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 c0dd1ee..42330e2 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -155,6 +155,10 @@ on boot
chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state
+ # MDP idle notifier
+ chown system graphics /sys/class/graphics/fb0/idle_time
+ chmod 0664 /sys/class/graphics/fb0/idle_time
+
# Remove write permissions to video related nodes
chown system graphics /sys/class/graphics/fb1/hpd
chown system system /sys/class/graphics/fb1/hdcp/tp