author | baocheng sun <baocheng.sun@amlogic.com> | 2020-08-06 03:26:01 (GMT) |
---|---|---|
committer | baocheng sun <baocheng.sun@amlogic.com> | 2020-11-17 11:45:35 (GMT) |
commit | 2f9e73470b7be5c828dcc6981f032ae2dbc8bf34 (patch) | |
tree | bfab9b5433ebeee67bfa07e93dfb298ced10472a | |
parent | 50d1792e613cfe242a4eb845f284ad76c65a06f3 (diff) | |
download | common-2f9e73470b7be5c828dcc6981f032ae2dbc8bf34.zip common-2f9e73470b7be5c828dcc6981f032ae2dbc8bf34.tar.gz common-2f9e73470b7be5c828dcc6981f032ae2dbc8bf34.tar.bz2 |
sysfs: add perm of /sys/class/graphics/fb0/free_fb_mem [2/2]
PD#GH-593
BUG=160112047
BUG=173097906
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>
(cherry picked from commit a17c8486c53e1bd9c7f82758100eccf2188a3935)
-rw-r--r-- | initscripts/sysfs_permissions.rc | 3 |
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 |