summaryrefslogtreecommitdiff
authorbaocheng sun <baocheng.sun@amlogic.com>2020-08-06 03:26:01 (GMT)
committer gerrit autosubmit <gerrit.autosubmit@aml-code-master.amlogic.com>2020-11-19 08:32:59 (GMT)
commit8d7f7db2f92a01256eeb6246da30020043078b80 (patch)
treef45b46e888272b3e21d5b16f554c8b4e91c8d654
parentc2aa3240ef1ddca02b80df0fb2d8070431b4f518 (diff)
downloadcommon-8d7f7db2f92a01256eeb6246da30020043078b80.zip
common-8d7f7db2f92a01256eeb6246da30020043078b80.tar.gz
common-8d7f7db2f92a01256eeb6246da30020043078b80.tar.bz2
sysfs: add perm of /sys/class/graphics/fb0/free_fb_mem [2/2]
PD#SWPL-37078 Problem: Fb memory of osd driver is not released Solution: add perm of /sys/class/graphics/fb0/free_fb_mem Verify: sabrina Change-Id: I1afbf70030d68208fbf6e5f9897fbc83f7f6ead9 Signed-off-by: baocheng sun <baocheng.sun@amlogic.com>
Diffstat
-rw-r--r--initscripts/sysfs_permissions.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/initscripts/sysfs_permissions.rc b/initscripts/sysfs_permissions.rc
index f2ab6db..3dbd137 100644
--- a/initscripts/sysfs_permissions.rc
+++ b/initscripts/sysfs_permissions.rc
@@ -147,6 +147,9 @@ on init
chmod 0664 /sys/class/graphics/fb0/osd_afbcd
chown system system /sys/class/graphics/fb0/osd_afbcd
+ chmod 0664 /sys/class/graphics/fb0/free_fb_mem
+ chown system graphics /sys/class/graphics/fb0/free_fb_mem
+
#ppmgr
chmod 0664 /sys/class/ppmgr/angle
chown media system /sys/class/ppmgr/angle