mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
thermal: Apply thermalhal PID 2.0 am: 51bffd2371
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17775243 Change-Id: Ie548de4d6a149151986e50bcce8f9b11802659f1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -906,6 +906,9 @@ on post-fs-data
|
||||
mkdir /data/vendor/powerstats 0771 system system
|
||||
chown system system /data/vendor/powerstats
|
||||
|
||||
on late-init && property:ro.boot.hw.soc.rev=0
|
||||
setprop vendor.thermal.config "thermal_info_config_A0.json"
|
||||
|
||||
on property:vendor.thermal.link_ready=1
|
||||
# BCL
|
||||
write /sys/devices/virtual/pmic/mitigation/clock_ratio/tpu_light_clk_ratio 0xfff041c1 #DFS
|
||||
|
||||
@@ -1026,8 +1026,9 @@ PRODUCT_PACKAGES += \
|
||||
include device/google/gs101/telephony/pktrouter.mk
|
||||
|
||||
# Thermal HAL
|
||||
include hardware/google/pixel/thermal/device.mk
|
||||
PRODUCT_PROPERTY_OVERRIDES += persist.vendor.enable.thermal.genl=true
|
||||
include hardware/google/pixel/thermal/device.mk
|
||||
$(call soong_config_set,thermal_hal_feature,pid,apply_2_0)
|
||||
|
||||
## TPU packages
|
||||
include device/google/gs201/edgetpu/edgetpu.mk
|
||||
|
||||
Reference in New Issue
Block a user