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 <adrian@travitia.xyz>
This commit is contained in:
Jens Reidel 2023-04-21 23:18:46 +02:00 committed by Arian
parent ce5d445710
commit bac702fda9

View file

@ -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