aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorThomas Shum <jabashque@gmail.com>2019-07-31 00:19:01 -0700
committerceltare21 <celtare21@gmail.com>2019-08-02 11:18:29 +0000
commitd4cb656ee3822eb97afabb5c2cd9e6eb7ce5193a (patch)
treeb745382ae0b3e35cecefd0c91ea218c6639de0e9 /rootdir
parent4a8c7a3cc7e9c9fd194a7ec18442cdaf772de49a (diff)
mata: Add missing ownership/permission changes for /sys/class/graphics/fb3
During the folding of init.mata.hdmi.sh into init.mata.rc, a few ownership/permission changes were accidentally excluded, resulting in DP Alt Mode breaking. Add these changes back in to fix DP Alt Mode. Change-Id: I48e265ab7b2f1ecd61a1d5c88e085e36dad34df1 Signed-off-by: celtare21 <celtare21@gmail.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.mata.rc15
1 files changed, 13 insertions, 2 deletions
diff --git a/rootdir/etc/init.mata.rc b/rootdir/etc/init.mata.rc
index db33a7ad..803b527f 100644
--- a/rootdir/etc/init.mata.rc
+++ b/rootdir/etc/init.mata.rc
@@ -87,12 +87,23 @@ on early-init
chown system graphics /sys/class/graphics/fb2/lineptr_value
chown system graphics /sys/class/graphics/fb2/msm_fb_persist_mode
- chown system graphics /sys/class/graphics/fb3/lineptr_value
- chown system graphics /sys/class/graphics/fb3/msm_fb_persist_mode
chmod 0664 /sys/class/graphics/fb2/lineptr_value
chmod 0664 /sys/class/graphics/fb2/msm_fb_persist_mode
+
+ chown system graphics /sys/class/graphics/fb3/hpd
+ chown system graphics /sys/class/graphics/fb3/lineptr_value
+ chown system graphics /sys/class/graphics/fb3/msm_fb_dfps_mode
+ chown system graphics /sys/class/graphics/fb3/msm_fb_persist_mode
+ chown system graphics /sys/class/graphics/fb3/pa
+ chown system graphics /sys/class/graphics/fb3/res_info
+ chown system graphics /sys/class/graphics/fb3/s3d_mode
+ chmod 0664 /sys/class/graphics/fb3/hpd
chmod 0664 /sys/class/graphics/fb3/lineptr_value
+ chmod 0664 /sys/class/graphics/fb3/msm_fb_dfps_mode
chmod 0664 /sys/class/graphics/fb3/msm_fb_persist_mode
+ chmod 0664 /sys/class/graphics/fb3/pa
+ chmod 0664 /sys/class/graphics/fb3/res_info
+ chmod 0664 /sys/class/graphics/fb3/s3d_mode
on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1