thermal: Apply thermalhal PID 2.0
Bug: 196478280 Test: build Change-Id: I59efbf09ee9a8584f0083db9f15924470f253479
This commit is contained in:
parent
8187c419db
commit
51bffd2371
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue