davinci: rootdir: init: Change sysfs control node to system:graphics

Change to system graphics from root

Change-Id: Ida479fc4fd2b442efd7f7fae79e7462a349fee17
This commit is contained in:
Varun Arora 2020-05-01 16:38:53 -07:00 committed by Arian
parent cecea925c5
commit 105ff74f42
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -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