Преглед на файлове

sm8450-common: rootdir: Enable mgame mi_thermald mode

Out of all the modes that run the CPU at advertised speeds without
underclocking, mgame has the most conservative thermal limits.

Change-Id: I491f608a7be5c9497c70b3e49501d7abf58a980c
Signed-off-by: Jens Reidel <[email protected]>
Jens Reidel преди 1 година
родител
ревизия
bac702fda9
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      rootdir/etc/init.xiaomi_sm8450.rc

+ 3 - 0
rootdir/etc/init.xiaomi_sm8450.rc

@@ -153,6 +153,9 @@ on post-fs-data
 on property:sys.boot_completed=1
     start qrtr-lookup
 
+    # Set thermal mode to mgame
+    write /sys/devices/virtual/thermal/thermal_message/sconfig 20
+
 on charger
     chown system system /sys/class/backlight/panel0-backlight/brightness
     chown system system /sys/class/backlight/panel1-backlight/brightness