From cc9cd89806c882d85e45c5581725082f566c8b43 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Fri, 6 Aug 2021 15:13:58 +0800 Subject: [PATCH] thermal: provide permission for user space request TPU throttling Bug: 188701596 Test: ls -al dev/thermal/cdev-by-name/tpu_cooling/user_vote Change-Id: I8a53b118b2e8e51603554c5fbb8a085d47422918 --- conf/init.gs101.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index 74aa37b3..8ac2fb48 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -897,6 +897,7 @@ on property:vendor.thermal.link_ready=1 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote + chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote chown system system /dev/thermal/cdev-by-name/fcc/cur_state chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state