summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorleohsieh <leohsieh@google.com>2022-04-17 23:58:00 +0800
committerLeo Hsieh <leohsieh@google.com>2022-04-22 05:11:32 +0000
commitb51698c4a917b54666d90334c767c9abbc03eab6 (patch)
tree6653dfc9955ef6d56ad0b44fe301c464e08a87c6 /conf
parentc5b6b78599d7770388b7fe728695903a3fd2e923 (diff)
downloadgs201-b51698c4a917b54666d90334c767c9abbc03eab6.tar.gz
UDFPS: Configure permission for display file node.
Configure permission to get display DDIC chip id. Bug: 228302164 Test: Verify system process can write to the node. Change-Id: I647f6d27848d96a8639560616edc7c71a4e49aa9
Diffstat (limited to 'conf')
-rw-r--r--conf/init.gs201.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc
index 248839f..0180676 100644
--- a/conf/init.gs201.rc
+++ b/conf/init.gs201.rc
@@ -972,6 +972,8 @@ on property:vendor.disable.bcl.control=0
on post-fs-data && property:ro.vendor.factory=1
# HBM mode for UDFPS factory apk
chmod 666 /d/dri/0/DSI-1/panel/reg/payload
+ chmod 666 /d/dri/0/DSI-1/panel/reg/count
+ chmod 666 /d/dri/0/DSI-1/panel/reg/address
chmod 666 /d/dri/0/DSI-1/panel/hbm_mode
chmod 666 /sys/class/backlight/panel0-backlight/local_hbm_max_timeout
chmod 666 /sys/class/backlight/panel0-backlight/local_hbm_mode