Revert "Spacewar: Remove QTI perfd"

UI stutters appear with lineage-libperfmgr

This reverts commit 54f61e88079df5b2e95b6d2077b58ccd141f2046.

Change-Id: Ib9cb5ade6d576db63348cca3867640ba04e74418
This commit is contained in:
BrainKub
2025-10-15 22:23:19 +03:00
committed by nyxalune
parent c8b754d0a5
commit c1bdf6a0bb
30 changed files with 3830 additions and 0 deletions

View File

@@ -3812,6 +3812,137 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libperfconfig",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libperfconfig.so",
],
shared_libs: [
"libutils",
"liblog",
"libcutils",
"libxml2",
"libqti-util",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libperfconfig.so",
],
shared_libs: [
"libutils",
"liblog",
"libcutils",
"libxml2",
"libqti-util",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libperfgluelayer",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libperfgluelayer.so",
],
shared_libs: [
"libutils",
"liblog",
"libcutils",
"libperfconfig",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libperfgluelayer.so",
],
shared_libs: [
"libutils",
"liblog",
"libcutils",
"libperfconfig",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libperfioctl",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libperfioctl.so",
],
shared_libs: [
"libdrm",
"libutils",
"liblog",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libperfioctl.so",
],
shared_libs: [
"libdrm",
"libutils",
"liblog",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libqc2vppfilter", name: "libqc2vppfilter",
owner: "nothing", owner: "nothing",
@@ -4938,6 +5069,194 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libqti-perfd-client",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqti-perfd-client.so",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"vendor.qti.hardware.perf@2.2",
"libhidlbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqti-perfd-client.so",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"vendor.qti.hardware.perf@2.2",
"libhidlbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqti-perfd",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqti-perfd.so",
],
shared_libs: [
"libcutils",
"liblog",
"libutils",
"libxml2",
"libqti-util",
"libhidlbase",
"vendor.qti.hardware.perf@2.0",
"libbase",
"libthermalclient",
"libqti-perfd-client",
"libperfconfig",
"libperfgluelayer",
"libdisplayconfig.qti",
"libperfioctl",
"vendor.qti.memory.pasrmanager@1.1",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqti-perfd.so",
],
shared_libs: [
"libcutils",
"liblog",
"libutils",
"libxml2",
"libqti-util",
"libhidlbase",
"vendor.qti.hardware.perf@2.0",
"libbase",
"libthermalclient",
"libqti-perfd-client",
"libperfconfig",
"libperfgluelayer",
"libdisplayconfig.qti",
"libperfioctl",
"vendor.qti.memory.pasrmanager@1.1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqti-util",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqti-util.so",
],
shared_libs: [
"libcutils",
"libutils",
"libxml2",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqti-util.so",
],
shared_libs: [
"libcutils",
"libutils",
"libxml2",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqti-utils",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqti-utils.so",
],
shared_libs: [
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqti-utils.so",
],
shared_libs: [
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libqtikeymaster4", name: "libqtikeymaster4",
owner: "nothing", owner: "nothing",
@@ -6440,6 +6759,94 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "vendor.qti.memory.pasrmanager@1.0",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/vendor.qti.memory.pasrmanager@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.memory.pasrmanager@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.memory.pasrmanager@1.1",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/vendor.qti.memory.pasrmanager@1.1.so",
],
shared_libs: [
"vendor.qti.memory.pasrmanager@1.0",
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.memory.pasrmanager@1.1.so",
],
shared_libs: [
"vendor.qti.memory.pasrmanager@1.0",
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "vendor.qti.qspmhal@1.0", name: "vendor.qti.qspmhal@1.0",
owner: "nothing", owner: "nothing",
@@ -25742,6 +26149,44 @@ cc_prebuilt_binary {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "vendor.qti.hardware.perf@2.2-service",
owner: "nothing",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/vendor.qti.hardware.perf@2.2-service",
],
shared_libs: [
"liblog",
"libcutils",
"libbase",
"libutils",
"libhardware_legacy",
"libhardware",
"libhidlbase",
"vendor.qti.hardware.perf@2.0",
"vendor.qti.hardware.perf@2.1",
"vendor.qti.hardware.perf@2.2",
"libperfconfig",
"libperfgluelayer",
"libqti-perfd-client",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "vendor.qti.hardware.qseecom@1.0-service", name: "vendor.qti.hardware.qseecom@1.0-service",
owner: "nothing", owner: "nothing",

View File

@@ -255,6 +255,7 @@ PRODUCT_COPY_FILES += \
vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc \ vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc \
vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.dsp@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.dsp@1.0-service.rc \ vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.dsp@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.dsp@1.0-service.rc \
vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.limits@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.limits@1.0-service.rc \ vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.limits@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.limits@1.0-service.rc \
vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.perf@2.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.perf@2.2-service.rc \
vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc \ vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc \
vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc \ vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc \
vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc \ vendor/nothing/Spacewar/proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc \
@@ -318,8 +319,15 @@ PRODUCT_COPY_FILES += \
vendor/nothing/Spacewar/proprietary/vendor/etc/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ vendor/nothing/Spacewar/proprietary/vendor/etc/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/mixer_paths_qrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_qrd.xml \ vendor/nothing/Spacewar/proprietary/vendor/etc/mixer_paths_qrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_qrd.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf \ vendor/nothing/Spacewar/proprietary/vendor/etc/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf \
vendor/nothing/Spacewar/proprietary/vendor/etc/perf/commonresourceconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/commonresourceconfigs.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/perf/commonsysnodesconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/commonsysnodesconfigs.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/perf/perfboostsconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfboostsconfig.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/perf/perfconfigstore.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfconfigstore.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/perf/targetconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/targetconfig.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/perf/targetresourceconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/targetresourceconfigs.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml \ vendor/nothing/Spacewar/proprietary/vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \ vendor/nothing/Spacewar/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
vendor/nothing/Spacewar/proprietary/vendor/etc/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/qcril_database/qcrilNr.db:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/qcrilNr.db \ vendor/nothing/Spacewar/proprietary/vendor/etc/qcril_database/qcrilNr.db:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/qcrilNr.db \
vendor/nothing/Spacewar/proprietary/vendor/etc/qcril_database/upgrade/config/10.0_config.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/config/10.0_config.sql \ vendor/nothing/Spacewar/proprietary/vendor/etc/qcril_database/upgrade/config/10.0_config.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/config/10.0_config.sql \
vendor/nothing/Spacewar/proprietary/vendor/etc/qcril_database/upgrade/config/11.0_config.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/config/11.0_config.sql \ vendor/nothing/Spacewar/proprietary/vendor/etc/qcril_database/upgrade/config/11.0_config.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/config/11.0_config.sql \
@@ -420,6 +428,7 @@ PRODUCT_COPY_FILES += \
vendor/nothing/Spacewar/proprietary/vendor/etc/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ vendor/nothing/Spacewar/proprietary/vendor/etc/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
vendor/nothing/Spacewar/proprietary/vendor/etc/ssg/ta_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/ta_config.json \ vendor/nothing/Spacewar/proprietary/vendor/etc/ssg/ta_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/ta_config.json \
vendor/nothing/Spacewar/proprietary/vendor/etc/ssg/tz_whitelist.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/tz_whitelist.json \ vendor/nothing/Spacewar/proprietary/vendor/etc/ssg/tz_whitelist.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/tz_whitelist.json \
vendor/nothing/Spacewar/proprietary/vendor/etc/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \
vendor/nothing/Spacewar/proprietary/vendor/etc/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \ vendor/nothing/Spacewar/proprietary/vendor/etc/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \
vendor/nothing/Spacewar/proprietary/vendor/etc/thermal.benchmark.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal.benchmark.conf \ vendor/nothing/Spacewar/proprietary/vendor/etc/thermal.benchmark.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal.benchmark.conf \
vendor/nothing/Spacewar/proprietary/vendor/etc/thermal.high.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal.high.conf \ vendor/nothing/Spacewar/proprietary/vendor/etc/thermal.high.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal.high.conf \
@@ -593,6 +602,9 @@ PRODUCT_PACKAGES += \
libmpbase \ libmpbase \
libmulawdec \ libmulawdec \
libnetmgr \ libnetmgr \
libperfconfig \
libperfgluelayer \
libperfioctl \
libqc2vppfilter \ libqc2vppfilter \
libqcbor \ libqcbor \
libqcci_legacy \ libqcci_legacy \
@@ -617,6 +629,10 @@ PRODUCT_PACKAGES += \
libqmi_legacy \ libqmi_legacy \
libqmiservices \ libqmiservices \
libqrtr \ libqrtr \
libqti-perfd-client \
libqti-perfd \
libqti-util \
libqti-utils \
libqtikeymaster4 \ libqtikeymaster4 \
libscveCommon \ libscveCommon \
libscveCommon_stub \ libscveCommon_stub \
@@ -651,6 +667,8 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.vpp@1.3 \ vendor.qti.hardware.vpp@1.3 \
vendor.qti.hardware.vpp@2.0 \ vendor.qti.hardware.vpp@2.0 \
vendor.qti.hardware.wifidisplaysession@1.0_vendor \ vendor.qti.hardware.wifidisplaysession@1.0_vendor \
vendor.qti.memory.pasrmanager@1.0 \
vendor.qti.memory.pasrmanager@1.1 \
vendor.qti.qspmhal@1.0 \ vendor.qti.qspmhal@1.0 \
audio.primary.lahaina \ audio.primary.lahaina \
libFileMux_proprietary \ libFileMux_proprietary \
@@ -1251,6 +1269,7 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.alarm@1.0-service \ vendor.qti.hardware.alarm@1.0-service \
vendor.qti.hardware.capabilityconfigstore@1.0-service \ vendor.qti.hardware.capabilityconfigstore@1.0-service \
vendor.qti.hardware.limits@1.0-service \ vendor.qti.hardware.limits@1.0-service \
vendor.qti.hardware.perf@2.2-service \
vendor.qti.hardware.qseecom@1.0-service \ vendor.qti.hardware.qseecom@1.0-service \
vendor.qti.hardware.qteeconnector@1.0-service \ vendor.qti.hardware.qteeconnector@1.0-service \
vendor.qti.hardware.sensorscalibrate@1.0-service \ vendor.qti.hardware.sensorscalibrate@1.0-service \

Binary file not shown.

View File

@@ -0,0 +1,13 @@
# @file vendor.qti.hardware.perf@2.2-service.rc
# @brief Defination perf service
#
# DESCRIPTION
# ---------------------------------------------------------------------------
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# ---------------------------------------------------------------------------
service perf-hal-2-2 /vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
class hal
user root
group root readproc oem_2907

View File

@@ -0,0 +1,299 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- Supported XML tags with their fields.
* Major tag supports OpcodeValue.
* Minor tag supports OpcodeValue, Nodepath and Supported(Optional) fields.
* By default, all the resources are assumed as supported.
Supported field can be used to mark a resource as not supported.
* All the interactive nodes, ondemand nodes and some nodes of sched major
group which aren't being used are marked as Not supported by default and
can be enabled by using the target specific config files. -->
<!-- For resources which update multiple nodes or which require speical
acquire/release funcitons, need to mention the keyword SPECIAL_NODE
in their node path field and accordingly their ApplyOts and ResetOpts
functions need to be defined in the code.-->
<!-- For adding a new resource, a new minor tag with all mandatory fields
need to be added just before the end of it's major group. -->
<ResourceConfigs>
<PerfResources>
<!-- display off major start -->
<Major OpcodeValue="0x0" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - display_off" />
<!-- display off major end -->
<!-- power collapse major start -->
<Major OpcodeValue="0x1" />
<Minor OpcodeValue="0x0" Node="/dev/cpu_dma_latency" />
<Minor OpcodeValue="0x1" Node="/sys/module/lpm_levels/system/perf/perf-l2-pc/idle_enabled" />
<Minor OpcodeValue="0x2" Node="/sys/module/lpm_levels/parameters/bias_hyst" />
<Minor OpcodeValue="0x3" Node="/sys/module/lpm_levels/parameters/ref_stddev" />
<Minor OpcodeValue="0x4" Node="/sys/module/lpm_levels/parameters/tmr_add" />
<Minor OpcodeValue="0x5" Node="/sys/module/lpm_levels/parameters/lpm_ipi_prediction" Supported="no" />
<!-- power collapse major end -->
<!-- cpufreq major start -->
<Major OpcodeValue="0x2" />
<Minor OpcodeValue="0x0" Node="/sys/module/msm_performance/parameters/cpu_min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<!-- cpufreq major end -->
<!-- sched major start -->
<Major OpcodeValue="0x3" />
<!--Sysfsnode paths may change basing on the target for minors 0x1, 0x4, 0x5, 0x9.
So, for targets with different node paths than default, need to be specified
in the target specific resource config xml file. -->
<Minor OpcodeValue="0x0" Node="/proc/sys/kernel/sched_boost" />
<Minor OpcodeValue="0x1" Node="/proc/sys/kernel/sched_prefer_idle" Supported="no" />
<Minor OpcodeValue="0x2" Node="/proc/sys/kernel/sched_migration_cost_ns" />
<Minor OpcodeValue="0x3" Node="/proc/sys/kernel/sched_small_task" />
<Minor OpcodeValue="0x4" Node="/proc/sys/kernel/sched_mostly_idle_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/proc/sys/kernel/sched_mostly_idle_nr_run" Supported="no" />
<Minor OpcodeValue="0x6" Node="/proc/sys/kernel/sched_init_task_load" />
<Minor OpcodeValue="0x7" Node="/proc/sys/kernel/sched_upmigrate" />
<Minor OpcodeValue="0x8" Node="/proc/sys/kernel/sched_downmigrate" />
<Minor OpcodeValue="0x9" Node="/proc/sys/kernel/sched_mostly_idle_freq" Supported="no" />
<Minor OpcodeValue="0xA" Node="SPECIAL_NODE - sched_add_group" />
<Minor OpcodeValue="0xB" Node="/proc/sys/kernel/sched_spill_nr_run" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/sched_static_cpu_pwr_cost" />
<Minor OpcodeValue="0xD" Node="/proc/sys/kernel/sched_restrict_cluster_spill" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - sched_freq_add_group" />
<Minor OpcodeValue="0xF" Node="/dev/cpuset/top-app/cpus" />
<Minor OpcodeValue="0x10" Node="/dev/cpuset/foreground/cpus" />
<Minor OpcodeValue="0x11" Node="/dev/cpuset/system-background/cpus" />
<Minor OpcodeValue="0x12" Node="/dev/cpuset/background/cpus" />
<Minor OpcodeValue="0x13" Node="/proc/sys/kernel/sched_freq_aggregate" />
<Minor OpcodeValue="0x14" Node="/proc/sys/kernel/sched_enable_thread_grouping" />
<Minor OpcodeValue="0x15" Node="/proc/sys/kernel/sched_group_upmigrate" />
<Minor OpcodeValue="0x16" Node="/proc/sys/kernel/sched_group_downmigrate" />
<!-- sched_freq_aggr_threshold perflock will have contention with sched_boost level 3,
so disable this resource for the target which is going to use sched boost 3 level.-->
<Minor OpcodeValue="0x17" Node="/proc/sys/kernel/sched_freq_aggregate_threshold" />
<Minor OpcodeValue="0x18" Node="/dev/stune/top-app/schedtune.prefer_idle" />
<Minor OpcodeValue="0x19" Node="/proc/sys/kernel/sched_initial_task_util" />
<Minor OpcodeValue="0x1A" Node="/sys/devices/system/cpu/cpu0/sched_load_boost" />
<Minor OpcodeValue="0x1B" Node="/proc/sys/kernel/sched_little_cluster_coloc_fmin_khz" />
<Minor OpcodeValue="0x1C" Node="/dev/stune/top-app/schedtune.boost" />
<Minor OpcodeValue="0x1D" Node="/proc/sys/kernel/sched_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x1E" Node="/proc/sys/kernel/sched_min_task_util_for_colocation" />
<Minor OpcodeValue="0x1F" Node="/proc/sys/kernel/sched_min_task_util_for_boost" />
<Minor OpcodeValue="0x20" Node="/proc/%d/sched_boost" Supported="yes"/> <!-- sched_task_boost -->
<Minor OpcodeValue="0x21" Node="/proc/sys/kernel/sched_user_hint" /> <!--sched_user_hint -->
<Minor OpcodeValue="0x22" Node="/proc/sys/kernel/sched_task_unfilter_nr_windows" /> <!--sched_task_unfilter_nr_windows -->
<Minor OpcodeValue="0x23" Node="/proc/sys/kernel/sched_coloc_downmigrate_ns" /> <!--sched_coloc_downmigrate_ns -->
<Minor OpcodeValue="0x24" Node="/proc/sys/kernel/sched_coloc_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x25" Node="/proc/sys/kernel/sched_coloc_busy_hyst_ns" />
<Minor OpcodeValue="0x26" Node="/proc/sys/kernel/sched_window_stats_policy" />
<Minor OpcodeValue="0x27" Node="/proc/sys/kernel/sched_many_wakeup_threshold" />
<Minor OpcodeValue="0x28" Node="/proc/sys/kernel/sched_sync_hint_enable" />
<Minor OpcodeValue="0x29" Node="/proc/sys/kernel/sched_ravg_window_nr_ticks" />
<Minor OpcodeValue="0x2A" Node="/proc/sys/kernel/sched_prefer_spread" />
<Minor OpcodeValue="0x2B" Node="/dev/cpuctl/top-app/cpu.uclamp.min" />
<Minor OpcodeValue="0x2C" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- enable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2D" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- disable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2E" Node="/proc/sys/walt/sched_task_unfilter_period" />
<Minor OpcodeValue="0x2F" Node="/proc/sys/walt/sched_conservative_pl" />
<Minor OpcodeValue="0x30" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_busy_pct" />
<Minor OpcodeValue="0x31" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_ns" />
<Minor OpcodeValue="0x32" Node="/proc/sys/kernel/walt_rtg_cfs_boost_prio" />
<Minor OpcodeValue="0x33" Node="/proc/sys/kernel/sched_force_lb_enable" Supported="yes" />
<Minor OpcodeValue="0x34" Node="/proc/%d/sched_low_latency" Supported="yes" />
<Minor OpcodeValue="0x35" Node="/proc/sys/kernel/sched_min_granularity_ns" />
<Minor OpcodeValue="0x36" Node="/proc/sys/kernel/walt_low_latency_task_threshold" />
<Minor OpcodeValue="0x37" Node="/dev/stune/foreground/schedtune.prefer_idle" />
<Minor OpcodeValue="0x38" Node="/proc/sys/kernel/%s" Supported="no"/>
<Minor OpcodeValue="0x39" Node="/dev/stune/top-app/schedtune.colocate" Supported="no" />
<Minor OpcodeValue="0x3A" Node="/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3B" Node="/dev/cpuctl/foreground/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3D" Node="/proc/sys/kernel/%s" Supported="no"/>
<!-- sched major end -->
<!-- core hotplug major start -->
<Major OpcodeValue="0x4" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - lock_min_cores" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - lock_max_cores" />
<!-- core hotplug major end-->
<!-- interactive major start -->
<Major OpcodeValue="0x5" />
<!-- For following minors node paths might change basing on GovInstanceType and
Supported field might change basing on the type of CpufreqGov.-->
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boost" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x7" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time" Supported="no" />
<Minor OpcodeValue="0x8" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads" Supported="no" />
<Minor OpcodeValue="0x9" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate" Supported="no" />
<Minor OpcodeValue="0xA" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack" Supported="no" />
<Minor OpcodeValue="0xB" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis" Supported="no" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load" Supported="no" />
<Minor OpcodeValue="0xD" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif" Supported="no" />
<Minor OpcodeValue="0xE" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif" Supported="no" />
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_load" />
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/pl" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us" />
<Minor OpcodeValue="0x13" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/rtg_boost_freq" />
<!-- interactive major end -->
<!-- cpubw hwmon major start -->
<Major OpcodeValue="0x6" />
<!-- ALl the following minors might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpubw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x3" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpubw/polling_interval" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/idle_mbps" />
<!--Here onwards are the path for new opcodes to mark CPU_LLCC_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/min_freq" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/use_ab" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/polling_interval" />
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/min_freq" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/max_freq" />
<!-- cpubw hwmon major end -->
<!-- video major start -->
<Major OpcodeValue="0x7" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - handle_vid_encplay_hint" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - handle_vid_decplay_hint" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - handle_disp_hint" />
<!-- video major end -->
<!-- ksm major start -->
<Major OpcodeValue="0x8" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - disable_ksm" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - set_ksm_param" />
<!-- ksm major end -->
<!-- ondemand major start -->
<Major OpcodeValue="0x9" />
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_rate" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpufreq/ondemand/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpufreq/ondemand/sync_freq" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpufreq/ondemand/optimal_freq" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpufreq/ondemand/enable_stepup" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpufreq/ondemand/max_intermediate_steps" Supported="no" />
<Minor OpcodeValue="0x7" Node="/dev/cpuctl/cpu.notify_on_migrate" Supported="no" />
<!-- ondemand major end -->
<!-- gpu major start -->
<Major OpcodeValue="0xA" />
<Minor OpcodeValue="0x0" Node="/sys/class/kgsl/kgsl-3d0/default_pwrlevel" />
<Minor OpcodeValue="0x1" Node="/sys/class/kgsl/kgsl-3d0/min_pwrlevel" />
<Minor OpcodeValue="0x2" Node="/sys/class/kgsl/kgsl-3d0/max_pwrlevel" />
<Minor OpcodeValue="0x3" Node="/sys/class/kgsl/kgsl-3d0/devfreq/min_freq" />
<Minor OpcodeValue="0x4" Node="/sys/class/kgsl/kgsl-3d0/devfreq/max_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,gpubw/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,gpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - gpu_disable_gpu_nap" />
<Minor OpcodeValue="0x8" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0x9" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0xA" Node="/sys/class/kgsl/kgsl-3d0/devfreq/mod_percent" />
<!-- gpu major end -->
<!-- misc major start -->
<Major OpcodeValue="0xB" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - unsupported" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - irq_balancer" />
<Minor OpcodeValue="0x2" Node="/sys/module/cpu_boost/parameters/input_boost_freq" />
<Minor OpcodeValue="0x3" Node="/proc/sys/vm/swap_ratio" />
<Minor OpcodeValue="0x4" Node="StorageNode_path_is_figured_out_based_on_the_target_device" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - dummy_or_keep_alive" />
<Minor OpcodeValue="0x6" Node="/sys/module/process_reclaim/parameters/enable_process_reclaim" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - disable_pasr" />
<!-- misc major end -->
<!-- llcbw hwmon major start -->
<Major OpcodeValue="0xC" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,llccbw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/sample_ms" />
<!--Here onwards are the path for new opcodes to mark LLCC_DDR_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/min_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x9" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/polling_interval" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/idle_mbps" />
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/min_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/max_freq" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/use_ab" />
<!-- llcbw hwmon major end -->
<!-- memlat major start -->
<Major OpcodeValue="0xD" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,l3-cpu%d/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/stall_floor" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/stall_floor" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/min_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/min_freq" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/min_freq" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/18321000.qcom,devfreq-l3:qcom,cpu%d-cpu-l3-lat/max_freq" />
<Minor OpcodeValue="0x12" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/min_freq" />
<Minor OpcodeValue="0x13" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/max_freq" />
<Minor OpcodeValue="0x14" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/max_freq" />
<Minor OpcodeValue="0x15" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/max_freq" />
<Minor OpcodeValue="0x16" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:prime/min_freq" />
<Minor OpcodeValue="0x17" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:silver/min_freq" />
<Minor OpcodeValue="0x18" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:silver/min_freq" />
<!-- memlat major end -->
<!-- npu major start -->
<Major OpcodeValue="0xE" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - npu_llcbw_hwmon_hyst_opt" />
<!--Here onwards are the path for new opcodes to mark NPU_LLCC_DDR_BW nodes.-->
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - npu_ddr_llcbw_hwmon_hyst_opt" />
<!-- npu major end -->
</PerfResources>
</ResourceConfigs>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2021 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Node="/sys/module/msm_performance/parameters/num_clusters" />
<SysNode Idx="0x1" Node="/sys/module/msm_performance/parameters/managed_cpus" />
<SysNode Idx="0x2" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<SysNode Idx="0x3" Node="/sys/module/msm_performance/events/cpu_hotplug" />
<SysNode Idx="0x4" Node="/sys/module/msm_performance/parameters/max_cpus" />
<SysNode Idx="0x5" Node="/sys/module/msm_performance/parameters/inst" />
<SysNode Idx="0x6" Node="/sys/module/msm_performance/parameters/splh_notif" />
<SysNode Idx="0x7" Node="/sys/module/msm_performance/notify/gfx_evt" />
<SysNode Idx="0x8" Node="/sys/module/msm_performance/parameters/evnt_gplaf_pid" />
</PerfResources>
</ResourceConfigs>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is PerfConfigsStore file which returns the value when a
particular property name is invoked -->
<!-- This file supports only Prop tag, which has the following fields
* Name, to identify the name of the property. The names of the
properties have been classified into Vendor and System property.
* Value, the new value to be returned as string when respective
property Name is called. -->
<!--__________________________________Example format_______________________________________________
<Prop Name="vendor.debug.enable.lm" Value="true" Target="lagoon" Variant="lito" Resolution="1080p"
Ram="3" Kernel="4.19"/>
Target: target code name (decided based on soc id, doesn't depend on lunch combo name)
ex: lito, lagoon, kona, etc
Variant: For Variants of Target go/32bit/64bit/nongo, examples below
Variant=bengal_32go -> bengal 32 bit go target
Variant=bengal_32 -> bengal 32 bit target
Variant=bengal -> bengal 64 bit target
Resolution="1080p", "2560", "720p", "HD+"
Kernel: kernel version, examples: "4.19", "5.4", etc
Ram: ram size in GB, examples: "1","2","3","4","6","8","10","12" (12 for target with >= 12GB of RAM as well)
_______________________________________________________________________________________________ -->
<PerfConfigsStore>
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="vendor.debug.enable.lm" Value="true" />
<Prop Name="vendor.perf.iop_v3.enable" Value="true" Target="lahaina" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.iop.enable_speed" Value="true" />
<Prop Name="vendor.perf.fps_switch_hyst_time_secs" Value="10" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" Target="shima" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" Target="yupik" />
<Prop Name="vendor.perf.pfar.enable" Value="1" Target="shima" />
<Prop Name="vendor.perf.fps_switch.enable" Value="1" Target="shima" />
<Prop Name="ro.vendor.perf.gfl.tap_ignore_enable" Value="true" Target="shima" />
<Prop Name="ro.vendor.perf.wlc.heavygame" Value="true" Target="shima" />
<Prop Name="ro.vendor.perf.splh" Value="sw" Target="shima" />
<Prop Name="ro.vendor.perf.gplaf" Value="true" Target="shima" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" Target="yupik" />
<Prop Name="vendor.perf.pfar.enable" Value="1" Target="yupik" />
<Prop Name="vendor.perf.fps_switch.enable" Value="1" Target="yupik" />
<Prop Name="ro.vendor.perf.gfl.tap_ignore_enable" Value="true" Target="yupik" />
<Prop Name="ro.vendor.perf.wlc.heavygame" Value="false" Target="yupik" />
<Prop Name="ro.vendor.perf.splh" Value="hw" Target="yupik" />
<Prop Name="ro.vendor.perf.gplaf" Value="true" Target="yupik" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" Target="katmai" />
<Prop Name="ro.vendor.perf.enable.prekill" Value="false" Target="lahaina" />
<Prop Name="ro.vendor.perf.splh" Value="none" Target="lahaina" />
<Prop Name="ro.vendor.perf.gplaf" Value="false" Target="lahaina" />
<!--System Properties -->
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="true" />
<Prop Name="ro.lmk.kill_timeout_ms_dup" Value="100" />
<Prop Name="ro.lmk.thrashing_threshold" Value="30" />
<Prop Name="ro.lmk.thrashing_decay" Value="5" />
<Prop Name="ro.lmk.nstrat_low_swap" Value="10" />
<Prop Name="ro.lmk.nstrat_psi_partial_ms" Value="70" />
<Prop Name="ro.lmk.nstrat_psi_complete_ms" Value="70" />
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="250" />
<Prop Name="ro.lmk.nstrat_wmark_boost_factor" Value="4" />
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="96" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" Target="katmai" />
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="vendor.perf.performancemode.support" Value="true" Target="lahaina" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="vendor.appcompact.enable_app_compact" Value="true" />
<Prop Name="vendor.appcompact.full_compact_type" Value="2" />
<Prop Name="vendor.appcompact.some_compact_type" Value="4" />
<Prop Name="vendor.appcompact.compact_throttle_somesome" Value="5000" />
<Prop Name="vendor.appcompact.compact_throttle_somefull" Value="10000" />
<Prop Name="vendor.appcompact.compact_throttle_fullsome" Value="500" />
<Prop Name="vendor.appcompact.compact_throttle_fullfull" Value="10000" />
<Prop Name="vendor.appcompact.compact_throttle_bfgs" Value="600000" />
<Prop Name="vendor.appcompact.compact_throttle_persistent" Value="600000" />
<Prop Name="vendor.appcompact.rss_throttle_kb" Value="12000" />
<Prop Name="vendor.appcompact.delta_rss_throttle_kb" Value="8000" />
<Prop Name="vendor.perf.topAppRenderThreadBoost.enable" Value="false" Target="lahaina" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" Target="katmai" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Target="shima" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Target="yupik" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Target="katmai" />
<Prop Name="ro.vendor.iocgrp.config" Value="1" Target="shima" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" Target="yupik" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Target="yupik" />
<Prop Name="ro.vendor.iocgrp.config" Value="1" Target="yupik" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" Target="katmai" />
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" Target="katmai" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Target="katmai" />
<Prop Name="ro.vendor.iocgrp.config" Value="1" Target="katmai" />
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
<Prop Name="vendor.perf.phr.enable" Value="1" Target="lahaina"/>
<Prop Name="vendor.perf.phr.hr_min_rate" Value="0.5" Target="lahaina"/>
<Prop Name="vendor.perf.pfar2.enable" Value="1" Target="lahaina"/>
<Prop Name="vendor.perf.pfar2.boost_level" Value="1" Target="lahaina"/>
<Prop Name="vendor.perf.pfar2.disable_pl" Value="1" Target="lahaina"/>
<Prop Name="vendor.perf.pfar2.disable_core_ctl" Value="1" Target="lahaina"/>
<Prop Name="vendor.perf.phr.enable" Value="1" Target="shima"/>
<Prop Name="vendor.perf.phr.hr_min_rate" Value="0.5" Target="shima"/>
<Prop Name="vendor.perf.pfar2.enable" Value="1" Target="shima"/>
<Prop Name="vendor.perf.pfar2.boost_level" Value="1" Target="shima"/>
<Prop Name="vendor.perf.pfar2.disable_pl" Value="1" Target="shima"/>
<Prop Name="vendor.perf.pfar2.disable_core_ctl" Value="1" Target="shima"/>
<Prop Name="vendor.perf.phr.enable" Value="1" Target="yupik"/>
<Prop Name="vendor.perf.phr.hr_min_rate" Value="0.5" Target="yupik"/>
<Prop Name="vendor.perf.pfar2.enable" Value="1" Target="yupik"/>
<Prop Name="vendor.perf.pfar2.boost_level" Value="1" Target="yupik"/>
<Prop Name="vendor.perf.pfar2.disable_pl" Value="1" Target="yupik"/>
<Prop Name="vendor.perf.pfar2.disable_core_ctl" Value="1" Target="yupik"/>
</PerfConfigs>
</PerfConfigsStore>

View File

@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017-2020 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<TargetConfig>
<!-- All the target related information goes in TargetInfo tag.
Following are the supported fields for TargetInfo tag.
Mandatory Fields
* NumClusters, number of clusters
* TotalNumCores, total number of cores
* SocIds, a comma seperated list of supported socids for this target.
Other Fields
* Target, target name.
* SynCore, default value is "1" implies sync core and change to "0" for async core.
* CoreCtlCpu, core_ctl is enabled on which physical core, defalut value is "-1".
* MinCoreOnline, minimum number of cores needed to be online, default value is "0"
* GovInstanceType, default value "0" which implies "CLUSTER_BASED_GOV_INSTANCE",
can be changed to "1" for "SINGLE_GOV_INSTANCE".
* CpufreqGov, default value is "0" which implies "INTERACTIVE", can be changed it
to "1" for "SCHEDUTIL".
-->
<!-- For each cluster,write a seperate ClustersInfo tag.
Following are the supported fields for ClustersInfo tag.
Mandatory Fields
* Id, cluster number starts with index 0.
* NumCores, total number of cores for that cluster.
Other Fields
* Type, whther a "little" or "big" cluster.
(Type is mandatory, If there is more than one cluster.)
* MaxFrequency, Any limitations for max frequency for that cluster.
-->
<!-- For targets sharing the same platfrom, we can have seperate config tag for each
of those targets with different number in the Config tag and basing on the socId
of the target device, we decide which configs to consider. -->
<Config1>
<TargetInfo
Target="lahaina"
NumClusters="3"
TotalNumCores="8"
SocIds="415,439,456,501,502"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="3" Type="big" />
<ClustersInfo Id="2" NumCores="1" Type="prime" />
</Config1>
<Config2>
<TargetInfo
Target="shima"
NumClusters="3"
TotalNumCores="8"
SocIds="450"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1"
MinFpsForTuning="60" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="3" Type="big" />
<ClustersInfo Id="2" NumCores="1" Type="prime" />
</Config2>
<Config3>
<TargetInfo
Target="yupik"
NumClusters="3"
TotalNumCores="8"
SocIds="475,497,498,499,515"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1"
MinFpsForTuning="60" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="3" Type="big" />
<ClustersInfo Id="2" NumCores="1" Type="prime" />
</Config3>
<Config4>
<TargetInfo
Target="katmai"
NumClusters="2"
TotalNumCores="8"
SocIds="575,576"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1"
MinFpsForTuning="60" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" />
</Config4>
</TargetConfig>

View File

@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017-2020 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is a target specific resource config file which can be
used to overwrite the node paths mentioned in common resources file
and also to modify the Supported field information. -->
<!-- This file supports only Config tag, which has the following fields
* MajorValue and MinorValue, both are required to uniquely
identify the resource.
* Node, the new node path to overwrite the already existing path
of commonresourceconfigs.xml file.
* Supported, to indicate whether the resource is supported or not.
* For each config tag, either of Node or Supported fields need
to be mentioned.
NOTE - It is not Mandatory to write all the resources which are not supported,
as anyway perflock calls of these resources would fail. -->
<ResourceConfigs>
<PerfResources>
<Config MajorValue="0x1" MinorValue="0x1" Supported="no" /> <!-- toggle_l2_pc_perf -->
<Config MajorValue="0x1" MinorValue="0x2" Node="/proc/sys/kernel/sched_busy_hyst_ns" />
<Config MajorValue="0x1" MinorValue="0x3" Supported="no" Target="shima" /> <!-- lpm_ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" Target="shima" /> <!-- lpm_tmr_add -->
<Config MajorValue="0x1" MinorValue="0x3" Supported="no" Target="yupik" /> <!-- lpm_ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" Target="yupik" /> <!-- lpm_tmr_add -->
<Config MajorValue="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task -->
<Config MajorValue="0x3" MinorValue="0x6" Supported="no" /> <!-- sched_init_task_load -->
<Config MajorValue="0x3" MinorValue="0xB" Supported="no" /> <!-- sched_spill_nr_run -->
<Config MajorValue="0x3" MinorValue="0xC" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
<Config MajorValue="0x3" MinorValue="0xD" Supported="no" /> <!-- sched_restrict_cluster_spill -->
<Config MajorValue="0x3" MinorValue="0x13" Supported="no" /> <!-- sched_set_freq_aggr -->
<Config MajorValue="0x3" MinorValue="0x14" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" Target="shima" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" Target="yupik" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x37" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x39" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" Target="lahaina" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" Target="lahaina" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" Target="yupik" />
<Config MajorValue="0xB" MinorValue="0x2" Node="/sys/devices/system/cpu/cpu_boost/input_boost_freq" />
<Config MajorValue="0xB" MinorValue="0x6" Supported="no" Target="lahaina" /><!-- disable_ppr -->
<!-- llcbw L3 and DDR major end -->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0xD" MinorValue="0x0" Node="/sys/class/devfreq/18590100.qcom,cpu%d-cpu-l3-lat/min_freq" />
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/class/devfreq/18590100.qcom,cpu0-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/class/devfreq/18590100.qcom,cpu4-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/class/devfreq/18590100.qcom,cpu0-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/class/devfreq/18590100.qcom,cpu4-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/class/devfreq/18590100.qcom,cpu%d-cpu-l3-lat/max_freq" />
<Config MajorValue="0xD" MinorValue="0x0" Node="/sys/devices/system/cpu/memlat/c%d_memlat/cpu%d-cpu-l3-lat/min_freq" Target="yupik"/>
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/devices/system/cpu/memlat/c0_memlat/cpu0-cpu-l3-lat/ratio_ceil" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/devices/system/cpu/memlat/c4_memlat/cpu4-cpu-l3-lat/ratio_ceil" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/devices/system/cpu/memlat/c0_memlat/cpu0-cpu-l3-lat/stall_floor" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/devices/system/cpu/memlat/c4_memlat/cpu4-cpu-l3-lat/stall_floor" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/devices/system/cpu/memlat/c%d_memlat/cpu%d-cpu-l3-lat/max_freq" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" Target="shima" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" Target="shima" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" Target="yupik" />
</PerfResources>
</ResourceConfigs>

968
proprietary/vendor/etc/powerhint.xml vendored Normal file
View File

@@ -0,0 +1,968 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
/*Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* Changes from Qualcomm Innovation Center are provided under the following license:
*
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the
* disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
* GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
* HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-->
<HintConfigs>
<Powerhint>
<!--video encode 30 fps-->
<Config
Id="0x00001203" Enable="true" Target="lahaina"
Resources="" />
<!--video decode 240fps-->
<Config
Id="0x00001501" Enable="true" Target="lahaina" Timeout="0"
Resources="0x43010000, 59" />
<!--sustained performance-->
<Config
Id="0x00001206" Enable="true" Target="lahaina"
Resources=""/>
<!--vr mode-->
<Config
Id="0x00001207" Enable="true" Target="lahaina"
Resources=""/>
<!--vr mode sustained performance-->
<Config
Id="0x00001301" Enable="true" Target="lahaina"
Resources=""/>
<!-- qvr level cpu1 gpu1 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x0000130A" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu1 gpu2 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x0000130B" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu1 gpu3 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x0000130C" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu2 gpu1 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x0000130D" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu2 gpu2 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x0000130E" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu2 gpu3 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x0000130F" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu3 gpu1 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x00001310" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu3 gpu2 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x00001311" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!-- qvr level cpu3 gpu3 -->
<!-- B CPU - Cluster min freq ~.902 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~. 595 Ghz -->
<!-- L CPU - Cluster max freq ~1.286 Ghz -->
<!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
<!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
<!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
<!-- Min Big CPUs 3 -->
<!-- Min Prime CPUs 1 -->
<!-- Indefinite Duration -->
<Config
Id="0x00001312" Enable="true" Target="lahaina" Timeout="0"
Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
<!--camera ZSLPreview-->
<!--CPU-LLC BWMON - Set sample_ms 33-->
<!--CPU-LLC BWMON - Set io_percent 100 -->
<!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
<!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
<!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
<!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
<!--L CPU - Disable schedutil PL -->
<!--L CPU - Set hispeed load 99 -->
<!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001330" Enable="true" Timeout="0" Target="lahaina"
Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
<!--camera 30fps-->
<!--CPU-LLC BWMON - Set sample_ms 33 -->
<!--CPU-LLC BWMON - Set io_percent 100 -->
<!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
<!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
<!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
<!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
<!--L CPU min freq 998400 -->
<!--L CPU - Disable schedutil PL -->
<!--L CPU - Set hispeed load 99 -->
<!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="lahaina"
Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
<!--camera 60fps-->
<!--CPU-LLC BWMON - Set sample_ms 16 -->
<!--CPU-LLC BWMON - Set io_percent 100 -->
<!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
<!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
<!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
<!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
<!--L CPU min freq 1209600 -->
<!--L CPU - Disable schedutil PL -->
<!--L CPU - Set hispeed load 99 -->
<!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="lahaina"
Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
<!--camera 8k30-->
<!--CPU-LLC BWMON - Set sample_ms 33 -->
<!--CPU-LLC BWMON - Set io_percent 100 -->
<!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
<!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
<!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
<!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
<!--L CPU min freq 1209600 -->
<!--L CPU - Disable schedutil PL -->
<!--L CPU - Set hispeed load 99 -->
<!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001335" Enable="true" Timeout="0" Target="lahaina"
Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
<!--video encode HFR 480 fps-->
<!--MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1-->
<!--MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, CPU_SILVER_LEVEL_15 (1036800 kHz)-->
<!--MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, CPU_GOLD_LEVEL_12 (1228800 kHz)-->
<!--MPCTLV3_SCHED_DOWNMIGRATE, 0x14-->
<!--MPCTLV3_SCHED_UPMIGRATE, 0x1E-->
<!--CPU-LLC BWMON - Set sample_ms 10 -->
<!--CPU-LLC BWMON - Set io_percent 80 -->
<!--CPU-LLC BWMON - Set hyst_length hyst_trigger hist memory 0 -->
<Config
Id="0x00001334" Enable="true" Timeout="0" Target="lahaina"
Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14, 0x40C1C000, 0x1E, 0x4183C000, 0x0A, 0x41834000, 0x50, 0x41838000, 0"/>
<!--camera 30FPS SHDR-->
<!--CPU-LLC BWMON - Set sample_ms 33 -->
<!--CPU-LLC BWMON - Set io_percent 100 -->
<!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
<!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
<!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
<!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
<!--L CPU min freq 998400 -->
<!--L CPU - Disable schedutil PL -->
<!--L CPU - Set hispeed load 99 -->
<!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001337" Enable="true" Timeout="0" Target="lahaina"
Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
<!--camera preview -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 940Mhz -->
<!--L CPU - Set hispeed load 95 -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample_ms 20 -->
<Config
Id="0x00001330" Enable="true" Timeout="0" Target="shima"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000, 0x14"/>
<!-- camera 30fps encode -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 940Mhz -->
<!--L CPU - Set hispeed load 95 -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample_ms 20 -->
<!--L CPU Min Freq 940, Max Freq 1804 -->
<!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_migrate 45 -->
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="shima"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000, 0x14,
0x40800100, 940, 0x40804100, 1804, 0x40C58000, 40, 0x40C54000, 45, 0x40C20000, 40, 0x40C1C000, 45"/>
<!-- camera 60 FPS -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample ms 20 -->
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="shima"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14"/>
<!-- camera HFR -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample ms 20 -->
<!--CPU CORE 0 Min freq to 1.075Ghz -->
<!--CPU CORE 4 Min Freq 940Mhz -->
<!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_migrate 35 -->
<Config
Id="0x00001333" Enable="true" Timeout="0" Target="shima"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x433, 0x40800000, 940, 0x40C58000, 30, 0x40C54000, 35, 0x40C20000, 30, 0x40C1C000, 35"/>
<!-- HFR 480fps -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample ms 20 -->
<!--CPU CORE 0 Min freq to 1.075Ghz -->
<!--CPU CORE 4 Min Freq 940Mhz -->
<!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_migrate 35 -->
<Config
Id="0x00001334" Enable="true" Timeout="0" Target="shima"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x433, 0x40800000, 940, 0x40C58000, 30, 0x40C54000, 35, 0x40C20000, 30, 0x40C1C000, 35"/>
<!-- same settings for all the qvr power levels intentionally -->
<!-- qvr level cpu1 gpu1 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130A" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu1 gpu2 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130B" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu1 gpu3 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130C" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu1 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130D" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu2 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130E" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu3 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130F" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu1 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001310" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu2 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~.2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001311" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu3 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
<!-- B CPU - Cluster min freq ~.652 Ghz -->
<!-- B CPU - Cluster max freq ~2.092 Ghz -->
<!-- L CPU - Cluster min freq ~.614 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001312" Enable="true" Target="shima" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- sustained performance -->
<!-- Prime CPU - Cluster min freq uncapped -->
<!-- B CPU - Cluster min freq uncapped -->
<!-- L CPU - Cluster min freq uncapped -->
<!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
<!-- B CPU - Cluster max freq ~1.152 GHz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min freq 275Mhz -->
<!-- GPU - max freq 400Mhz -->
<!-- GPUBW freq uncapped -->
<Config
Id="0x00001206" Enable="true" Timeout="0" Target="shima"
Resources="0x40800200, 0x0, 0x40800000, 0x0, 0x40800100, 0x0, 0x40804200, 0x446,
0x40804000, 0x480, 0x40804100, 0x433, 0X4280C000, 0x113, 0X42810000, 0x190,
0x42814000, 0x0"/>
<!-- vr mode -->
<!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
<!-- B CPU - Cluster min freq ~1.152 Ghz -->
<!-- L CPU - Cluster min freq ~0.864 Ghz -->
<!-- Prime CPU - Cluster max freq ~2.188 Ghz -->
<!-- B CPU - Cluster max freq ~1.90 Ghz -->
<!-- L CPU - Cluster max freq ~1.651 Ghz -->
<!-- GPU - min freq 275Mhz -->
<!-- GPU - max freq 625Mhz -->
<!-- GPUBW uncapped -->
<Config
Id="0x00001207" Enable="true" Timeout="0" Target="shima"
Resources="0x40800200, 0x446, 0x40800000, 0x480, 0x40800100, 0x360, 0x40804200, 0x88C,
0x40804000, 0x76C, 0x40804100, 0x673, 0X4280C000, 0x113, 0X4280C000, 0x271,
0x42814000, 0x0"/>
<!-- vr mode sustained performance -->
<!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
<!-- B CPU - Cluster min freq ~1.152 Ghz -->
<!-- L CPU - Cluster min freq ~1.075 Ghz -->
<!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
<!-- B CPU - Cluster max freq ~1.152 Ghz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min freq 400Mhz -->
<!-- GPU - max freq 400Mhz -->
<!-- GPUBW uncapped -->
<Config
Id="0x00001301" Enable="true" Timeout="0" Target="shima"
Resources="0x40800200, 0x446, 0x40800000, 0x480, 0x40800100, 0x433, 0x40804200, 0x446,
0x40804000, 0x480, 0x40804100, 0x433, 0X4280C000, 0x190, 0X42810000, 0x190,
0x42814000, 0x0"/>
<!--camera preview -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 940Mhz -->
<!--L CPU - Set hispeed load 95 -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample_ms 20 -->
<!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
<!--Set uclamp latency sensitivity to 1 -->
<Config
Id="0x00001330" Enable="true" Timeout="0" Target="yupik"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000,
0x14, 0x40C58000, 40, 0x40C54000, 45, 0x40C20000, 40, 0x40C1C000, 45, 0x40CEC000, 0x1"/>
<!-- camera 30fps encode -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 940Mhz -->
<!--L CPU - Set hispeed load 95 -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample_ms 20 -->
<!--L CPU Min Freq 940, Max Freq 1804 -->
<!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
<!--Set uclamp latency sensitivity to 1 -->
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="yupik"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000,
0x14, 0x40800100, 940, 0x40804100, 1804, 0x40C58000, 40, 0x40C54000, 45, 0x40C20000, 40,
0x40C1C000, 45, 0x40CEC000, 0x1"/>
<!-- camera 60 FPS -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample ms 20 -->
<!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_upmigrate 35 -->
<!--Set uclamp latency sensitivity to 1 -->
<!--<Config-->
<!-- Id="0x00001332" Enable="true" Timeout="0" Target="yupik"-->
<!-- Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,-->
<!-- 0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40C58000, 30, 0x40C54000, 35,-->
<!-- 0x40C20000, 30, 0x40C1C000, 35, 0x40CEC000, 0x1"/>-->
<!-- new camera 60fps config by frank.li -->
<!-- CPU-CPU-LLCC-BWhwmon - Set sample_ms 16 -->
<!-- CPU-CPU-LLCC-BWHWMON - Set IO Percent 100 -->
<!-- CPU-CPU-LLCC-BWHWMON - hyst_length, hist_memory 0 -->
<!-- CPU-LLCC-DDR-BWHWMON - Set sample_ms 16 -->
<!-- CPU-LLCC-DDR-BWHWMON - Set io percent 80 -->
<!-- CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
<!--L CPU - Disable schedutil PL -->
<!-- L CPU min freq 1324800 -->
<!-- Big CPU min freq 940000 -->
<!--L CPU - Set hispeed load 99 -->
<!--Sched downmigrate 25, Upmigrate 30 -->
<!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="yupik"
Resources="0x4183C000, 0x10, 0x41834000, 0x64,0x41838000, 0, 0x43034000, 0x10, 0x43020000, 0x50,
0x43024000, 0, 0x41444100, 0,0x40800100, 1324, 0x40800000, 940, 0x41440100, 0x63, 0x40C20000, 25,
0x40C1C000, 30, 0x43420000, 0xC8, 0x43434000, 0xC8" />
<!-- camera HFR -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample ms 20 -->
<!--CPU CORE 0 Min freq to 1.152Ghz -->
<!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_upmigrate 35 -->
<!--Set uclamp latency sensitivity to 1 -->
<Config
Id="0x00001333" Enable="true" Timeout="0" Target="yupik"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x480, 0x40C58000, 30,
0x40C54000, 35, 0x40C20000, 30, 0x40C1C000, 35, 0x40CEC000, 0x1"/>
<!-- HFR 480fps -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample ms 20 -->
<!--CPU CORE 0 Min freq to 1.152Ghz -->
<!--Set uclamp latency sensitivity to 1 -->
<Config
Id="0x00001334" Enable="true" Timeout="0" Target="yupik"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x480, 0x40CEC000, 0x1"/>
<!-- multi camera 30fps-->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 940Mhz -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample_ms 20 -->
<!--L CPU Min Freq 940, Max Freq 1804 -->
<!--Set uclamp latency sensitivity to 1 -->
<Config
Id="0x00001336" Enable="true" Timeout="0" Target="yupik"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x4183C000, 0x14, 0x43034000, 0x14,
0x40800100, 940, 0x40804100, 1804, 0x40CEC000, 0x1"/>
<!-- camera 30FPS SHDR -->
<!--L CPU CORE 0 SCHED LOAD BOOST -->
<!--L CPU CORE 1 SCHED LOAD BOOST -->
<!--L CPU CORE 2 SCHED LOAD BOOST -->
<!--L CPU CORE 3 SCHED LOAD BOOST -->
<!--L CPU Hispeed freq of 940Mhz -->
<!--L CPU - Set hispeed load 95 -->
<!--CPU-LLCC BWMON - Set sample_ms 20 -->
<!--LLCC-DDR BWMON - Set sample_ms 20 -->
<!--L CPU Min Freq 1324, Max Freq 1804 -->
<!--Sched downmigrate/downmigrate_prime 10/80, Upmigrate/upmigrate_prime 20/85 -->
<!--Sched_Prefer_spread 2 -->
<Config
Id="0x00001337" Enable="true" Timeout="0" Target="yupik"
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000,
0x14, 0x40800100, 1324, 0x40804100, 1804, 0x40C20000, 10, 0x40C20200, 80, 0x40C1C000, 20
0x40C1C200, 85, 0x40CA8000, 0x2"/>
<!-- same settings for all the qvr power levels intentionally -->
<!-- qvr level cpu1 gpu1 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130A" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu1 gpu2 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130B" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu1 gpu3 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130C" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu1 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130D" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu2 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130E" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu2 gpu3 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x0000130F" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu1 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001310" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu2 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001311" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- qvr level cpu3 gpu3 -->
<!-- Prime CPU - Cluster min freq ~.806 Ghz -->
<!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
<!-- B CPU - Cluster min freq ~.691 Ghz -->
<!-- B CPU - Cluster max freq ~.2.131 Ghz -->
<!-- L CPU - Cluster min freq ~.691 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
<!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
<!-- Min Big CPUs 2 -->
<!-- Idefinite Duration -->
<Config
Id="0x00001312" Enable="true" Target="yupik" Timeout="0"
Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
<!-- sustained performance -->
<!-- Prime CPU - Cluster min freq uncapped -->
<!-- B CPU - Cluster min freq uncapped -->
<!-- L CPU - Cluster min freq uncapped -->
<!-- Prime CPU - Cluster max freq ~1.056 Ghz -->
<!-- B CPU - Cluster max freq ~1.324 GHz -->
<!-- L CPU - Cluster max freq ~1.075 Ghz -->
<!-- GPU - min freq 315Mhz -->
<!-- GPU - max freq 450Mhz -->
<!-- GPUBW freq uncapped -->
<Config
Id="0x00001206" Enable="true" Timeout="0" Target="yupik"
Resources="0x40800200, 0x0, 0x40800000, 0x0, 0x40800100, 0x0, 0x40804200, 0x420,
0x40804000, 0x52C, 0x40804100, 0x433, 0X4280C000, 0x13B, 0X42810000, 0x1C2,
0x42814000, 0x0"/>
<!-- vr mode -->
<!-- Prime CPU - Cluster min freq ~1.056 Ghz -->
<!-- B CPU - Cluster min freq ~1.228 Ghz -->
<!-- L CPU - Cluster min freq ~0.940 Ghz -->
<!-- Prime CPU - Cluster max freq ~2.208 Ghz -->
<!-- B CPU - Cluster max freq ~1.90 Ghz -->
<!-- L CPU - Cluster max freq ~1.804 Ghz -->
<!-- GPU - min freq 315Mhz -->
<!-- GPU - max freq 700Mhz -->
<!-- GPUBW uncapped -->
<Config
Id="0x00001207" Enable="true" Timeout="0" Target="yupik"
Resources="0x40800200, 0x420, 0x40800000, 0x4CC, 0x40800100, 0x3AC, 0x40804200, 0x8A0,
0x40804000, 0x76C, 0x40804100, 0x70C, 0X4280C000, 0x13B, 0X4280C000, 0x2BC,
0x42814000, 0x0"/>
<!-- vr mode sustained performance -->
<!-- Prime CPU - Cluster min freq ~1.056 Ghz -->
<!-- B CPU - Cluster min freq ~1.228 Ghz -->
<!-- L CPU - Cluster min freq ~1.152 Ghz -->
<!-- Prime CPU - Cluster max freq ~1.056 Ghz -->
<!-- B CPU - Cluster max freq ~1.228 Ghz -->
<!-- L CPU - Cluster max freq ~1.152 Ghz -->
<!-- GPU - min freq 450Mhz -->
<!-- GPU - max freq 450Mhz -->
<!-- GPUBW uncapped -->
<Config
Id="0x00001301" Enable="true" Timeout="0" Target="yupik"
Resources="0x40800200, 0x420, 0x40800000, 0x4CC, 0x40800100, 0x480, 0x40804200, 0x420,
0x40804000, 0x4CC, 0x40804100, 0x480, 0X4280C000, 0x1C2, 0X42810000, 0x1C2,
0x42814000, 0x0"/>
</Powerhint>
</HintConfigs>

View File

@@ -0,0 +1,566 @@
{
"Attributes": [
{
"Name": "LowCapacityCPUs",
"Controller": "cpuset",
"File": "background/cpus"
},
{
"Name": "HighCapacityCPUs",
"Controller": "cpuset",
"File": "foreground/cpus"
},
{
"Name": "MaxCapacityCPUs",
"Controller": "cpuset",
"File": "top-app/cpus"
},
{
"Name": "AudioAppCapacityCPUs",
"Controller": "cpuset",
"File": "audio-app/cpus"
},
{
"Name": "MemLimit",
"Controller": "memory",
"File": "memory.limit_in_bytes"
},
{
"Name": "MemSoftLimit",
"Controller": "memory",
"File": "memory.soft_limit_in_bytes"
},
{
"Name": "MemSwappiness",
"Controller": "memory",
"File": "memory.swappiness"
},
{
"Name": "UClampMin",
"Controller": "cpu",
"File": "cpu.uclamp.min"
},
{
"Name": "UClampMax",
"Controller": "cpu",
"File": "cpu.uclamp.max"
}
],
"Profiles": [
{
"Name": "HighEnergySaving",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "background"
}
}
]
},
{
"Name": "NormalPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": ""
}
}
]
},
{
"Name": "HighPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "foreground"
}
}
]
},
{
"Name": "MaxPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "top-app"
}
}
]
},
{
"Name": "RealtimePerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "rt"
}
}
]
},
{
"Name": "AudioAppPerformance",
"Actions" : [
{
"Name" : "JoinCgroup",
"Params" :
{
"Controller": "cpu",
"Path": "audio-app"
}
}
]
},
{
"Name": "VrKernelCapacity",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": ""
}
}
]
},
{
"Name": "VrServiceCapacityLow",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "system/background"
}
}
]
},
{
"Name": "VrServiceCapacityNormal",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "system"
}
}
]
},
{
"Name": "VrServiceCapacityHigh",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "system/performance"
}
}
]
},
{
"Name": "VrProcessCapacityLow",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "application/background"
}
}
]
},
{
"Name": "VrProcessCapacityNormal",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "application"
}
}
]
},
{
"Name": "VrProcessCapacityHigh",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "application/performance"
}
}
]
},
{
"Name": "ProcessCapacityLow",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "background"
}
}
]
},
{
"Name": "ProcessCapacityNormal",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": ""
}
}
]
},
{
"Name": "ProcessCapacityHigh",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "foreground"
}
}
]
},
{
"Name": "ProcessCapacityMax",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "top-app"
}
}
]
},
{
"Name": "ServiceCapacityLow",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "system-background"
}
}
]
},
{
"Name": "ServiceCapacityRestricted",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "restricted"
}
}
]
},
{
"Name": "CameraServiceCapacity",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "camera-daemon"
}
}
]
},
{
"Name": "AudioAppCapacity",
"Actions" : [
{
"Name" : "JoinCgroup",
"Params" :
{
"Controller": "cpuset",
"Path": "audio-app"
}
}
]
},
{
"Name": "BlkIOForeground",
"Actions" : [
{
"Name" : "JoinCgroup",
"Params" :
{
"Controller": "blkio",
"Path": ""
}
}
]
},
{
"Name": "BlkIOBackground",
"Actions" : [
{
"Name" : "JoinCgroup",
"Params" :
{
"Controller": "blkio",
"Path": "bg"
}
}
]
},
{
"Name": "LowIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": "background"
}
}
]
},
{
"Name": "NormalIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": ""
}
}
]
},
{
"Name": "HighIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": ""
}
}
]
},
{
"Name": "MaxIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": ""
}
}
]
},
{
"Name": "TimerSlackHigh",
"Actions": [
{
"Name": "SetTimerSlack",
"Params":
{
"Slack": "40000000"
}
}
]
},
{
"Name": "TimerSlackNormal",
"Actions": [
{
"Name": "SetTimerSlack",
"Params":
{
"Slack": "50000"
}
}
]
},
{
"Name": "PerfBoost",
"Actions": [
{
"Name": "SetClamps",
"Params":
{
"Boost": "50%",
"Clamp": "0"
}
}
]
},
{
"Name": "PerfClamp",
"Actions": [
{
"Name": "SetClamps",
"Params":
{
"Boost": "0",
"Clamp": "30%"
}
}
]
},
{
"Name": "LowMemoryUsage",
"Actions": [
{
"Name": "SetAttribute",
"Params":
{
"Name": "MemSoftLimit",
"Value": "16MB"
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "MemSwappiness",
"Value": "150"
}
}
]
},
{
"Name": "HighMemoryUsage",
"Actions": [
{
"Name": "SetAttribute",
"Params":
{
"Name": "MemSoftLimit",
"Value": "512MB"
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "MemSwappiness",
"Value": "100"
}
}
]
},
{
"Name": "SystemMemoryProcess",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "memory",
"Path": "system"
}
}
]
}
],
"AggregateProfiles": [
{
"Name": "SCHED_SP_DEFAULT",
"Profiles": [ "TimerSlackNormal" ]
},
{
"Name": "SCHED_SP_BACKGROUND",
"Profiles": [ "HighEnergySaving", "LowIoPriority", "TimerSlackHigh" ]
},
{
"Name": "SCHED_SP_FOREGROUND",
"Profiles": [ "HighPerformance", "HighIoPriority", "TimerSlackNormal" ]
},
{
"Name": "SCHED_SP_TOP_APP",
"Profiles": [ "MaxPerformance", "MaxIoPriority", "TimerSlackNormal" ]
},
{
"Name": "SCHED_SP_RT_APP",
"Profiles": [ "RealtimePerformance", "MaxIoPriority", "TimerSlackNormal" ]
},
{
"Name": "CPUSET_SP_DEFAULT",
"Profiles": [ "TimerSlackNormal" ]
},
{
"Name": "CPUSET_SP_BACKGROUND",
"Profiles": [ "HighEnergySaving", "ProcessCapacityLow", "LowIoPriority", "TimerSlackHigh" ]
},
{
"Name": "CPUSET_SP_FOREGROUND",
"Profiles": [ "HighPerformance", "ProcessCapacityHigh", "HighIoPriority", "TimerSlackNormal" ]
},
{
"Name": "CPUSET_SP_TOP_APP",
"Profiles": [ "MaxPerformance", "ProcessCapacityMax", "MaxIoPriority", "TimerSlackNormal" ]
},
{
"Name": "CPUSET_SP_SYSTEM",
"Profiles": [ "ServiceCapacityLow", "TimerSlackNormal" ]
},
{
"Name": "CPUSET_SP_RESTRICTED",
"Profiles": [ "ServiceCapacityRestricted", "TimerSlackNormal" ]
}
]
}

BIN
proprietary/vendor/lib/libperfconfig.so vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib/libperfioctl.so vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib/libqti-perfd.so vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/lib/libqti-util.so vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/lib/libqti-utils.so vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib64/libperfioctl.so vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib64/libqti-perfd.so vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/lib64/libqti-util.so vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/lib64/libqti-utils.so vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.