diff --git a/cheetah/rro_overlays/WifiOverlay/Android.bp b/cheetah/rro_overlays/WifiOverlay/Android.bp new file mode 100644 index 0000000..965ec06 --- /dev/null +++ b/cheetah/rro_overlays/WifiOverlay/Android.bp @@ -0,0 +1,18 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "//device/google/pantah:device_google_pantah_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: [ + "//device/google/pantah/cheetah:device_google_pantah_license", + ], +} + +runtime_resource_overlay { + name: "WifiOverlay2022_C10", + theme: "WifiOverlay2022_C10", + certificate: "platform", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/WifiOverlay/AndroidManifest.xml b/cheetah/rro_overlays/WifiOverlay/AndroidManifest.xml similarity index 100% rename from rro_overlays/WifiOverlay/AndroidManifest.xml rename to cheetah/rro_overlays/WifiOverlay/AndroidManifest.xml diff --git a/rro_overlays/WifiOverlay/OWNERS b/cheetah/rro_overlays/WifiOverlay/OWNERS similarity index 100% rename from rro_overlays/WifiOverlay/OWNERS rename to cheetah/rro_overlays/WifiOverlay/OWNERS diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/cheetah/rro_overlays/WifiOverlay/res/values/config.xml similarity index 100% rename from rro_overlays/WifiOverlay/res/values/config.xml rename to cheetah/rro_overlays/WifiOverlay/res/values/config.xml diff --git a/device-cheetah.mk b/device-cheetah.mk index e726551..cbf2a9f 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -109,7 +109,8 @@ DEVICE_MANIFEST_FILE += \ # Thermal Config PRODUCT_COPY_FILES += \ - device/google/pantah/thermal_info_config_cheetah.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json + device/google/pantah/thermal_info_config_cheetah.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ + device/google/pantah/thermal_info_config_A0.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_A0.json # Power HAL config PRODUCT_COPY_FILES += \ @@ -187,7 +188,10 @@ endif # WiFi Overlay PRODUCT_PACKAGES += \ - WifiOverlay2022 + WifiOverlay2022_C10 \ + PixelWifiOverlay2022_C10 + +PRODUCT_SOONG_NAMESPACES += device/google/pantah/cheetah/ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts diff --git a/device-cloudripper.mk b/device-cloudripper.mk index 400338b..72d6a7b 100644 --- a/device-cloudripper.mk +++ b/device-cloudripper.mk @@ -79,7 +79,8 @@ DEVICE_MANIFEST_FILE += \ # Thermal Config PRODUCT_COPY_FILES += \ - device/google/pantah/thermal_info_config_cloudripper.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json + device/google/pantah/thermal_info_config_cloudripper.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ + device/google/pantah/thermal_info_config_A0.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_A0.json # Power HAL config PRODUCT_COPY_FILES += \ @@ -145,7 +146,10 @@ PRODUCT_SOONG_NAMESPACES += \ # WiFi Overlay PRODUCT_PACKAGES += \ - WifiOverlay2022 + WifiOverlay2022_C10 \ + PixelWifiOverlay2022_C10 + +PRODUCT_SOONG_NAMESPACES += device/google/pantah/cheetah/ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts diff --git a/device-panther.mk b/device-panther.mk index 82877c3..fa17108 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -97,7 +97,8 @@ DEVICE_MANIFEST_FILE += \ # Thermal Config PRODUCT_COPY_FILES += \ - device/google/pantah/thermal_info_config_panther.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json + device/google/pantah/thermal_info_config_panther.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ + device/google/pantah/thermal_info_config_A0.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_A0.json # Power HAL config PRODUCT_COPY_FILES += \ @@ -179,7 +180,10 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layer # WiFi Overlay PRODUCT_PACKAGES += \ - WifiOverlay2022 + WifiOverlay2022_P10 \ + PixelWifiOverlay2022_P10 + +PRODUCT_SOONG_NAMESPACES += device/google/pantah/panther/ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts diff --git a/device-ravenclaw.mk b/device-ravenclaw.mk index d4d31ea..c922dc5 100644 --- a/device-ravenclaw.mk +++ b/device-ravenclaw.mk @@ -84,7 +84,8 @@ DEVICE_MANIFEST_FILE += \ # Thermal Config PRODUCT_COPY_FILES += \ - device/google/pantah/thermal_info_config_ravenclaw.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json + device/google/pantah/thermal_info_config_ravenclaw.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ + device/google/pantah/thermal_info_config_A0.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_A0.json # Power HAL config PRODUCT_COPY_FILES += \ @@ -154,7 +155,10 @@ endif # WiFi Overlay PRODUCT_PACKAGES += \ - WifiOverlay2022 + WifiOverlay2022_C10 \ + PixelWifiOverlay2022_C10 + +PRODUCT_SOONG_NAMESPACES += device/google/pantah/cheetah/ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts diff --git a/rro_overlays/WifiOverlay/Android.bp b/panther/rro_overlays/WifiOverlay/Android.bp similarity index 88% rename from rro_overlays/WifiOverlay/Android.bp rename to panther/rro_overlays/WifiOverlay/Android.bp index 4c617c2..5acd0b7 100644 --- a/rro_overlays/WifiOverlay/Android.bp +++ b/panther/rro_overlays/WifiOverlay/Android.bp @@ -10,8 +10,8 @@ package { } runtime_resource_overlay { - name: "WifiOverlay2022", - theme: "WifiOverlay2022", + name: "WifiOverlay2022_P10", + theme: "WifiOverlay2022_P10", certificate: "platform", sdk_version: "current", product_specific: true diff --git a/panther/rro_overlays/WifiOverlay/AndroidManifest.xml b/panther/rro_overlays/WifiOverlay/AndroidManifest.xml new file mode 100644 index 0000000..632ac6a --- /dev/null +++ b/panther/rro_overlays/WifiOverlay/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + diff --git a/panther/rro_overlays/WifiOverlay/OWNERS b/panther/rro_overlays/WifiOverlay/OWNERS new file mode 100644 index 0000000..8b6c5a7 --- /dev/null +++ b/panther/rro_overlays/WifiOverlay/OWNERS @@ -0,0 +1,4 @@ +# People who can approve changes for submission +kumachang@google.com +wangroger@google.com +hsuvictor@google.com diff --git a/panther/rro_overlays/WifiOverlay/res/values/config.xml b/panther/rro_overlays/WifiOverlay/res/values/config.xml new file mode 100644 index 0000000..d900cef --- /dev/null +++ b/panther/rro_overlays/WifiOverlay/res/values/config.xml @@ -0,0 +1,145 @@ + + + + + + true + + + true + + + true + + + true + + + -77 + -80 + + -80 + -83 + + + false + + + true + + + 524288,2097152,8388608,262144,524288,4194304 + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + Pixel + + + 32 + + + + 1 + 2 + 3 + 8 + + + + 3000 + + + 10 + + + true + + + true + + + true + + + true + + + false + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + false + + + + 1 + diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index e105b3f..bd08985 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -296,7 +296,7 @@ "Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -306,7 +306,7 @@ "Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -316,7 +316,7 @@ "Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -326,7 +326,7 @@ "Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -336,7 +336,7 @@ "Path": "/dev/thermal/tz-by-name/TPU/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -346,7 +346,7 @@ "Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -356,7 +356,7 @@ "Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -366,7 +366,7 @@ "Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -376,7 +376,7 @@ "Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -386,7 +386,7 @@ "Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -396,7 +396,7 @@ "Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -406,7 +406,7 @@ "Path": "/dev/thermal/tz-by-name/TPU/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -416,7 +416,7 @@ "Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -426,7 +426,7 @@ "Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -1313,85 +1313,85 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "MidControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "LittleControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "G3dControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "TpuControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "IspControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "MidSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "LittleSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "G3dSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "TpuSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "IspSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "FACE_UNLOCK_BOOST", @@ -1475,49 +1475,49 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "MidControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "LittleControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "G3dControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "MidSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "LittleSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "G3dSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "ML_ACC", @@ -1537,5 +1537,151 @@ "Duration": 0, "Value": "0-3" } - ] + ], + "AdpfConfig": [ + { + "Name": "REFRESH_120FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 83333330, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_90FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 111111110, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_60FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "UiHighBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 157, + "UclampMin_Low": 157, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 42, + "UclampMin_Low": 42, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowNoneBoost", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 0, + "UclampMin_Low": 0, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + } + ] } diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 939ad44..bb5d32b 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -1536,5 +1536,151 @@ "Duration": 0, "Value": "0-3" } - ] + ], + "AdpfConfig": [ + { + "Name": "REFRESH_120FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 83333330, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_90FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 111111110, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_60FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "UiHighBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 157, + "UclampMin_Low": 157, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 42, + "UclampMin_Low": 42, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowNoneBoost", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 0, + "UclampMin_Low": 0, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + } + ] } diff --git a/powerhint-cloudripper.json b/powerhint-cloudripper.json index ec72bc9..8502dd0 100644 --- a/powerhint-cloudripper.json +++ b/powerhint-cloudripper.json @@ -1018,5 +1018,151 @@ "Duration": 1000, "Value": "9999999" } + ], + "AdpfConfig": [ + { + "Name": "REFRESH_120FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 83333330, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_90FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 111111110, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_60FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "UiHighBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 157, + "UclampMin_Low": 157, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 42, + "UclampMin_Low": 42, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowNoneBoost", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 0, + "UclampMin_Low": 0, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + } ] } diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 6504058..d3f1acb 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -295,7 +295,7 @@ "Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -305,7 +305,7 @@ "Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -315,7 +315,7 @@ "Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -325,7 +325,7 @@ "Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -335,7 +335,7 @@ "Path": "/dev/thermal/tz-by-name/TPU/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -345,7 +345,7 @@ "Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -355,7 +355,7 @@ "Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp", "Values": [ "95000", - "75000" + "80000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -365,7 +365,7 @@ "Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -375,7 +375,7 @@ "Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -385,7 +385,7 @@ "Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -395,7 +395,7 @@ "Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -405,7 +405,7 @@ "Path": "/dev/thermal/tz-by-name/TPU/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -415,7 +415,7 @@ "Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -425,7 +425,7 @@ "Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp", "Values": [ "75000", - "55000" + "60000" ], "DefaultIndex": 0, "ResetOnInit": false @@ -1296,85 +1296,85 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "MidControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "LittleControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "G3dControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "TpuControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "IspControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "MidSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "LittleSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "G3dSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "TpuSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "IspSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "FACE_UNLOCK_BOOST", @@ -1458,49 +1458,49 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "MidControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "LittleControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "G3dControlTempSet", "Duration": 0, - "Value": "75000" + "Value": "80000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "MidSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "LittleSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "G3dSwitchOnTempSet", "Duration": 0, - "Value": "55000" + "Value": "60000" }, { "PowerHint": "ML_ACC", @@ -1520,5 +1520,151 @@ "Duration": 0, "Value": "0-3" } - ] + ], + "AdpfConfig": [ + { + "Name": "REFRESH_120FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 83333330, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_90FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 111111110, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_60FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "UiHighBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 157, + "UclampMin_Low": 157, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 42, + "UclampMin_Low": 42, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowNoneBoost", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 0, + "UclampMin_Low": 0, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + } + ] } diff --git a/powerhint-panther.json b/powerhint-panther.json index 92e1b0a..5ba697d 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -1519,5 +1519,151 @@ "Duration": 0, "Value": "0-3" } - ] + ], + "AdpfConfig": [ + { + "Name": "REFRESH_120FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 83333330, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_90FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 111111110, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_60FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "UiHighBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 157, + "UclampMin_Low": 157, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 42, + "UclampMin_Low": 42, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowNoneBoost", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 0, + "UclampMin_Low": 0, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + } + ] } diff --git a/powerhint-ravenclaw.json b/powerhint-ravenclaw.json index ec72bc9..8502dd0 100644 --- a/powerhint-ravenclaw.json +++ b/powerhint-ravenclaw.json @@ -1018,5 +1018,151 @@ "Duration": 1000, "Value": "9999999" } + ], + "AdpfConfig": [ + { + "Name": "REFRESH_120FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 83333330, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_90FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 111111110, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_60FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "UiHighBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 157, + "UclampMin_Low": 157, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 42, + "UclampMin_Low": 42, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowNoneBoost", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 0, + "UclampMin_Low": 0, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + } ] } diff --git a/powerstats/cheetah/service.cpp b/powerstats/cheetah/service.cpp index 2f9e715..b16646b 100644 --- a/powerstats/cheetah/service.cpp +++ b/powerstats/cheetah/service.cpp @@ -114,7 +114,9 @@ int main() { addDisplay(p); addUwb(p); - if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) { + if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-2/i2c-st21nfc/power_stats", &buffer)) { + addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-2/i2c-st21nfc/power_stats"); + } else if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) { addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats"); } else if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats", &buffer)) { addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats"); diff --git a/powerstats/panther/service.cpp b/powerstats/panther/service.cpp index ed76ca3..66fe789 100644 --- a/powerstats/panther/service.cpp +++ b/powerstats/panther/service.cpp @@ -70,7 +70,9 @@ int main() { addGs201CommonDataProviders(p); addDisplay(p); - if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) { + if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-2/i2c-st21nfc/power_stats", &buffer)) { + addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-2/i2c-st21nfc/power_stats"); + } else if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) { addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats"); } else if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats", &buffer)) { addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats"); diff --git a/powerstats/ravenclaw/service.cpp b/powerstats/ravenclaw/service.cpp index 0f6db94..f04acaf 100644 --- a/powerstats/ravenclaw/service.cpp +++ b/powerstats/ravenclaw/service.cpp @@ -74,7 +74,9 @@ int main() { addGs201CommonDataProviders(p); addDisplay(p); - if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) { + if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-2/i2c-st21nfc/power_stats", &buffer)) { + addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-2/i2c-st21nfc/power_stats"); + } else if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) { addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-3/i2c-st21nfc/power_stats"); } else if (!stat("/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats", &buffer)) { addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats"); diff --git a/thermal_info_config_A0.json b/thermal_info_config_A0.json new file mode 100644 index 0000000..ea9c711 --- /dev/null +++ b/thermal_info_config_A0.json @@ -0,0 +1,591 @@ +{ + "Sensors":[ + { + "Name":"battery", + "Type":"BATTERY", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "60.0" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"LITTLE", + "Type":"CPU", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 115.0 + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"MID", + "Type":"CPU", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 115.0 + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"G3D", + "Type":"GPU", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 115.0 + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"battery_cycle", + "Type":"BCL_VOLTAGE", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":false + }, + { + "Name":"critical-battery-cell", + "Type":"BCL_VOLTAGE", + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "TriggerSensor": "vdroop1", + "Combination":[ + "battery", + "battery_cycle", + "vdroop1" + ], + "Coefficient":[ + "-10000", + "400", + "1000" + ], + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 3.00, + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"FLASH_LED_REDUCE", + "Type":"UNKNOWN", + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "TriggerSensor": "vdroop1", + "Combination":[ + "battery", + "battery_cycle", + "vdroop1" + ], + "Coefficient":[ + "-10000", + "400", + "1000" + ], + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 3.00, + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true, + "SendPowerHint":true + }, + { + "Name":"soc", + "Type":"BCL_PERCENTAGE", + "HotThreshold":[ + "NAN", + 80, + "NAN", + 90, + 93, + 96, + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true, + "PollingDelay":300000, + "PassiveDelay":5000, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-2", + "LimitInfo": [0, 0, 0, 7, 7, 10, 10] + } + ] + }, + { + "Name":"batoilo", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 5000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-2", + "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 10, 11, 11] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + } + ] + }, + { + "Name":"BCL_AUDIO_BAACL", + "Type":"BCL_VOLTAGE", + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "TriggerSensor": "soc", + "Combination":[ + "battery", + "soc" + ], + "Coefficient":[ + "-25000", + "80" + ], + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 2.0, + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"vdroop1", + "Type":"BCL_VOLTAGE", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 1000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-2", + "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 7, 7, 7] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + } + ] + }, + { + "Name":"vdroop2", + "Type":"BCL_VOLTAGE", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 1200, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-2", + "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 15, 15, 15] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + } + ] + }, + { + "Name":"smpl_gm", + "Type":"BCL_VOLTAGE", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 1100, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-2", + "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 13, 13, 13] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + } + ] + }, + { + "Name":"ocp_cpu1", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 7000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"ocp_cpu2", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 12000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"ocp_tpu", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 10500, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"ocp_gpu", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 12000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"soft_ocp_cpu2", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 9000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"soft_ocp_cpu1", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 7000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"soft_ocp_tpu", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 8500, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"soft_ocp_gpu", + "Type":"BCL_CURRENT", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + 9000, + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, + { + "Name":"TPU", + "Type":"NPU", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 115.0 + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + } + ], + "CoolingDevices":[ + { + "Name":"thermal-cpufreq-0", + "Type":"CPU", + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", + "State2Power":["1100", "1050", "1000", "950", "900", "850", "800", "750", "700", "650", "600"] + }, + { + "Name":"thermal-cpufreq-1", + "Type":"CPU", + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", + "State2Power":["1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + }, + { + "Name":"thermal-cpufreq-2", + "Type":"CPU", + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", + "State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + }, + { + "Name":"thermal-gpufreq-0", + "Type":"GPU", + "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote" + }, + { + "Name":"tpu_cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" + } + ] +} diff --git a/thermal_info_config_cheetah.json b/thermal_info_config_cheetah.json index 6d369fe..aa4433f 100644 --- a/thermal_info_config_cheetah.json +++ b/thermal_info_config_cheetah.json @@ -3,89 +3,33 @@ { "Name":"battery", "Type":"BATTERY", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "60.0" - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0], "Multiplier":0.001 }, { "Name":"neutral_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"gnss_tcxo_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"qi_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/qi_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"quiet_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "32.2", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.9, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], + "HotThreshold":["NAN", 32.2, "NAN", "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -93,42 +37,14 @@ { "Name":"usb_pwr_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "35.0", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], + "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.9, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -136,17 +52,7 @@ { "Name":"disp_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -155,25 +61,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "gnss_tcxo_therm", - "disp_therm" - ], - "Coefficient":[ - "0.6", - "0.4" - ], + "Combination":["gnss_tcxo_therm", "disp_therm"], + "Coefficient":[0.6, 0.4], "Offset":-200, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -182,25 +72,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "usb_pwr_therm2", - "quiet_therm" - ], - "Coefficient":[ - "0.559", - "0.441" - ], + "Combination":["usb_pwr_therm2", "quiet_therm"], + "Coefficient":[0.559, 0.441], "Offset":-1771, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -209,25 +83,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "quiet_therm", - "usb_pwr_therm2" - ], - "Coefficient":[ - "1.208", - "-0.208" - ], + "Combination":["quiet_therm", "usb_pwr_therm2"], + "Coefficient":[1.208, -0.208], "Offset":-874, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -236,25 +94,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "neutral_therm", - "quiet_therm" - ], - "Coefficient":[ - "0.6", - "0.4" - ], + "Combination":["neutral_therm", "quiet_therm"], + "Coefficient":[0.6, 0.4], "Offset":-500, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -263,25 +105,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "neutral_therm", - "usb_pwr_therm" - ], - "Coefficient":[ - "0.460", - "0.540" - ], + "Combination":["neutral_therm", "usb_pwr_therm"], + "Coefficient":[0.460, 0.540], "Offset":-3200, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -290,57 +116,16 @@ "VirtualSensor":true, "TriggerSensor":"quiet_therm", "Formula":"MAXIMUM", - "Combination":[ - "VIRTUAL-GNSS-DISP", - "VIRTUAL-USB2-QUIET", - "VIRTUAL-QUIET-USB2" - ], - "Coefficient":[ - "1.0", - "1.0", - "1.0" - ], - "HotThreshold":[ - "NAN", - "39", - "43", - "45", - "46.5", - "52.0", - "55.0" - ], - "HotHysteresis":[ - 0.0, - 1.9, - 1.9, - 1.9, - 1.4, - 1.9, - 1.9 - ], - "VrThreshold":"NAN", + "Combination":["VIRTUAL-GNSS-DISP", "VIRTUAL-USB2-QUIET", "VIRTUAL-QUIET-USB2"], + "Coefficient":[1.0, 1.0, 1.0], + "HotThreshold":["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 55.0], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9], "Multiplier":0.001, "SendPowerHint":true, "Monitor":true, "PollingDelay":300000, "PassiveDelay":7000, "BindedCdevInfo": [ - { - "CdevRequest": "thermal-cpufreq-0", - "LimitInfo": [0, 0, 0, 7, 8, 10, 10] - }, - { - "CdevRequest": "thermal-cpufreq-1", - "LimitInfo": [0, 0, 0, 10, 12, 14, 14] - }, - { - "CdevRequest": "thermal-cpufreq-2", - "LimitInfo": [0, 0, 0, 15, 15, 17, 17] - }, - { - "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 9, 10, 11, 11] - }, { "CdevRequest": "tpu_cooling", "LimitInfo": [0, 2, 3, 4, 5, 5, 5] @@ -351,39 +136,76 @@ } ] }, + { + "Name":"VIRTUAL-SKIN-CPU-GPU", + "Type":"UNKNOWN", + "VirtualSensor":true, + "TriggerSensor":"quiet_therm", + "Formula":"MAXIMUM", + "Combination":["VIRTUAL-GNSS-DISP", "VIRTUAL-USB2-QUIET", "VIRTUAL-QUIET-USB2"], + "Coefficient":[1.0, 1.0, 1.0], + "HotThreshold":["NAN", 39.0, 42.0, 44.0, 46.5, 52.0, 55.0], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9], + "Multiplier":0.001, + "PollingDelay":300000, + "PassiveDelay":7000, + "PIDInfo": { + "K_Po":["NAN", "NAN", 1800, 500, "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 1800, 500, "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 20, 0, "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, 0, "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 1500, 0, "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 2500, 1300, "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 2000, 800, "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 10000, 4000, "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 2, 0, "NAN", "NAN", "NAN"], + "E_Integral_Default": 50 + }, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-0", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S4M_VDD_CPUCL0", + "LimitInfo": [0, 0, 0, 0, 8, 10, 10] + }, + { + "CdevRequest": "thermal-cpufreq-1", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S3M_VDD_CPUCL1", + "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + }, + { + "CdevRequest": "thermal-cpufreq-2", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S2M_VDD_CPUCL2", + "LimitInfo": [0, 0, 0, 0, 15, 17, 17] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S2S_VDD_G3D", + "LimitInfo": [0, 0, 0, 0, 10, 11, 11] + } + ] + }, { "Name":"VIRTUAL-SKIN-CHARGE", "Type":"UNKNOWN", "VirtualSensor":true, "TriggerSensor":"quiet_therm", "Formula":"MAXIMUM", - "Combination":[ - "VIRTUAL-NEUTRAL-QUIET", - "VIRTUAL-NEUTRAL-USB" - ], - "Coefficient":[ - "1.0", - "1.0" - ], - "HotThreshold":[ - "NAN", - "39.0", - "41.0", - "43.0", - "45.0", - "47.0", - "55.0" - ], - "HotHysteresis":[ - 0.0, - 1.9, - 1.9, - 1.9, - 1.9, - 1.9, - 1.9 - ], - "VrThreshold":"NAN", + "Combination":["VIRTUAL-NEUTRAL-QUIET", "VIRTUAL-NEUTRAL-USB"], + "Coefficient":[1.0, 1.0], + "HotThreshold":["NAN", 39.0, 41.0, 43.0, 45.0, 47.0, 55.0], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9], "Multiplier":0.001, "Monitor":true, "PollingDelay":300000, @@ -424,35 +246,10 @@ "VirtualSensor":true, "TriggerSensor":"quiet_therm", "Formula":"MAXIMUM", - "Combination":[ - "VIRTUAL-GNSS-DISP", - "VIRTUAL-USB2-QUIET", - "VIRTUAL-QUIET-USB2" - ], - "Coefficient":[ - "1.0", - "1.0", - "1.0" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "54.0", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 1.9, - 0.0 - ], - "VrThreshold":"NAN", + "Combination":["VIRTUAL-GNSS-DISP", "VIRTUAL-USB2-QUIET", "VIRTUAL-QUIET-USB2"], + "Coefficient":["1.0", "1.0", "1.0"], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 54.0, "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0], "Multiplier":0.001, "Monitor":true, "PollingDelay":300000, @@ -578,76 +375,36 @@ { "Name":"LITTLE", "Type":"CPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"MID", "Type":"CPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"BIG", "Type":"CPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"G3D", "Type":"GPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], + "Multiplier":0.001 + }, + { + "Name":"TPU", + "Type":"NPU", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"battery_cycle", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":1, "Monitor":false }, @@ -657,26 +414,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "vdroop1", - "Combination":[ - "battery", - "battery_cycle", - "vdroop1" - ], - "Coefficient":[ - "-10000", - "400", - "1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 3.00, - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["battery", "battery_cycle", "vdroop1"], + "Coefficient":[-10000, 400, 1000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"], "Multiplier":1, "Monitor":true }, @@ -686,26 +426,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "vdroop1", - "Combination":[ - "battery", - "battery_cycle", - "vdroop1" - ], - "Coefficient":[ - "-10000", - "400", - "1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 3.00, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["battery", "battery_cycle", "vdroop1"], + "Coefficient":[-10000, 400, 1000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "SendPowerHint":true @@ -713,16 +436,7 @@ { "Name":"soc", "Type":"BCL_PERCENTAGE", - "HotThreshold":[ - "NAN", - "NAN", - 80, - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"], "Multiplier":1, "Monitor":true }, @@ -732,24 +446,9 @@ "VirtualSensor":true, "Formula":"WEIGHTED_AVG", "TriggerSensor": "ocp_tpu", - "Combination":[ - "ocp_tpu", - "battery" - ], - "Coefficient":[ - "1", - "-10" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 13000, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["ocp_tpu", "battery"], + "Coefficient":[1, -10], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -766,24 +465,9 @@ "VirtualSensor":true, "Formula":"WEIGHTED_AVG", "TriggerSensor": "ocp_gpu", - "Combination":[ - "ocp_gpu", - "battery" - ], - "Coefficient":[ - "1", - "-10" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 13000, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["ocp_gpu", "battery"], + "Coefficient":[1, -10], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -800,26 +484,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "batoilo", - "Combination":[ - "batoilo", - "ocp_gpu", - "battery" - ], - "Coefficient":[ - "5000", - "12000", - "-1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 3.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["batoilo", "ocp_gpu", "battery"], + "Coefficient":[5000, 12000, -1000 ], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -836,26 +503,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "batoilo", - "Combination":[ - "batoilo", - "ocp_tpu", - "battery" - ], - "Coefficient":[ - "5000", - "12000", - "-1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 3.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["batoilo", "ocp_tpu", "battery"], + "Coefficient":[5000, 12000, -1000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -872,24 +522,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "batoilo", - "Combination":[ - "batoilo", - "ocp_gpu" - ], - "Coefficient":[ - "5000", - "12000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 2.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["batoilo", "ocp_gpu"], + "Coefficient":[5000, 12000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -910,20 +545,8 @@ "batoilo", "ocp_tpu" ], - "Coefficient":[ - "5000", - "12000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 2.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Coefficient":[5000, 12000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -937,25 +560,8 @@ { "Name":"batoilo", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 5000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -972,49 +578,17 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "soc", - "Combination":[ - "battery", - "soc" - ], - "Coefficient":[ - "-25000", - "80" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 2.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["battery", "soc"], + "Coefficient":[-25000, 80], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true }, { "Name":"vdroop1", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -1036,25 +610,8 @@ { "Name":"vdroop2", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1200, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -1076,25 +633,8 @@ { "Name":"smpl_gm", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1100, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -1116,217 +656,66 @@ { "Name":"ocp_cpu1", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 8000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true }, { "Name":"ocp_cpu2", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true }, { "Name":"ocp_tpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true }, { "Name":"ocp_gpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true }, { "Name":"soft_ocp_cpu2", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true }, { "Name":"soft_ocp_cpu1", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 8000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true }, { "Name":"soft_ocp_tpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 8500, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8500, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true }, { "Name":"soft_ocp_gpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 9000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 9000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true - }, - { - "Name":"TPU", - "Type":"NPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", - "Multiplier":0.001 } ], "CoolingDevices":[ @@ -1334,25 +723,25 @@ "Name":"thermal-cpufreq-0", "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", - "State2Power":["1100", "1050", "1000", "950", "900", "850", "800", "750", "700", "650", "600"] + "State2Power":[1100, 1050, 1000, 950, 900, 850, 800, 750, 700, 650, 600] }, { "Name":"thermal-cpufreq-1", "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", - "State2Power":["1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + "State2Power":[1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750] }, { "Name":"thermal-cpufreq-2", "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", - "State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + "State2Power":[1450, 1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750] }, { "Name":"thermal-gpufreq-0", "Type":"GPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote", - "State2Power":["4371", "3543", "3085", "2293", "1927", "1707", "1394", "1171", "967", "768", "592", "433"] + "State2Power":[4371, 3543, 3085, 2293, 1927, 1707, 1394, 1171, 967, 768, 592, 433] }, { "Name":"fcc", @@ -1390,19 +779,19 @@ }, { "Name":"S2M_VDD_CPUCL2", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"S3M_VDD_CPUCL1", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"S4M_VDD_CPUCL0", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"S5M_VDD_INT" @@ -1412,31 +801,15 @@ }, { "Name":"S2S_VDD_G3D", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"POWER_FOR_CHARGING_THROTTLING", "VirtualRails":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "VSYS_PWR_MODEM", - "S2M_VDD_CPUCL2", - "S3M_VDD_CPUCL1", - "S4M_VDD_CPUCL0", - "S5M_VDD_INT", - "S1M_VDD_MIF", - "S2S_VDD_G3D" - ], - "Coefficient":[ - "1.0", - "1.0", - "1.0", - "1.0", - "1.0", - "1.0", - "1.0" - ], + "Combination":["VSYS_PWR_MODEM", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S1M_VDD_MIF", "S2S_VDD_G3D"], + "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "PowerSampleDelay":14000, "PowerSampleCount":5 } diff --git a/thermal_info_config_panther.json b/thermal_info_config_panther.json index 65ea98a..03f1eb6 100644 --- a/thermal_info_config_panther.json +++ b/thermal_info_config_panther.json @@ -3,105 +3,38 @@ { "Name":"battery", "Type":"BATTERY", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "60.0" - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0], "Multiplier":0.001 }, { "Name":"neutral_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"gnss_tcxo_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"qi_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/qi_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"usb_pwr_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "35.0", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], + "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.9, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -109,42 +42,15 @@ { "Name":"disp_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], "TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001 }, { "Name":"quiet_therm", "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "32.9", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.9, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], + "HotThreshold":["NAN", 32.9, "NAN", "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", - "VrThreshold":"NAN", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -155,25 +61,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "quiet_therm", - "usb_pwr_therm" - ], - "Coefficient":[ - "0.973", - "0.027" - ], + "Combination":["quiet_therm", "usb_pwr_therm"], + "Coefficient":[0.973, 0.027], "Offset":-2200, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -182,25 +72,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "usb_pwr_therm", - "quiet_therm" - ], - "Coefficient":[ - "0.580", - "0.420" - ], + "Combination":["usb_pwr_therm", "quiet_therm"], + "Coefficient":[0.580, 0.420], "Offset":-500, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -209,25 +83,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "gnss_tcxo_therm", - "disp_therm" - ], - "Coefficient":[ - "0.550", - "0.450" - ], + "Combination":["gnss_tcxo_therm", "disp_therm"], + "Coefficient":[0.550, 0.450], "Offset":3000, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -236,25 +94,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "neutral_therm", - "quiet_therm" - ], - "Coefficient":[ - "0.6", - "0.4" - ], + "Combination":["neutral_therm", "quiet_therm"], + "Coefficient":[0.6, 0.4], "Offset":-400, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -263,25 +105,9 @@ "Hidden":true, "VirtualSensor":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "neutral_therm", - "usb_pwr_therm" - ], - "Coefficient":[ - "0.6", - "0.4" - ], + "Combination":["neutral_therm", "usb_pwr_therm"], + "Coefficient":[0.6, 0.4], "Offset":-4000, - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":0.001 }, { @@ -290,57 +116,16 @@ "VirtualSensor":true, "TriggerSensor":"quiet_therm", "Formula":"MAXIMUM", - "Combination":[ - "VIRTUAL-QUIET-USB", - "VIRTUAL-USB-QUIET", - "VIRTUAL-GNSS-DISP" - ], - "Coefficient":[ - "1.0", - "1.0", - "1.0" - ], - "HotThreshold":[ - "NAN", - "39.0", - "43.0", - "45.0", - "46.5", - "52.0", - "55.0" - ], - "HotHysteresis":[ - 0.0, - 1.9, - 1.9, - 1.9, - 1.4, - 1.9, - 1.9 - ], - "VrThreshold":"NAN", + "Combination":["VIRTUAL-QUIET-USB", "VIRTUAL-USB-QUIET", "VIRTUAL-GNSS-DISP"], + "Coefficient":[1.0, 1.0, 1.0], + "HotThreshold":["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 55.0], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9], "Multiplier":0.001, "SendPowerHint":true, "Monitor":true, "PollingDelay":300000, "PassiveDelay":7000, "BindedCdevInfo": [ - { - "CdevRequest": "thermal-cpufreq-0", - "LimitInfo": [0, 0, 0, 7, 8, 10, 10] - }, - { - "CdevRequest": "thermal-cpufreq-1", - "LimitInfo": [0, 0, 0, 10, 12, 14, 14] - }, - { - "CdevRequest": "thermal-cpufreq-2", - "LimitInfo": [0, 0, 0, 15, 15, 17, 17] - }, - { - "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 9, 10, 11, 11] - }, { "CdevRequest": "tpu_cooling", "LimitInfo": [0, 2, 3, 4, 5, 5, 5] @@ -351,39 +136,76 @@ } ] }, + { + "Name":"VIRTUAL-SKIN-CPU-GPU", + "Type":"UNKNOWN", + "VirtualSensor":true, + "TriggerSensor":"quiet_therm", + "Formula":"MAXIMUM", + "Combination":["VIRTUAL-QUIET-USB", "VIRTUAL-USB-QUIET", "VIRTUAL-GNSS-DISP"], + "Coefficient":[1.0, 1.0, 1.0], + "HotThreshold":["NAN", 39.0, 42.0, 44.0, 46.5, 52.0, 55.0], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9], + "Multiplier":0.001, + "PollingDelay":300000, + "PassiveDelay":7000, + "PIDInfo": { + "K_Po":["NAN", "NAN", 1800, 500, "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 1800, 500, "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 20, 0, "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, 0, "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 1500, 0, "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 2500, 1300, "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 2000, 800, "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 10000, 4000, "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 2, 0, "NAN", "NAN", "NAN"], + "E_Integral_Default": 50 + }, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-0", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S4M_VDD_CPUCL0", + "LimitInfo": [0, 0, 0, 0, 8, 10, 10] + }, + { + "CdevRequest": "thermal-cpufreq-1", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S3M_VDD_CPUCL1", + "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + }, + { + "CdevRequest": "thermal-cpufreq-2", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S2M_VDD_CPUCL2", + "LimitInfo": [0, 0, 0, 0, 15, 17, 17] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "BindedPowerRail": "S2S_VDD_G3D", + "LimitInfo": [0, 0, 0, 0, 10, 11, 11] + } + ] + }, { "Name":"VIRTUAL-SKIN-CHARGE", "Type":"UNKNOWN", "VirtualSensor":true, "TriggerSensor":"quiet_therm", "Formula":"MAXIMUM", - "Combination":[ - "VIRTUAL-NEUTRAL-QUIET", - "VIRTUAL-NEUTRAL-USB" - ], - "Coefficient":[ - "1.0", - "1.0" - ], - "HotThreshold":[ - "NAN", - "39.0", - "41.0", - "43.0", - "45.0", - "47.0", - "55.0" - ], - "HotHysteresis":[ - 0.0, - 1.9, - 1.9, - 1.9, - 1.9, - 1.9, - 1.9 - ], - "VrThreshold":"NAN", + "Combination":["VIRTUAL-NEUTRAL-QUIET", "VIRTUAL-NEUTRAL-USB"], + "Coefficient":[1.0, 1.0], + "HotThreshold":["NAN", 39.0, 41.0, 43.0, 45.0, 47.0, 55.0], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9], "Multiplier":0.001, "Monitor":true, "PollingDelay":300000, @@ -424,35 +246,10 @@ "VirtualSensor":true, "TriggerSensor":"quiet_therm", "Formula":"MAXIMUM", - "Combination":[ - "VIRTUAL-QUIET-USB", - "VIRTUAL-USB-QUIET", - "VIRTUAL-GNSS-DISP" - ], - "Coefficient":[ - "1.0", - "1.0", - "1.0" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "54.0", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 1.9, - 0.0 - ], - "VrThreshold":"NAN", + "Combination":["VIRTUAL-QUIET-USB", "VIRTUAL-USB-QUIET", "VIRTUAL-GNSS-DISP"], + "Coefficient":[1.0, 1.0, 1.0], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 54.0, "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0], "Multiplier":0.001, "Monitor":true, "PollingDelay":300000, @@ -578,76 +375,36 @@ { "Name":"LITTLE", "Type":"CPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"MID", "Type":"CPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"BIG", "Type":"CPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"G3D", "Type":"GPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], + "Multiplier":0.001 + }, + { + "Name":"TPU", + "Type":"NPU", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0], "Multiplier":0.001 }, { "Name":"battery_cycle", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", "Multiplier":1, "Monitor":false }, @@ -657,26 +414,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "vdroop1", - "Combination":[ - "battery", - "battery_cycle", - "vdroop1" - ], - "Coefficient":[ - "-10000", - "400", - "1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 3.00, - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["battery", "battery_cycle", "vdroop1"], + "Coefficient":[-10000, 400, 1000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"], "Multiplier":1, "Monitor":true }, @@ -686,26 +426,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "vdroop1", - "Combination":[ - "battery", - "battery_cycle", - "vdroop1" - ], - "Coefficient":[ - "-10000", - "400", - "1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 3.00, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["battery", "battery_cycle", "vdroop1"], + "Coefficient":[-10000, 400, 1000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "SendPowerHint":true @@ -713,16 +436,7 @@ { "Name":"soc", "Type":"BCL_PERCENTAGE", - "HotThreshold":[ - "NAN", - "NAN", - 80, - "NAN", - "NAN", - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"], "Multiplier":1, "Monitor":true }, @@ -732,24 +446,9 @@ "VirtualSensor":true, "Formula":"WEIGHTED_AVG", "TriggerSensor": "ocp_tpu", - "Combination":[ - "ocp_tpu", - "battery" - ], - "Coefficient":[ - "1", - "-10" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 13000, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["ocp_tpu", "battery"], + "Coefficient":[1, -10], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -766,24 +465,9 @@ "VirtualSensor":true, "Formula":"WEIGHTED_AVG", "TriggerSensor": "ocp_gpu", - "Combination":[ - "ocp_gpu", - "battery" - ], - "Coefficient":[ - "1", - "-10" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 13000, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["ocp_gpu", "battery"], + "Coefficient":[1, -10], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -800,26 +484,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "batoilo", - "Combination":[ - "batoilo", - "ocp_gpu", - "battery" - ], - "Coefficient":[ - "5000", - "12000", - "-1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 3.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["batoilo", "ocp_gpu", "battery"], + "Coefficient":[5000, 12000, -1000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -836,26 +503,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "batoilo", - "Combination":[ - "batoilo", - "ocp_tpu", - "battery" - ], - "Coefficient":[ - "5000", - "12000", - "-1000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 3.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["batoilo", "ocp_tpu", "battery"], + "Coefficient":[5000, 12000, -1000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -872,24 +522,9 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "batoilo", - "Combination":[ - "batoilo", - "ocp_gpu" - ], - "Coefficient":[ - "5000", - "12000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 2.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["batoilo", "ocp_gpu"], + "Coefficient":[5000, 12000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -910,20 +545,8 @@ "batoilo", "ocp_tpu" ], - "Coefficient":[ - "5000", - "12000" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 2.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Coefficient":[5000, 12000], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -937,25 +560,8 @@ { "Name":"batoilo", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 5000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -972,49 +578,17 @@ "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", "TriggerSensor": "soc", - "Combination":[ - "battery", - "soc" - ], - "Coefficient":[ - "-25000", - "80" - ], - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 2.0, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", + "Combination":["battery", "soc"], + "Coefficient":[-25000, 80], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"], "Multiplier":1, "Monitor":true }, { "Name":"vdroop1", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -1036,25 +610,8 @@ { "Name":"vdroop2", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1200, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -1076,25 +633,8 @@ { "Name":"smpl_gm", "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1100, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true, "PassiveDelay":500, @@ -1116,217 +656,66 @@ { "Name":"ocp_cpu1", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 8000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true }, { "Name":"ocp_cpu2", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true }, { "Name":"ocp_tpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true }, { "Name":"ocp_gpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true }, { "Name":"soft_ocp_cpu2", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 12000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true }, { "Name":"soft_ocp_cpu1", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 8000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Monitor":true }, { "Name":"soft_ocp_tpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 8500, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8500, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true }, { "Name":"soft_ocp_gpu", "Type":"BCL_CURRENT", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 9000, - "NAN", - "NAN" - ], - "HotHysteresis":[ - 0.0, - 0.0, - 0.0, - 0.0, - 100, - 0.0, - 0.0 - ], - "VrThreshold":"NAN", + "HotThreshold":["NAN", "NAN", "NAN", "NAN", 9000, "NAN", "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0], "Multiplier":1, "Hidden":true - }, - { - "Name":"TPU", - "Type":"NPU", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - "NAN", - 115.0 - ], - "VrThreshold":"NAN", - "Multiplier":0.001 } ], "CoolingDevices":[ @@ -1334,25 +723,25 @@ "Name":"thermal-cpufreq-0", "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", - "State2Power":["1100", "1050", "1000", "950", "900", "850", "800", "750", "700", "650", "600"] + "State2Power":[1100, 1050, 1000, 950, 900, 850, 800, 750, 700, 650, 600] }, { "Name":"thermal-cpufreq-1", "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", - "State2Power":["1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + "State2Power":[1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750] }, { "Name":"thermal-cpufreq-2", "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", - "State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + "State2Power":[1450, 1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750] }, { "Name":"thermal-gpufreq-0", "Type":"GPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote", - "State2Power":["4599", "3727", "3259", "2378", "2044", "1813", "1449", "1223", "1007", "804", "633", "452"] + "State2Power":[4599, 3727, 3259, 2378, 2044, 1813, 1449, 1223, 1007, 804, 633, 452] }, { "Name":"fcc", @@ -1390,19 +779,19 @@ }, { "Name":"S2M_VDD_CPUCL2", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"S3M_VDD_CPUCL1", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"S4M_VDD_CPUCL0", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"S5M_VDD_INT" @@ -1412,31 +801,15 @@ }, { "Name":"S2S_VDD_G3D", - "PowerSampleDelay":14000, - "PowerSampleCount":5 + "PowerSampleDelay":7000, + "PowerSampleCount":1 }, { "Name":"POWER_FOR_CHARGING_THROTTLING", "VirtualRails":true, "Formula":"WEIGHTED_AVG", - "Combination":[ - "VSYS_PWR_MODEM", - "S2M_VDD_CPUCL2", - "S3M_VDD_CPUCL1", - "S4M_VDD_CPUCL0", - "S5M_VDD_INT", - "S1M_VDD_MIF", - "S2S_VDD_G3D" - ], - "Coefficient":[ - "1.0", - "1.0", - "1.0", - "1.0", - "1.0", - "1.0", - "1.0" - ], + "Combination":["VSYS_PWR_MODEM", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S1M_VDD_MIF", "S2S_VDD_G3D"], + "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "PowerSampleDelay":14000, "PowerSampleCount":5 }