summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2016-06-15 17:25:37 -0700
committerJohn Stultz <john.stultz@linaro.org>2016-06-15 17:25:37 -0700
commit33ba1dfb660e1e6fc41d29ac3b7c9aff6d28276f (patch)
tree7aba52bf00bff3b153cfdf6bdaed2246f40d169b
parente2dcc521488acecf313a71042812733d9cf9852c (diff)
downloadflo-33ba1dfb660e1e6fc41d29ac3b7c9aff6d28276f.tar.gz
init.flo.rc: Add permissions fixups for new sync-file sw_syncHEADmaster
For the new sync file interface, make sure surface flinger has proper permissions Credits to Rob Herring for sorting this out. Signed-off-by: John Stultz <john.stultz@lianro.org>
-rw-r--r--init.flo.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.flo.rc b/init.flo.rc
index 9dfa404..957ee7a 100644
--- a/init.flo.rc
+++ b/init.flo.rc
@@ -28,6 +28,13 @@ on early-init
setprop hwc.drm.use_framebuffer_target 1
setprop hwc.drm.use_overlay_planes 0
+ mount debugfs debugfs /sys/kernel/debug
+ chmod 755 /sys/kernel/debug
+ chmod 755 /sys/kernel/debug/sync
+ chown graphics graphics /sys/kernel/debug/sync/sw_sync
+ chmod 777 /sys/kernel/debug/sync/sw_sync
+ chown graphics graphics /sys/kernel/debug/sync/info
+
on init