From 7301b9e6bcb6018d296aec53e0b783e1f225d5e9 Mon Sep 17 00:00:00 2001 From: Kevin DuBois Date: Mon, 4 Apr 2022 22:38:16 +0000 Subject: [PATCH] gpu: enable IFPO for gpu power savings. Enables GPU driver's IFPO feature which will power gate GPU more often during interframe periods. Bug: 225179786 Test: SST on build with fix. Change-Id: I8da3106edb5dfe078a21d8047557948fb75ab20a --- conf/init.gs201.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index 20f9d11b..9656d114 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -799,6 +799,9 @@ on property:sys.boot_completed=1 chown system system /sys/devices/platform/19000000.aoc/control/udfps_get_disp_freq chmod 440 /sys/devices/platform/19000000.aoc/control/udfps_get_disp_freq + #enable GPU power optimization + write /sys/devices/platform/28000000.mali/ifpo 1 + # IMS WiFi Calling service charonservice /system/vendor/bin/charon class main