2024-08-12 23:01:40 -07:00
|
|
|
# Allow libperfmgr to access Transsion DT2W Nodes
|
2024-08-14 03:42:42 -07:00
|
|
|
allow hal_power_default proc_gesture_function:dir r_file_perms;
|
2024-08-12 07:58:27 -07:00
|
|
|
allow hal_power_default proc_gesture_function:file rw_file_perms;
|
2024-08-12 09:57:48 -07:00
|
|
|
|
|
|
|
# Allow libperfmgr to control cgroups
|
|
|
|
allow hal_power_default cgroup:file rw_file_perms;
|
2024-08-12 19:45:41 -07:00
|
|
|
|
|
|
|
# Allow libperfmgr to write GPU nodes
|
|
|
|
allow hal_power_default sysfs_gpu:dir r_dir_perms;
|
|
|
|
allow hal_power_default sysfs_gpu:file rw_file_perms;
|
|
|
|
|
|
|
|
# Allow libperfmgr to control cpu frequencies
|
|
|
|
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
|
|
|
|
|
|
|
|
# Allow libperfmgr to control FPSGO boost
|
|
|
|
r_dir_file(hal_power_default, sysfs_fpsgo)
|
|
|
|
allow hal_power_default sysfs_fpsgo:file w_file_perms;
|
|
|
|
|
|
|
|
r_dir_file(hal_power_default, sysfs_mtk_fpsgo)
|
|
|
|
allow hal_power_default sysfs_mtk_fpsgo:file w_file_perms;
|
|
|
|
|
|
|
|
# Allow libperfmgr to control GPU boost
|
|
|
|
r_dir_file(hal_power_default, sysfs_ged)
|
|
|
|
allow hal_power_default sysfs_ged:file w_file_perms;
|
|
|
|
|
|
|
|
# Allow libperfmgr to control task turbo
|
|
|
|
r_dir_file(hal_power_default, sysfs_task_turbo)
|
|
|
|
allow hal_power_default sysfs_task_turbo:file w_file_perms;
|
|
|
|
|
|
|
|
# Allow libperfmgr to control CPU DMA Latency
|
|
|
|
allow hal_power_default cpu_dma_latency_device:chr_file w_file_perms;
|