From 105ff74f4229ad8fcec80e4e1d0e479c4ce3a21f Mon Sep 17 00:00:00 2001 From: Varun Arora Date: Fri, 1 May 2020 16:38:53 -0700 Subject: [PATCH] davinci: rootdir: init: Change sysfs control node to system:graphics Change to system graphics from root Change-Id: Ida479fc4fd2b442efd7f7fae79e7462a349fee17 --- rootdir/etc/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 65da38d..af2ad5c 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -41,6 +41,9 @@ on early-init chown system graphics /sys/kernel/debug/dri/0/debug/recovery_dbgbus chown system graphics /sys/kernel/debug/dri/0/debug/recovery_vbif_dbgbus + # Change ownership of sysfs power control node + chown system graphics /sys/class/drm/card0/device/power/control + on init # Create cgroup mount point for memory mkdir /sys/fs/cgroup/memory/bg 0750 root system