sm6375-common: Regenerate trew
Signed-off-by: HeroBuxx <me@herobuxx.me>
This commit is contained in:
-614
@@ -2657,135 +2657,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libperfconfig",
|
||||
owner: "motorola",
|
||||
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: "motorola",
|
||||
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: "motorola",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib/libperfioctl.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libutils",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/libperfioctl.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libutils",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqcci_legacy",
|
||||
owner: "motorola",
|
||||
@@ -3371,159 +3242,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqti-perfd-client",
|
||||
owner: "motorola",
|
||||
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: "motorola",
|
||||
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: "motorola",
|
||||
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: "libqtigef",
|
||||
owner: "motorola",
|
||||
@@ -4609,94 +4327,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.qti.memory.pasrmanager@1.0",
|
||||
owner: "motorola",
|
||||
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: "motorola",
|
||||
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 {
|
||||
name: "vendor.qti.qspmhal@1.0_vendor",
|
||||
stem: "vendor.qti.qspmhal@1.0",
|
||||
@@ -7884,37 +7514,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "liblearningmodule",
|
||||
owner: "motorola",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/liblearningmodule.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libc",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libtinyxml2",
|
||||
"libsqlite",
|
||||
"libperfgluelayer",
|
||||
"libperfconfig",
|
||||
"libc++",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libloadalgo_stub",
|
||||
owner: "motorola",
|
||||
@@ -8191,33 +7790,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmeters",
|
||||
owner: "motorola",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/libmeters.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libc",
|
||||
"libcutils",
|
||||
"liblearningmodule",
|
||||
"libc++",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libminkdescriptor",
|
||||
owner: "motorola",
|
||||
@@ -9042,74 +8614,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqti-iopd-client",
|
||||
owner: "motorola",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/libqti-iopd-client.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libxml2",
|
||||
"libqti-util",
|
||||
"liblog",
|
||||
"vendor.qti.hardware.iop@2.0",
|
||||
"libhidlbase",
|
||||
"libsqlite",
|
||||
"libqti-perfd-client",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqti-iopd",
|
||||
owner: "motorola",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/libqti-iopd.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libxml2",
|
||||
"libqti-util",
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"vendor.qti.hardware.iop@2.0",
|
||||
"libbase",
|
||||
"libqti-iopd-client",
|
||||
"libqti-perfd-client",
|
||||
"libsqlite",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqtikeymaster4",
|
||||
owner: "motorola",
|
||||
@@ -11459,62 +10963,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.qti.hardware.iop@1.0",
|
||||
owner: "motorola",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/vendor.qti.hardware.iop@1.0.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.qti.hardware.iop@2.0",
|
||||
owner: "motorola",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/vendor.qti.hardware.iop@2.0.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.qti.hardware.mwqemadapter@1.0",
|
||||
owner: "motorola",
|
||||
@@ -16205,44 +15653,6 @@ cc_prebuilt_binary {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "vendor.qti.hardware.perf@2.2-service",
|
||||
owner: "motorola",
|
||||
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 {
|
||||
name: "vendor.qti.hardware.sensorscalibrate@1.0-service",
|
||||
owner: "motorola",
|
||||
@@ -16445,30 +15855,6 @@ cc_prebuilt_binary {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.kernel.post_boot-blair",
|
||||
owner: "motorola",
|
||||
src: "proprietary/vendor/bin/init.kernel.post_boot-blair.sh",
|
||||
filename: "init.kernel.post_boot-blair.sh",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.kernel.post_boot-holi",
|
||||
owner: "motorola",
|
||||
src: "proprietary/vendor/bin/init.kernel.post_boot-holi.sh",
|
||||
filename: "init.kernel.post_boot-holi.sh",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.kernel.post_boot",
|
||||
owner: "motorola",
|
||||
src: "proprietary/vendor/bin/init.kernel.post_boot.sh",
|
||||
filename: "init.kernel.post_boot.sh",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.qcom.sensors",
|
||||
owner: "motorola",
|
||||
|
||||
Binary file not shown.
@@ -1,245 +0,0 @@
|
||||
#=============================================================================
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2012-2013, 2016-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.
|
||||
#=============================================================================
|
||||
|
||||
function configure_zram_parameters() {
|
||||
# Moto yangbq2: Skip this if we are using zram from fstab.
|
||||
using_zram_from_fstab=`getprop ro.vendor.zram.swapon`
|
||||
if [ "$using_zram_from_fstab" == "true" ]; then
|
||||
return
|
||||
fi
|
||||
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||
MemTotal=${MemTotalStr:16:8}
|
||||
|
||||
# Zram disk - 75% for < 2GB devices .
|
||||
# For >2GB devices, size = 50% of RAM size. Limit the size to 4GB.
|
||||
|
||||
let RamSizeGB="( $MemTotal / 1048576 ) + 1"
|
||||
diskSizeUnit=M
|
||||
if [ $RamSizeGB -le 2 ]; then
|
||||
let zRamSizeMB="( $RamSizeGB * 1024 ) * 3 / 4"
|
||||
else
|
||||
let zRamSizeMB="( $RamSizeGB * 1024 ) / 2"
|
||||
fi
|
||||
|
||||
# use MB avoid 32 bit overflow
|
||||
if [ $zRamSizeMB -gt 4096 ]; then
|
||||
let zRamSizeMB=4096
|
||||
fi
|
||||
|
||||
if [ -f /sys/block/zram0/disksize ]; then
|
||||
if [ -f /sys/block/zram0/use_dedup ]; then
|
||||
echo 1 > /sys/block/zram0/use_dedup
|
||||
fi
|
||||
echo "$zRamSizeMB""$diskSizeUnit" > /sys/block/zram0/disksize
|
||||
|
||||
# ZRAM may use more memory than it saves if SLAB_STORE_USER
|
||||
# debug option is enabled.
|
||||
if [ -e /sys/kernel/slab/zs_handle ]; then
|
||||
echo 0 > /sys/kernel/slab/zs_handle/store_user
|
||||
fi
|
||||
if [ -e /sys/kernel/slab/zspage ]; then
|
||||
echo 0 > /sys/kernel/slab/zspage/store_user
|
||||
fi
|
||||
|
||||
mkswap /dev/block/zram0
|
||||
swapon /dev/block/zram0 -p 32758
|
||||
fi
|
||||
}
|
||||
|
||||
function configure_read_ahead_kb_values() {
|
||||
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||
MemTotal=${MemTotalStr:16:8}
|
||||
|
||||
dmpts=$(ls /sys/block/*/queue/read_ahead_kb | grep -e dm -e mmc)
|
||||
|
||||
# Set 128 for <= 3GB &
|
||||
# set 512 for >= 4GB targets.
|
||||
if [ $MemTotal -le 3145728 ]; then
|
||||
ra_kb=128
|
||||
else
|
||||
ra_kb=512
|
||||
fi
|
||||
if [ -f /sys/block/mmcblk0/bdi/read_ahead_kb ]; then
|
||||
echo $ra_kb > /sys/block/mmcblk0/bdi/read_ahead_kb
|
||||
fi
|
||||
if [ -f /sys/block/mmcblk0rpmb/bdi/read_ahead_kb ]; then
|
||||
echo $ra_kb > /sys/block/mmcblk0rpmb/bdi/read_ahead_kb
|
||||
fi
|
||||
for dm in $dmpts; do
|
||||
echo $ra_kb > $dm
|
||||
done
|
||||
}
|
||||
|
||||
function configure_memory_parameters() {
|
||||
# Set Memory parameters.
|
||||
|
||||
# Set swappiness to 100 for all targets
|
||||
echo 100 > /proc/sys/vm/swappiness
|
||||
|
||||
# Disable wsf for all targets beacause we are using efk.
|
||||
# wsf Range : 1..1000 So set to bare minimum value 1.
|
||||
echo 1 > /proc/sys/vm/watermark_scale_factor
|
||||
configure_zram_parameters
|
||||
configure_read_ahead_kb_values
|
||||
|
||||
#Spawn 1 kswapd threads which can help in fast reclaiming of pages
|
||||
echo 1 > /proc/sys/vm/kswapd_threads
|
||||
}
|
||||
|
||||
# Core control parameters for silver
|
||||
echo 0 0 0 0 1 1 > /sys/devices/system/cpu/cpu0/core_ctl/not_preferred
|
||||
echo 4 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
|
||||
echo 60 > /sys/devices/system/cpu/cpu0/core_ctl/busy_up_thres
|
||||
echo 40 > /sys/devices/system/cpu/cpu0/core_ctl/busy_down_thres
|
||||
echo 100 > /sys/devices/system/cpu/cpu0/core_ctl/offline_delay_ms
|
||||
echo 8 > /sys/devices/system/cpu/cpu0/core_ctl/task_thres
|
||||
|
||||
# Enable Core control for Silver
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/enable
|
||||
|
||||
# Disable Core control on gold
|
||||
echo 0 > /sys/devices/system/cpu/cpu6/core_ctl/enable
|
||||
|
||||
# Setting b.L scheduler parameters
|
||||
echo 65 > /proc/sys/kernel/sched_downmigrate
|
||||
echo 71 > /proc/sys/kernel/sched_upmigrate
|
||||
echo 85 > /proc/sys/kernel/sched_group_downmigrate
|
||||
echo 100 > /proc/sys/kernel/sched_group_upmigrate
|
||||
echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks
|
||||
echo 0 > /proc/sys/kernel/sched_coloc_busy_hysteresis_enable_cpus
|
||||
echo 0 > /proc/sys/kernel/sched_busy_hysteresis_enable_cpus
|
||||
echo 5 > /proc/sys/kernel/sched_ravg_window_nr_ticks
|
||||
|
||||
# disable unfiltering
|
||||
echo 20000000 > /proc/sys/kernel/sched_task_unfilter_period
|
||||
|
||||
# cpuset parameters
|
||||
echo 0-5 > /dev/cpuset/background/cpus
|
||||
echo 0-5 > /dev/cpuset/system-background/cpus
|
||||
|
||||
# Turn off scheduler boost at the end
|
||||
echo 0 > /proc/sys/kernel/sched_boost
|
||||
|
||||
# configure governor settings for silver cluster
|
||||
echo "schedutil" > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/down_rate_limit_us
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/up_rate_limit_us
|
||||
echo 1113600 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/hispeed_freq
|
||||
echo 576000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
|
||||
|
||||
# configure governor settings for gold cluster
|
||||
echo "schedutil" > /sys/devices/system/cpu/cpufreq/policy6/scaling_governor
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/down_rate_limit_us
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/up_rate_limit_us
|
||||
echo 1228800 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/hispeed_freq
|
||||
echo 691200 > /sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq
|
||||
|
||||
# Colocation V3 settings
|
||||
echo 680000 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/rtg_boost_freq
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/rtg_boost_freq
|
||||
echo 51 > /proc/sys/kernel/sched_min_task_util_for_boost
|
||||
echo 35 > /proc/sys/kernel/sched_min_task_util_for_colocation
|
||||
|
||||
# sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable.
|
||||
echo -6 > /sys/devices/system/cpu/cpu6/sched_load_boost
|
||||
echo -6 > /sys/devices/system/cpu/cpu7/sched_load_boost
|
||||
echo 85 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/hispeed_load
|
||||
|
||||
# configure input boost settings
|
||||
echo "0:1113600" > /sys/devices/system/cpu/cpu_boost/input_boost_freq
|
||||
echo 120 > /sys/devices/system/cpu/cpu_boost/input_boost_ms
|
||||
|
||||
# Enable bus-dcvs
|
||||
for device in /sys/devices/platform/soc
|
||||
do
|
||||
for cpubw in $device/*cpu-cpu-ddr-bw/devfreq/*cpu-cpu-ddr-bw
|
||||
do
|
||||
cat $cpubw/available_frequencies | cut -d " " -f 1 > $cpubw/min_freq
|
||||
echo "bw_hwmon" > $cpubw/governor
|
||||
echo "762 1144 1720 2086 2597 2929 3879 5161 5931 6881 7980" > $cpubw/bw_hwmon/mbps_zones
|
||||
echo 4 > $cpubw/bw_hwmon/sample_ms
|
||||
echo 68 > $cpubw/bw_hwmon/io_percent
|
||||
echo 20 > $cpubw/bw_hwmon/hist_memory
|
||||
echo 0 > $cpubw/bw_hwmon/hyst_length
|
||||
echo 80 > $cpubw/bw_hwmon/down_thres
|
||||
echo 0 > $cpubw/bw_hwmon/guard_band_mbps
|
||||
echo 250 > $cpubw/bw_hwmon/up_scale
|
||||
echo 1600 > $cpubw/bw_hwmon/idle_mbps
|
||||
echo 40 > $cpubw/polling_interval
|
||||
done
|
||||
|
||||
# configure compute settings for silver latfloor
|
||||
for latfloor in $device/*cpu0-cpu*latfloor/devfreq/*cpu0-cpu*latfloor
|
||||
do
|
||||
cat $latfloor/available_frequencies | cut -d " " -f 1 > $latfloor/min_freq
|
||||
echo 8 > $latfloor/polling_interval
|
||||
done
|
||||
|
||||
# configure compute settings for gold latfloor
|
||||
for latfloor in $device/*cpu6-cpu*latfloor/devfreq/*cpu6-cpu*latfloor
|
||||
do
|
||||
cat $latfloor/available_frequencies | cut -d " " -f 1 > $latfloor/min_freq
|
||||
echo 8 > $latfloor/polling_interval
|
||||
done
|
||||
|
||||
# configure mem_latency settings for DDR scaling
|
||||
for memlat in $device/*lat/devfreq/*lat
|
||||
do
|
||||
cat $memlat/available_frequencies | cut -d " " -f 1 > $memlat/min_freq
|
||||
echo 8 > $memlat/polling_interval
|
||||
echo 400 > $memlat/mem_latency/ratio_ceil
|
||||
done
|
||||
|
||||
#Gold CPU6 L3 ratio ceil
|
||||
for l3gold in $device/*cpu6-cpu-l3-lat/devfreq/*cpu6-cpu-l3-lat
|
||||
do
|
||||
echo 4000 > $l3gold/mem_latency/ratio_ceil
|
||||
echo 25000 > $l3gold/mem_latency/wb_filter_ratio
|
||||
echo 60 > $l3gold/mem_latency/wb_pct_thres
|
||||
done
|
||||
|
||||
#Gold CPU7 L3 ratio ceil
|
||||
for l3gold in $device/*cpu7-cpu-l3-lat/devfreq/*cpu7-cpu-l3-lat
|
||||
do
|
||||
echo 4000 > $l3gold/mem_latency/ratio_ceil
|
||||
echo 25000 > $l3gold/mem_latency/wb_filter_ratio
|
||||
echo 60 > $l3gold/mem_latency/wb_pct_thres
|
||||
done
|
||||
|
||||
done
|
||||
|
||||
echo N > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
|
||||
configure_memory_parameters
|
||||
|
||||
setprop vendor.post_boot.parsed 1
|
||||
@@ -1,246 +0,0 @@
|
||||
#=============================================================================
|
||||
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2012-2013, 2016-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.
|
||||
#=============================================================================
|
||||
|
||||
function configure_zram_parameters() {
|
||||
# Moto yangbq2: Skip this if we are using zram from fstab.
|
||||
using_zram_from_fstab=`getprop ro.vendor.zram.swapon`
|
||||
if [ "$using_zram_from_fstab" == "true" ]; then
|
||||
return
|
||||
fi
|
||||
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||
MemTotal=${MemTotalStr:16:8}
|
||||
|
||||
# Zram disk - 75% for < 2GB devices .
|
||||
# For >2GB devices, size = 50% of RAM size. Limit the size to 4GB.
|
||||
|
||||
let RamSizeGB="( $MemTotal / 1048576 ) + 1"
|
||||
diskSizeUnit=M
|
||||
if [ $RamSizeGB -le 2 ]; then
|
||||
let zRamSizeMB="( $RamSizeGB * 1024 ) * 3 / 4"
|
||||
else
|
||||
let zRamSizeMB="( $RamSizeGB * 1024 ) / 2"
|
||||
fi
|
||||
|
||||
# use MB avoid 32 bit overflow
|
||||
if [ $zRamSizeMB -gt 4096 ]; then
|
||||
let zRamSizeMB=4096
|
||||
fi
|
||||
|
||||
if [ -f /sys/block/zram0/disksize ]; then
|
||||
if [ -f /sys/block/zram0/use_dedup ]; then
|
||||
echo 1 > /sys/block/zram0/use_dedup
|
||||
fi
|
||||
echo "$zRamSizeMB""$diskSizeUnit" > /sys/block/zram0/disksize
|
||||
|
||||
# ZRAM may use more memory than it saves if SLAB_STORE_USER
|
||||
# debug option is enabled.
|
||||
if [ -e /sys/kernel/slab/zs_handle ]; then
|
||||
echo 0 > /sys/kernel/slab/zs_handle/store_user
|
||||
fi
|
||||
if [ -e /sys/kernel/slab/zspage ]; then
|
||||
echo 0 > /sys/kernel/slab/zspage/store_user
|
||||
fi
|
||||
|
||||
mkswap /dev/block/zram0
|
||||
swapon /dev/block/zram0 -p 32758
|
||||
fi
|
||||
}
|
||||
|
||||
function configure_read_ahead_kb_values() {
|
||||
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||
MemTotal=${MemTotalStr:16:8}
|
||||
|
||||
dmpts=$(ls /sys/block/*/queue/read_ahead_kb | grep -e dm -e mmc)
|
||||
|
||||
# Set 128 for <= 3GB &
|
||||
# set 512 for >= 4GB targets.
|
||||
if [ $MemTotal -le 3145728 ]; then
|
||||
ra_kb=128
|
||||
else
|
||||
ra_kb=512
|
||||
fi
|
||||
if [ -f /sys/block/mmcblk0/bdi/read_ahead_kb ]; then
|
||||
echo $ra_kb > /sys/block/mmcblk0/bdi/read_ahead_kb
|
||||
fi
|
||||
if [ -f /sys/block/mmcblk0rpmb/bdi/read_ahead_kb ]; then
|
||||
echo $ra_kb > /sys/block/mmcblk0rpmb/bdi/read_ahead_kb
|
||||
fi
|
||||
for dm in $dmpts; do
|
||||
echo $ra_kb > $dm
|
||||
done
|
||||
}
|
||||
|
||||
function configure_memory_parameters() {
|
||||
# Set Memory parameters.
|
||||
|
||||
# Set swappiness to 100 for all targets
|
||||
echo 100 > /proc/sys/vm/swappiness
|
||||
|
||||
# Disable wsf for all targets beacause we are using efk.
|
||||
# wsf Range : 1..1000 So set to bare minimum value 1.
|
||||
echo 1 > /proc/sys/vm/watermark_scale_factor
|
||||
configure_zram_parameters
|
||||
configure_read_ahead_kb_values
|
||||
|
||||
#Spawn 2 kswapd threads which can help in fast reclaiming of pages
|
||||
#use 1 to improve performance
|
||||
echo 1 > /proc/sys/vm/kswapd_threads
|
||||
}
|
||||
|
||||
# Core control parameters for silver
|
||||
echo 0 0 0 0 1 1 > /sys/devices/system/cpu/cpu0/core_ctl/not_preferred
|
||||
echo 4 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
|
||||
echo 60 > /sys/devices/system/cpu/cpu0/core_ctl/busy_up_thres
|
||||
echo 40 > /sys/devices/system/cpu/cpu0/core_ctl/busy_down_thres
|
||||
echo 100 > /sys/devices/system/cpu/cpu0/core_ctl/offline_delay_ms
|
||||
echo 8 > /sys/devices/system/cpu/cpu0/core_ctl/task_thres
|
||||
|
||||
# Enable Core control for Silver
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/enable
|
||||
|
||||
# Disable Core control on gold
|
||||
echo 0 > /sys/devices/system/cpu/cpu6/core_ctl/enable
|
||||
|
||||
# Setting b.L scheduler parameters
|
||||
echo 65 > /proc/sys/kernel/sched_downmigrate
|
||||
echo 71 > /proc/sys/kernel/sched_upmigrate
|
||||
echo 85 > /proc/sys/kernel/sched_group_downmigrate
|
||||
echo 100 > /proc/sys/kernel/sched_group_upmigrate
|
||||
echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks
|
||||
echo 0 > /proc/sys/kernel/sched_coloc_busy_hysteresis_enable_cpus
|
||||
echo 0 > /proc/sys/kernel/sched_busy_hysteresis_enable_cpus
|
||||
echo 5 > /proc/sys/kernel/sched_ravg_window_nr_ticks
|
||||
|
||||
# disable unfiltering
|
||||
echo 20000000 > /proc/sys/kernel/sched_task_unfilter_period
|
||||
|
||||
# cpuset parameters
|
||||
echo 0-3 > /dev/cpuset/background/cpus
|
||||
echo 0-5 > /dev/cpuset/system-background/cpus
|
||||
|
||||
# Turn off scheduler boost at the end
|
||||
echo 0 > /proc/sys/kernel/sched_boost
|
||||
|
||||
# configure governor settings for silver cluster
|
||||
echo "schedutil" > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/down_rate_limit_us
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/up_rate_limit_us
|
||||
echo 1190400 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/hispeed_freq
|
||||
echo 576000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
|
||||
|
||||
# configure governor settings for gold cluster
|
||||
echo "schedutil" > /sys/devices/system/cpu/cpufreq/policy6/scaling_governor
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/down_rate_limit_us
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/up_rate_limit_us
|
||||
echo 1248000 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/hispeed_freq
|
||||
echo 768000 > /sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq
|
||||
|
||||
# Colocation V3 settings
|
||||
echo 680000 > /sys/devices/system/cpu/cpufreq/policy0/schedutil/rtg_boost_freq
|
||||
echo 0 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/rtg_boost_freq
|
||||
echo 51 > /proc/sys/kernel/sched_min_task_util_for_boost
|
||||
echo 35 > /proc/sys/kernel/sched_min_task_util_for_colocation
|
||||
|
||||
# sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable.
|
||||
echo -6 > /sys/devices/system/cpu/cpu6/sched_load_boost
|
||||
echo -6 > /sys/devices/system/cpu/cpu7/sched_load_boost
|
||||
echo 85 > /sys/devices/system/cpu/cpufreq/policy6/schedutil/hispeed_load
|
||||
|
||||
# configure input boost settings
|
||||
echo "0:1190400" > /sys/devices/system/cpu/cpu_boost/input_boost_freq
|
||||
echo 120 > /sys/devices/system/cpu/cpu_boost/input_boost_ms
|
||||
|
||||
# Enable bus-dcvs
|
||||
for device in /sys/devices/platform/soc
|
||||
do
|
||||
for cpubw in $device/*cpu-cpu-ddr-bw/devfreq/*cpu-cpu-ddr-bw
|
||||
do
|
||||
cat $cpubw/available_frequencies | cut -d " " -f 1 > $cpubw/min_freq
|
||||
echo "bw_hwmon" > $cpubw/governor
|
||||
echo "1144 1720 2086 2929 3879 5931 6881 8137" > $cpubw/bw_hwmon/mbps_zones
|
||||
echo 4 > $cpubw/bw_hwmon/sample_ms
|
||||
echo 68 > $cpubw/bw_hwmon/io_percent
|
||||
echo 20 > $cpubw/bw_hwmon/hist_memory
|
||||
echo 0 > $cpubw/bw_hwmon/hyst_length
|
||||
echo 80 > $cpubw/bw_hwmon/down_thres
|
||||
echo 0 > $cpubw/bw_hwmon/guard_band_mbps
|
||||
echo 250 > $cpubw/bw_hwmon/up_scale
|
||||
echo 1600 > $cpubw/bw_hwmon/idle_mbps
|
||||
echo 40 > $cpubw/polling_interval
|
||||
done
|
||||
|
||||
# configure compute settings for silver latfloor
|
||||
for latfloor in $device/*cpu0-cpu*latfloor/devfreq/*cpu0-cpu*latfloor
|
||||
do
|
||||
cat $latfloor/available_frequencies | cut -d " " -f 1 > $latfloor/min_freq
|
||||
echo 8 > $latfloor/polling_interval
|
||||
done
|
||||
|
||||
# configure compute settings for gold latfloor
|
||||
for latfloor in $device/*cpu6-cpu*latfloor/devfreq/*cpu6-cpu*latfloor
|
||||
do
|
||||
cat $latfloor/available_frequencies | cut -d " " -f 1 > $latfloor/min_freq
|
||||
echo 8 > $latfloor/polling_interval
|
||||
done
|
||||
|
||||
# configure mem_latency settings for DDR scaling
|
||||
for memlat in $device/*lat/devfreq/*lat
|
||||
do
|
||||
cat $memlat/available_frequencies | cut -d " " -f 1 > $memlat/min_freq
|
||||
echo 8 > $memlat/polling_interval
|
||||
echo 400 > $memlat/mem_latency/ratio_ceil
|
||||
done
|
||||
|
||||
#Gold CPU6 L3 ratio ceil
|
||||
for l3gold in $device/*cpu6-cpu-l3-lat/devfreq/*cpu6-cpu-l3-lat
|
||||
do
|
||||
echo 4000 > $l3gold/mem_latency/ratio_ceil
|
||||
echo 25000 > $l3gold/mem_latency/wb_filter_ratio
|
||||
echo 60 > $l3gold/mem_latency/wb_pct_thres
|
||||
done
|
||||
|
||||
#Gold CPU7 L3 ratio ceil
|
||||
for l3gold in $device/*cpu7-cpu-l3-lat/devfreq/*cpu7-cpu-l3-lat
|
||||
do
|
||||
echo 4000 > $l3gold/mem_latency/ratio_ceil
|
||||
echo 25000 > $l3gold/mem_latency/wb_filter_ratio
|
||||
echo 60 > $l3gold/mem_latency/wb_pct_thres
|
||||
done
|
||||
|
||||
done
|
||||
|
||||
echo N > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
|
||||
configure_memory_parameters
|
||||
|
||||
setprop vendor.post_boot.parsed 1
|
||||
-49
@@ -1,49 +0,0 @@
|
||||
#=============================================================================
|
||||
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2012-2013, 2016-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.
|
||||
#=============================================================================
|
||||
|
||||
if [ -f /sys/devices/soc0/chip_family ]; then
|
||||
chipfamily=`cat /sys/devices/soc0/chip_family`
|
||||
fi
|
||||
|
||||
case "$chipfamily" in
|
||||
"0x73")
|
||||
/vendor/bin/sh /vendor/bin/init.kernel.post_boot-holi.sh
|
||||
;;
|
||||
|
||||
"0x7c")
|
||||
/vendor/bin/sh /vendor/bin/init.kernel.post_boot-blair.sh
|
||||
;;
|
||||
*)
|
||||
echo "***WARNING***: Invalid chip family\n\t No postboot settings applied!!\n"
|
||||
;;
|
||||
esac
|
||||
@@ -1,13 +0,0 @@
|
||||
# @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
|
||||
@@ -1,299 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?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>
|
||||
-520
@@ -1,520 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
/* Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
* All Rights Reserved.
|
||||
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
*/
|
||||
-->
|
||||
|
||||
|
||||
<!--Ids are used in identifying the boosts, increment ids linearly,
|
||||
do not modify Ids, or add in between-->
|
||||
<!--follow the number format rules while specifying number, can be given
|
||||
in any format-->
|
||||
|
||||
<BoostConfigs>
|
||||
<PerfBoost>
|
||||
|
||||
<!--app lauch boost-->
|
||||
<!-- SCHED DOWNMIGRATE resource opcode, value-->
|
||||
<!-- SCHED UPMIGRATE resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- Type="1", main launch boost of 2sec -->
|
||||
<Config
|
||||
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="holi"
|
||||
Resources="0x40C20000, 0x28, 0x40C1C000, 0x32, 0x40804000, 0xFFF, 0x40804100, 0xFFF,
|
||||
0x40800000, 1535, 0x40800100, 1478" />
|
||||
|
||||
<Config
|
||||
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="blair"
|
||||
Resources="0x40C20000, 0x28, 0x40C1C000, 0x32, 0x40804000, 0xFFF, 0x40804100, 0xFFF,
|
||||
0x40800000, 1516, 0x40800100, 1516" />
|
||||
|
||||
|
||||
<!--app lauch boost (disabling packing)-->
|
||||
<!-- POWER COLLAPSE resource opcode, value-->
|
||||
<!-- STORAGE CLK SCALING resource opcode, value-->
|
||||
<!-- CPUBW_MIN_FREQ resource opcode, value-->
|
||||
<!-- L3 resource opcode, value-->
|
||||
<!-- GPU nap resource opcode, value-->
|
||||
|
||||
<!-- Type="2", launch boost for disable packing 1.5sec -->
|
||||
|
||||
<Config
|
||||
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="holi"
|
||||
Resources="0x40400000, 0x1, 0x42C10000, 0x1, 0x43010000, 59, 0x43400000, 0x2DC0, 0x4281C000, 1500" />
|
||||
|
||||
<Config
|
||||
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="blair"
|
||||
Resources="0x40400000, 0x1, 0x42C10000, 0x1, 0x43010000, 59, 0x43400000, 0x2DC0, 0x4281C000, 1500" />
|
||||
|
||||
<!-- config_enableLaunchBoostv3-->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
|
||||
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
|
||||
<!-- LPM Bias resource opcode, value-->
|
||||
<!-- BUSY_HYSTERESIS_ENABLE_CPUS, val-->
|
||||
|
||||
<!-- Type="3", FA launch boost of 15sec -->
|
||||
<Config
|
||||
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="holi"
|
||||
Resources="0x40C00000, 0x3, 0x40C58000, 85, 0x40C54000, 100, 0x40408000, 0x63" />
|
||||
|
||||
<Config
|
||||
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="blair"
|
||||
Resources="0x40C00000, 0x3, 0x40C58000, 85, 0x40C54000, 100, 0x40408000, 0x5, 0x40C74000, 0xC0" />
|
||||
|
||||
<!-- config_gameBoost-->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
|
||||
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
|
||||
<!-- LPM Bias resource opcode, value-->
|
||||
<!-- BUSY_HYSTERESIS_ENABLE_CPUS, val-->
|
||||
|
||||
<!-- Type="4", FA launch boost of 15sec -->
|
||||
<Config
|
||||
Id="0x00001081" Type="4" Enable="true" Timeout="15000" Target="holi"
|
||||
Resources="0x40C00000, 0x3, 0x40C58000, 85, 0x40C54000, 100, 0x40408000, 0x63" />
|
||||
|
||||
<Config
|
||||
Id="0x00001081" Type="4" Enable="true" Timeout="15000" Target="blair"
|
||||
Resources="0x40C00000, 0x3, 0x40C58000, 85, 0x40C54000, 100, 0x40408000, 0x5, 0x40C74000, 0xC0" />
|
||||
|
||||
<!-- config_enableLaunchBoost6-->
|
||||
<!-- LPM_BIAS resource opcode, val ms-->
|
||||
<!-- BUSY_HYSTERESIS_ENABLE_CPUS, val-->
|
||||
<!-- SLB_BIG, val, SLB_BIG, val-->
|
||||
<!-- MIN_FREQ_BIG, val MHz -->
|
||||
<!-- CPU_DOWN_FREQ_THRESHOLD_US, val us -->
|
||||
<!-- Type="6", Game Launch boost -->
|
||||
<Config
|
||||
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="holi"
|
||||
Resources="0x40408000, 0x5,
|
||||
0x40C68000, 60, 0x40C68010, 60,
|
||||
0x40800000, 1248,
|
||||
0x41448000, 20000" />
|
||||
|
||||
<Config
|
||||
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="blair"
|
||||
Resources="0x40408000, 0x5,
|
||||
0x40C74000, 0xC0,
|
||||
0x40C68000, 60, 0x40C68010, 60,
|
||||
0x40800000, 1228,
|
||||
0x41448000, 20000" />
|
||||
|
||||
<!--app launch boost (attach application) -->
|
||||
<!-- SCHED_TASK_BOOST resource opcode, value-->
|
||||
<Config
|
||||
Id="0x00001081" Type="103" Enable="true" Timeout="2000" Target="holi"
|
||||
Resources="0x40C80000, 0x0" />
|
||||
|
||||
<Config
|
||||
Id="0x00001081" Type="103" Enable="true" Timeout="2000" Target="blair"
|
||||
Resources="0x40C80000, 0x0" />
|
||||
|
||||
<!--Animation boost -->
|
||||
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
<Config
|
||||
Id="0x00001083" Enable="true" Timeout="400" Target="holi"
|
||||
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0x7F3,
|
||||
0x40800100, 0x70C" />
|
||||
|
||||
<Config
|
||||
Id="0x00001083" Enable="true" Timeout="400" Target="blair"
|
||||
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF,
|
||||
0x40800100, 0xFFF" />
|
||||
|
||||
<!--Vertical Scroll boost-->
|
||||
<!-- CPUBW_MIN_FREQ resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- Type="1", Vertical Scroll boost -->
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="holi" Fps="60"
|
||||
Resources="0x43010000, 38, 0x40800000, 1017, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="blair" Fps="60"
|
||||
Resources="0x43010000, 38, 0x40800000, 940, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<!-- CPUBW_MIN_FREQ resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
|
||||
<!-- LPM Bias resource opcode, value-->
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="holi" Fps="90"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 940, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="blair" Fps="90"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 940, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="holi" Fps="120"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="blair" Fps="120"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2054, 0x40800100, 1516, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="holi" Fps="144"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2035, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="blair" Fps="144"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2054, 0x40800100, 1516, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
<!--Horizontal Scroll boost-->
|
||||
<!-- CPUBW_MIN_FREQ resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- Type="2", Horizontal Scroll boost -->
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="holi" Fps="60"
|
||||
Resources="0x43010000, 38, 0x40800000, 1017, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="blair" Fps="60"
|
||||
Resources="0x43010000, 38, 0x40800000, 940, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<!-- CPUBW_MIN_FREQ resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
|
||||
<!-- LPM Bias resource opcode, value-->
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="holi" Fps="90"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 940, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="blair" Fps="90"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 940, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="holi" Fps="120"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="blair" Fps="120"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2054, 0x40800100, 1516, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="holi" Fps="144"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2035, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="blair" Fps="144"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2054, 0x40800100, 1516, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
<!--Pre-Fling boost-->
|
||||
<!-- Type="4", Pre-Fling boost -->
|
||||
<!-- CPUBW_MIN_FREQ resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="holi" Fps="60"
|
||||
Resources="0x43010000, 38, 0x40800000, 1017, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="blair" Fps="60"
|
||||
Resources="0x43010000, 38, 0x40800000, 940, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<!-- CPUBW_MIN_FREQ resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
|
||||
<!-- LPM Bias resource opcode, value-->
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="holi" Fps="90"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 940, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="blair" Fps="90"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 1651, 0x40800100, 940, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="holi" Fps="120"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2035, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="blair" Fps="120"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2035, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="holi" Fps="144"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2035, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
<Config
|
||||
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="blair" Fps="144"
|
||||
Resources="0x43010000, 0x26, 0x40800000, 2035, 0x40800100, 1478, 0x40C00000, 2,
|
||||
0x40C74000, 0xC0, 0x40408000, 0x27" />
|
||||
|
||||
|
||||
<!--MTP boost-->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- STORAGE CLK SCALING resource opcode, value-->
|
||||
<!-- Type="", MTP boost -->
|
||||
<Config
|
||||
Id="0x00001086" Enable="true" Target="holi"
|
||||
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1535,
|
||||
0x40800100, 1478, 0x42C10000, 0x1" />
|
||||
<Config
|
||||
Id="0x00001086" Enable="true" Target="blair"
|
||||
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1516,
|
||||
0x40800100, 1516, 0x42C10000, 0x1" />
|
||||
|
||||
<!--PackageInstall boost-->
|
||||
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- SCHED_SYNC_HINT_ENABLE resource opcode, value-->
|
||||
<!-- SCHED_FORCE_LB_ENABLE resource opcode, value-->
|
||||
<!-- Type="", Package Install boost -->
|
||||
<Config
|
||||
Id="0x00001088" Enable="true" Target="holi"
|
||||
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF,
|
||||
0x40800100, 0xFFF, 0x40C00000, 0x2, 0x40CA0000, 0,
|
||||
0x40CCC000, 0" />
|
||||
<Config
|
||||
Id="0x00001088" Enable="true" Target="blair"
|
||||
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF,
|
||||
0x40800100, 0xFFF, 0x40C00000, 0x2, 0x40CA0000, 0,
|
||||
0x40CCC000, 0" />
|
||||
|
||||
<!--Rotation latency boost-->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- Type="", Rotation latency boost -->
|
||||
<Config
|
||||
Id="0x00001089" Enable="true" Timeout="1500" Target="holi"
|
||||
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
|
||||
0x40800100,0xFFF" />
|
||||
<Config
|
||||
Id="0x00001089" Enable="true" Timeout="1500" Target="blair"
|
||||
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
|
||||
0x40800100, 0xFFF" />
|
||||
|
||||
<!--Rotation animation boost-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
|
||||
<!-- Type="", Rotation animation boost -->
|
||||
<Config
|
||||
Id="0x00001090" Enable="true" Timeout="1000" Target="holi"
|
||||
Resources="0x40800100, 940, 0x42804000, 0" />
|
||||
<Config
|
||||
Id="0x00001090" Enable="true" Timeout="1000" Target="blair"
|
||||
Resources="0x40800100, 940, 0x42804000, 0" />
|
||||
|
||||
<!--Drag boost-->
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- Type="1", Drag boost -->
|
||||
<Config
|
||||
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40800000, 1017, 0x40800100, 940" />
|
||||
<Config
|
||||
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40800000, 940, 0x40800100, 940" />
|
||||
|
||||
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<Config
|
||||
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="holi" Fps="120"
|
||||
Resources="0x40800000, 1017, 0x40800100, 940, 0x40C00000, 2" />
|
||||
<Config
|
||||
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="blair" Fps="120"
|
||||
Resources="0x40800000, 940, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<Config
|
||||
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="holi" Fps="144"
|
||||
Resources="0x40800000, 1017, 0x40800100, 940, 0x40C00000, 2" />
|
||||
<Config
|
||||
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="blair" Fps="144"
|
||||
Resources="0x40800000, 940, 0x40800100, 940, 0x40C00000, 2" />
|
||||
|
||||
<!--Display on Resource -->
|
||||
<!-- Display on resource opcode, value -->
|
||||
<Config
|
||||
Id="0x00001041" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40000000, 1" />
|
||||
<Config
|
||||
Id="0x00001041" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40000000, 1" />
|
||||
|
||||
<!--Display off Resource -->
|
||||
<!-- Display on resource opcode, value -->
|
||||
<Config
|
||||
Id="0x00001040" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40000000, 0x0" />
|
||||
|
||||
<Config
|
||||
Id="0x00001040" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40000000, 0x0" />
|
||||
|
||||
<!--FPS Update Resource-->
|
||||
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
|
||||
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
|
||||
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
|
||||
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
|
||||
<!-- Type="60" -->
|
||||
<Config
|
||||
Id="0x00001094" Type="60" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0, 0x40CA4000, 5" />
|
||||
<Config
|
||||
Id="0x00001094" Type="60" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0, 0x40CA4000, 5" />
|
||||
|
||||
<!-- Type="90" -->
|
||||
<Config
|
||||
Id="0x00001094" Type="90" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 3" />
|
||||
<Config
|
||||
Id="0x00001094" Type="90" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 3" />
|
||||
|
||||
<!-- Type="120" -->
|
||||
<Config
|
||||
Id="0x00001094" Type="120" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2" />
|
||||
|
||||
|
||||
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
|
||||
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
|
||||
<!-- Type="120" -->
|
||||
|
||||
<Config
|
||||
Id="0x00001094" Type="120" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2,
|
||||
0x40CC8000, 119, 0x40CD8000, 100" />
|
||||
|
||||
<!-- Type="144" -->
|
||||
<Config
|
||||
Id="0x00001094" Type="144" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2" />
|
||||
|
||||
<!-- SLB_BIG_0, val-->
|
||||
<!-- SLB_BIG_1, val-->
|
||||
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
|
||||
<!-- SCHED_COLOC_DOWNMIGRATE_NS resource opcode, value -->
|
||||
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
|
||||
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
|
||||
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
|
||||
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
|
||||
<!-- CPU min freq resource opcode, value -->
|
||||
<!-- SCHED_BUSY_HYSTERESIS_ENABLE_COLOC_CPUS opcode, value -->
|
||||
<!-- Type="144" -->
|
||||
|
||||
<Config
|
||||
Id="0x00001094" Type="144" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2,
|
||||
0x40C68000, 0, 0x40C68010, 0, 0x40CC8000, 119,
|
||||
0x40C8C000, 100000000, 0x40CD8000, 100, 0x41000000, 3, 0x40C78000, 0,
|
||||
0x40C7C000, 0, 0x40800100, 806, 0x40C90000, 0x70" />
|
||||
|
||||
<!--FPS Immediate Update from within Perfd Resource-->
|
||||
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
|
||||
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
|
||||
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
|
||||
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
|
||||
<!-- Type="60" -->
|
||||
<Config
|
||||
Id="0x0000109B" Type="60" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0, 0x40CA4000, 5" />
|
||||
<Config
|
||||
Id="0x0000109B" Type="60" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0, 0x40CA4000, 5" />
|
||||
|
||||
<!-- Type="90" -->
|
||||
<Config
|
||||
Id="0x0000109B" Type="90" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 3" />
|
||||
<Config
|
||||
Id="0x0000109B" Type="90" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 3" />
|
||||
|
||||
<!-- Type="120" -->
|
||||
<Config
|
||||
Id="0x0000109B" Type="120" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2" />
|
||||
|
||||
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
|
||||
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
|
||||
<!-- Type="120" -->
|
||||
|
||||
<Config
|
||||
Id="0x0000109B" Type="120" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2,
|
||||
0x40CC8000, 119, 0x40CD8000, 100" />
|
||||
|
||||
<!-- Type="144" -->
|
||||
<Config
|
||||
Id="0x0000109B" Type="144" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2" />
|
||||
|
||||
<!-- SLB_BIG_0, val-->
|
||||
<!-- SLB_BIG_1, val-->
|
||||
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
|
||||
<!-- SCHED_COLOC_DOWNMIGRATE_NS resource opcode, value -->
|
||||
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
|
||||
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
|
||||
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
|
||||
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
|
||||
<!-- CPU min freq resource opcode, value -->
|
||||
<!-- SCHED_BUSY_HYSTERESIS_ENABLE_COLOC_CPUS opcode, value -->
|
||||
<!-- Type="144" -->
|
||||
|
||||
<Config
|
||||
Id="0x0000109B" Type="144" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CA4000, 2,
|
||||
0x40C68000, 0, 0x40C68010, 0, 0x40CC8000, 119,
|
||||
0x40C8C000, 100000000, 0x40CD8000, 100, 0x41000000, 3, 0x40C78000, 0,
|
||||
0x40C7C000, 0, 0x40800100, 806, 0x40C90000, 0x70" />
|
||||
|
||||
<!--Large Comp HInt -->
|
||||
<!-- CPU min freq resource opcode, value -->
|
||||
<!-- GPU MIN_FREQUENCY resource opcode,value -->
|
||||
<Config
|
||||
Id="0x00001097" Type="0" Enable="true" Timeout="9" Target="blair" Fps="120"
|
||||
Resources="0x40800100, 1000, 0x42804000, 0" />
|
||||
|
||||
<Config
|
||||
Id="0x00001097" Type="0" Enable="true" Timeout="7" Target="blair" Fps="144"
|
||||
Resources="0x40800100, 1000, 0x42804000, 0" />
|
||||
|
||||
</PerfBoost>
|
||||
</BoostConfigs>
|
||||
-89
@@ -1,89 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 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="holi" Variant="holi" Resolution="1080p"
|
||||
Ram="3" Kernel="5.4"/>
|
||||
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.debug.enable.lm" Value="true" />
|
||||
<Prop Name="vendor.iop.enable_uxe" Value="1" />
|
||||
<Prop Name="vendor.enable.prefetch" Value="false" />
|
||||
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="0" />
|
||||
<Prop Name="vendor.perf.iop_v3.enable" Value="false" />
|
||||
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
|
||||
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
|
||||
<Prop Name="vendor.perf.pfar.enable" Value="1"/>
|
||||
<Prop Name="vendor.perf.fps_switch.enable" Value="1"/>
|
||||
<Prop Name="ro.vendor.perf.gfl.tap_ignore_enable" Value="true"/>
|
||||
<Prop Name="ro.vendor.perf.wlc.heavygame" Value="true"/>
|
||||
<Prop Name="ro.vendor.perf.splh" Value="none"/>
|
||||
<Prop Name="vendor.perf.fps_switch_hyst_time_secs" Value="10" />
|
||||
<Prop Name="ro.vendor.perf.enable.prekill" Value="false"/>
|
||||
|
||||
<!--System Properties -->
|
||||
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" />
|
||||
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" />
|
||||
<Prop Name="ro.vendor.iocgrp.config" Value="1" />
|
||||
<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_wmark_boost_factor" Value="4" />
|
||||
<Prop Name="ro.lmk.enhance_batch_kill" Value="false" />
|
||||
<Prop Name="ro.lmk.enable_watermark_check" Value="true" />
|
||||
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
|
||||
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
|
||||
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" />
|
||||
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
|
||||
<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="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Ram="4" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Ram="3" />
|
||||
|
||||
</PerfConfigs>
|
||||
</PerfConfigsStore>
|
||||
-79
@@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
* Copyright (c) 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="holi"
|
||||
NumClusters="2"
|
||||
TotalNumCores="8"
|
||||
SocIds="454"
|
||||
SynCore="1"
|
||||
CoreCtlCpu="0"
|
||||
MinCoreOnline="0"
|
||||
CpufreqGov="1"
|
||||
MinFpsForTuning="60" />
|
||||
|
||||
<ClustersInfo Id="0" NumCores="6" Type="little" />
|
||||
<ClustersInfo Id="1" NumCores="2" Type="big" />
|
||||
|
||||
</Config1>
|
||||
|
||||
<Config2>
|
||||
|
||||
<TargetInfo
|
||||
Target="blair"
|
||||
NumClusters="2"
|
||||
TotalNumCores="8"
|
||||
SocIds="507,578"
|
||||
SynCore="1"
|
||||
CoreCtlCpu="0"
|
||||
MinCoreOnline="0"
|
||||
CpufreqGov="1"
|
||||
MinFpsForTuning="60" />
|
||||
|
||||
<ClustersInfo Id="0" NumCores="6" Type="little" />
|
||||
<ClustersInfo Id="1" NumCores="2" Type="big" />
|
||||
|
||||
</Config2>
|
||||
|
||||
</TargetConfig>
|
||||
@@ -1,96 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
* Copyright (c) 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" /> <!-- lpm_ref_stddev -->
|
||||
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" /> <!-- lpm_tmr_add -->
|
||||
<Config MajorValue="0x1" MinorValue="0x5" Supported="yes" /> <!-- lpm_ipi_prediction -->
|
||||
|
||||
<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" /> <!-- 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 -->
|
||||
|
||||
<!--All the cpubw_hmon path are now migrated to new opcodes.Hence unsupporting old ones-->
|
||||
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" />
|
||||
|
||||
<Config MajorValue="0xB" MinorValue="0x2" Node="/sys/devices/system/cpu/cpu_boost/input_boost_freq" />
|
||||
|
||||
<!--All llcbw path are now migrated to new opcode. Hence unsupporting old ones-->
|
||||
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" />
|
||||
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" />
|
||||
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" />
|
||||
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" />
|
||||
<Config MajorValue="0xC" MinorValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/min_freq" />
|
||||
<Config MajorValue="0xC" MinorValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/up_scale" />
|
||||
<Config MajorValue="0xC" MinorValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/max_freq" />
|
||||
<Config MajorValue="0xC" MinorValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/decay_rate" />
|
||||
<Config MajorValue="0xC" MinorValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/io_percent" />
|
||||
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
|
||||
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" /> <!-- cpubw_hmon_low_power_io_percent -->
|
||||
<Config MajorValue="0xC" MinorValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/polling_interval" />
|
||||
<Config MajorValue="0xC" MinorValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/sample_ms" />
|
||||
<Config MajorValue="0xC" MinorValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/idle_mbps" />
|
||||
<Config MajorValue="0xC" MinorValue="0x11" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/use_ab" />
|
||||
|
||||
<Config MajorValue="0xD" MinorValue="0x0" Node="/sys/class/devfreq/fd90100.qcom,cpu%d-cpu-l3-lat/min_freq" />
|
||||
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/class/devfreq/fd90100.qcom,cpu0-cpu-l3-lat/mem_latency/ratio_ceil" />
|
||||
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/class/devfreq/fd90100.qcom,cpu6-cpu-l3-lat/mem_latency/ratio_ceil" />
|
||||
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/class/devfreq/fd90100.qcom,cpu0-cpu-l3-lat/mem_latency/stall_floor" />
|
||||
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/class/devfreq/fd90100.qcom,cpu6-cpu-l3-lat/mem_latency/stall_floor" />
|
||||
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/class/devfreq/fd90100.qcom,cpu%d-cpu-l3-lat/max_freq" />
|
||||
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0x7" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0x8" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0x9" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0xA" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0xB" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0xC" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0xD" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0xE" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0xF" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0x10" Supported="no" />
|
||||
|
||||
</PerfResources>
|
||||
</ResourceConfigs>
|
||||
Vendored
-636
@@ -1,636 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<!--
|
||||
/* Copyright (c) 2016-2018, 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.
|
||||
*/
|
||||
-->
|
||||
<HintConfigs>
|
||||
<Powerhint>
|
||||
|
||||
<!-- 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 CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU Hispeed freq of 1190Mhz -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 50 -->
|
||||
<!--CPUBW HWMON - Set io_percent 100 -->
|
||||
<!--CPUBW HWMON - Set up_scale 0 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<Config
|
||||
Id="0x00001330" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40C68100, -12, 0x40C68110, -12, 0x40C68120, -12,
|
||||
0x40C68130, -12, 0x40C68000, -12, 0x40C68010, -12, 0x40C68020, -12, 0x40C68030, -12,
|
||||
0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6"/>
|
||||
|
||||
<!-- 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 CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 50 -->
|
||||
<!--CPUBW HWMON - Set io_percent 100 -->
|
||||
<!--CPUBW HWMON - Set up_scale 0 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<!--L CPU core Fmin 1.1 GHz -->
|
||||
<!--Set uclamp latency sensitivity to 1 -->
|
||||
<!--Set sched_prefer_spread to 2 -->
|
||||
<!--Set sched_boost to 2 -->
|
||||
<Config
|
||||
Id="0x00001331" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
|
||||
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
|
||||
0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
|
||||
0x40800100, 1190, 0x40CEC000, 0x1, 0x40CA8000, 0x2, 0x40C00000, 0x2"/>
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
<!--L CPU CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 20 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<!--L CPU core Fmin 1.1 GHz -->
|
||||
<!--Set uclamp latency sensitivity to 1 -->
|
||||
<!--Set sched_prefer_spread to 2 -->
|
||||
<!--Set sched_boost to 2 -->
|
||||
<Config
|
||||
Id="0x00001332" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
|
||||
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
|
||||
0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6,
|
||||
0x40800100, 1190, 0x40CEC000, 0x1, 0x40CA8000, 0x2, 0x40C00000, 0x2"/>
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
<!--L CPU CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU Hispeed freq of 1190Mhz -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 20 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<Config
|
||||
Id="0x00001333" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
|
||||
0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA,
|
||||
0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6"/>
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
<!--L CPU CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU Hispeed freq of 1190Mhz -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 20 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<Config
|
||||
Id="0x00001334" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
|
||||
0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA,
|
||||
0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6"/>
|
||||
|
||||
|
||||
<!-- same settings for all the qvr power levels intentionally -->
|
||||
<!-- qvr level cpu1 gpu1 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130A" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu1 gpu2 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130B" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu1 gpu3 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130C" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu2 gpu1 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130D" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu2 gpu2 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130E" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu2 gpu3 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130F" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu3 gpu1 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x00001310" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu3 gpu2 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x00001311" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu3 gpu3 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.035 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.478 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x00001312" Enable="true" Target="holi" Timeout="0"
|
||||
Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- sustained performance -->
|
||||
<!-- B CPU - Cluster min freq uncapped -->
|
||||
<!-- L CPU - Cluster min freq uncapped -->
|
||||
<!-- B CPU - Cluster max freq ~1.22 GHz -->
|
||||
<!-- L CPU - Cluster max freq ~1.22 Ghz -->
|
||||
<!-- GPU - min freq 275Mhz -->
|
||||
<!-- GPU - max freq 400Mhz -->
|
||||
<!-- GPUBW freq uncapped -->
|
||||
<Config
|
||||
Id="0x00001206" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
|
||||
0X4280C000, 0x113, 0X42810000, 0x190, 0x42814000, 0x0"/>
|
||||
|
||||
<!-- vr mode -->
|
||||
<!-- B CPU - Cluster min freq ~1.22 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~0.940 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~1.90 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.70 Ghz -->
|
||||
<!-- GPU - min freq 275Mhz -->
|
||||
<!-- GPU - max freq 625Mhz -->
|
||||
<!-- GPUBW uncapped -->
|
||||
<Config
|
||||
Id="0x00001207" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40800000, 0x4CC, 0x40800100, 0x3AC, 0x40804000, 0x76C, 0x40804100, 0x6C0,
|
||||
0X4280C000, 0x113, 0X4280C000, 0x271, 0x42814000, 0x0"/>
|
||||
|
||||
<!-- vr mode sustained performance -->
|
||||
<!-- B CPU - Cluster min freq ~1.22 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~1.22 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~1.22 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.22 Ghz -->
|
||||
<!-- GPU - min freq 400Mhz -->
|
||||
<!-- GPU - max freq 400Mhz -->
|
||||
<!-- GPUBW uncapped -->
|
||||
<Config
|
||||
Id="0x00001301" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40800000, 0x4CC, 0x40800100, 0x4CC, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
|
||||
0X4280C000, 0x190, 0X42810000, 0x190, 0x42814000, 0x0"/>
|
||||
|
||||
<!-- 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 CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU cluster min freq of 1190Mhz -->
|
||||
<!--CPUBW HWMON - Set sample_ms 50 -->
|
||||
<!--CPUBW HWMON - Set io_percent 100 -->
|
||||
<!--CPUBW HWMON - Set up_scale 0 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<!--Set uclamp latency sensitivity to 1 -->
|
||||
<!--Set sched_prefer_spread to 2 -->
|
||||
<!--Set sched_boost to 2 -->
|
||||
<Config
|
||||
Id="0x00001336" Enable="true" Timeout="0" Target="holi"
|
||||
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
|
||||
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
|
||||
0x40800100, 1190, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
|
||||
0x40CEC000, 0x1, 0x40CA8000, 0x2, 0x40C00000, 0x2"/>
|
||||
|
||||
<!-- 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 CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU Hispeed freq of 1113Mhz -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 50 -->
|
||||
<!--CPUBW HWMON - Set io_percent 100 -->
|
||||
<!--CPUBW HWMON - Set up_scale 0 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<Config
|
||||
Id="0x00001330" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40C68100, -12, 0x40C68110, -12, 0x40C68120, -12,
|
||||
0x40C68130, -12, 0x40C68000, -12, 0x40C68010, -12, 0x40C68020, -12, 0x40C68030, -12,
|
||||
0x4143C100, 1113, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6"/>
|
||||
|
||||
<!-- 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 CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 50 -->
|
||||
<!--CPUBW HWMON - Set io_percent 100 -->
|
||||
<!--CPUBW HWMON - Set up_scale 0 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<!--L CPU core Fmin 1.1 GHz -->
|
||||
<!--Set uclamp latency sensitivity to 1 -->
|
||||
<!--Enable sched prefer spread 1 -->
|
||||
<!--Set sched_prefer_spread to 2 -->
|
||||
<!--Set sched_boost to 2 -->
|
||||
<Config
|
||||
Id="0x00001331" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
|
||||
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
|
||||
0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
|
||||
0x40800100, 1113, 0x40CEC000, 0x1, 0x40CA8000, 0x1,
|
||||
0x40CA8000, 0x2, 0x40C00000, 0x2"/>
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
<!--L CPU CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 20 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<!--L CPU core Fmin 1.1 GHz -->
|
||||
<!--Set uclamp latency sensitivity to 1 -->
|
||||
<!--Enable sched prefer spread 1 -->
|
||||
<!--Set sched_prefer_spread to 2 -->
|
||||
<!--Set sched_boost to 2 -->
|
||||
<Config
|
||||
Id="0x00001332" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
|
||||
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
|
||||
0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6,
|
||||
0x40800100, 1113, 0x40CEC000, 0x1, 0x40CA8000, 0x1,
|
||||
0x40CA8000, 0x2, 0x40C00000, 0x2"/>
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
<!--L CPU CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU Hispeed freq of 1113Mhz -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 20 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<Config
|
||||
Id="0x00001333" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
|
||||
0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA,
|
||||
0x4143C100, 1113, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6"/>
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
<!--L CPU CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU Hispeed freq of 1113Mhz -->
|
||||
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
|
||||
<!--L CLUSTER_BIG - Set hispeed load 95 -->
|
||||
<!--CPUBW HWMON - Set sample_ms 20 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<Config
|
||||
Id="0x00001334" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
|
||||
0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA,
|
||||
0x4143C100, 1113, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6"/>
|
||||
|
||||
|
||||
<!-- same settings for all the qvr power levels intentionally -->
|
||||
<!-- qvr level cpu1 gpu1 -->
|
||||
<!-- B CPU - Cluster min freq ~.691 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130A" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu1 gpu2 -->
|
||||
<!-- B CPU - Cluster min freq ~.691 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130B" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu1 gpu3 -->
|
||||
<!-- B CPU - Cluster min freq ~.691 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130C" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu2 gpu1 -->
|
||||
<!-- B CPU - Cluster min freq ~.691 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130D" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu2 gpu2 -->
|
||||
<!-- B CPU - Cluster min freq ~.691 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130E" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu2 gpu3 -->
|
||||
<!-- B CPU - Cluster min freq ~.691 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x0000130F" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu3 gpu1 -->
|
||||
<!-- B CPU - Cluster min freq ~.691 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x00001310" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu3 gpu2 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x00001311" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- qvr level cpu3 gpu3 -->
|
||||
<!-- B CPU - Cluster min freq ~.768 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~2.2 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~.576 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.516 Ghz -->
|
||||
<!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
|
||||
<!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
|
||||
<!-- Idefinite Duration -->
|
||||
<Config
|
||||
Id="0x00001312" Enable="true" Target="blair" Timeout="0"
|
||||
Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
|
||||
0x42804000, 0x6, 0x42808000, 0x0"/>
|
||||
|
||||
<!-- sustained performance -->
|
||||
<!-- B CPU - Cluster min freq uncapped -->
|
||||
<!-- L CPU - Cluster min freq uncapped -->
|
||||
<!-- B CPU - Cluster max freq ~1.22 GHz -->
|
||||
<!-- L CPU - Cluster max freq ~1.22 Ghz -->
|
||||
<!-- GPU - min freq 275Mhz -->
|
||||
<!-- GPU - max freq 400Mhz -->
|
||||
<!-- GPUBW freq uncapped -->
|
||||
<Config
|
||||
Id="0x00001206" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
|
||||
0X4280C000, 0x113, 0X42810000, 0x190, 0x42814000, 0x0"/>
|
||||
|
||||
<!-- vr mode -->
|
||||
<!-- B CPU - Cluster min freq ~1.22 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~0.940 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~1.90 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.70 Ghz -->
|
||||
<!-- GPU - min freq 275Mhz -->
|
||||
<!-- GPU - max freq 625Mhz -->
|
||||
<!-- GPUBW uncapped -->
|
||||
<Config
|
||||
Id="0x00001207" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40800000, 0x4CC, 0x40800100, 0x3AC, 0x40804000, 0x76C, 0x40804100, 0x6C0,
|
||||
0X4280C000, 0x113, 0X4280C000, 0x271, 0x42814000, 0x0"/>
|
||||
|
||||
<!-- vr mode sustained performance -->
|
||||
<!-- B CPU - Cluster min freq ~1.22 Ghz -->
|
||||
<!-- L CPU - Cluster min freq ~1.22 Ghz -->
|
||||
<!-- B CPU - Cluster max freq ~1.22 Ghz -->
|
||||
<!-- L CPU - Cluster max freq ~1.22 Ghz -->
|
||||
<!-- GPU - min freq 400Mhz -->
|
||||
<!-- GPU - max freq 400Mhz -->
|
||||
<!-- GPUBW uncapped -->
|
||||
<Config
|
||||
Id="0x00001301" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40800000, 0x4CC, 0x40800100, 0x4CC, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
|
||||
0X4280C000, 0x190, 0X42810000, 0x190, 0x42814000, 0x0"/>
|
||||
|
||||
<!-- 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 CORE 4 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 5 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 6 SCHED LOAD BOOST -->
|
||||
<!--L CPU CORE 7 SCHED LOAD BOOST -->
|
||||
<!--L CPU cluster min freq of 1113Mhz -->
|
||||
<!--CPUBW HWMON - Set sample_ms 50 -->
|
||||
<!--CPUBW HWMON - Set io_percent 100 -->
|
||||
<!--CPUBW HWMON - Set up_scale 0 -->
|
||||
<!--L CPU core ctl min cpus 6 -->
|
||||
<!--Set uclamp latency sensitivity to 1 -->
|
||||
<!--Enable sched prefer spread 1 -->
|
||||
<!--Set sched_prefer_spread to 2 -->
|
||||
<!--Set sched_boost to 2 -->
|
||||
<Config
|
||||
Id="0x00001336" Enable="true" Timeout="0" Target="blair"
|
||||
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
|
||||
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
|
||||
0x40800100, 1113, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
|
||||
0x40CEC000, 0x1, 0x40CA8000, 0x1,
|
||||
0x40CA8000, 0x2, 0x40C00000, 0x2"/>
|
||||
|
||||
</Powerhint>
|
||||
</HintConfigs>
|
||||
-597
@@ -1,597 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"Name": "FreezerState",
|
||||
"Controller": "freezer",
|
||||
"File": "cgroup.freeze"
|
||||
}
|
||||
],
|
||||
|
||||
"Profiles": [
|
||||
{
|
||||
"Name": "HighEnergySaving",
|
||||
"Actions": [
|
||||
{
|
||||
"Name": "JoinCgroup",
|
||||
"Params":
|
||||
{
|
||||
"Controller": "cpu",
|
||||
"Path": "background"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Frozen",
|
||||
"Actions": [
|
||||
{
|
||||
"Name": "SetAttribute",
|
||||
"Params":
|
||||
{
|
||||
"Name": "FreezerState",
|
||||
"Value": "1"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Unfrozen",
|
||||
"Actions": [
|
||||
{
|
||||
"Name": "SetAttribute",
|
||||
"Params":
|
||||
{
|
||||
"Name": "FreezerState",
|
||||
"Value": "0"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "10000000"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -103,7 +103,6 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/motorola/sm6375-common/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/motorola/sm6375-common/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/motorola/sm6375-common/proprietary/vendor/etc/init/vendor.qti.hardware.eid@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.eid@1.0-service.rc \
|
||||
vendor/motorola/sm6375-common/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/motorola/sm6375-common/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/motorola/sm6375-common/proprietary/vendor/etc/init/vendor.qti.hardware.servicetracker@1.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.servicetracker@1.2-service.rc \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/init/vendor.qti.hardware.soter@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.soter@1.0-service.rc \
|
||||
@@ -117,14 +116,7 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_blair/video_system_specs.json:$(TARGET_COPY_OUT_VENDOR)/etc/media_blair/video_system_specs.json \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_holi/video_system_specs.json:$(TARGET_COPY_OUT_VENDOR)/etc/media_holi/video_system_specs.json \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/perf/commonresourceconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/commonresourceconfigs.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/perf/commonsysnodesconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/commonsysnodesconfigs.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/perf/perfboostsconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfboostsconfig.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/perf/perfconfigstore.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfconfigstore.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/perf/targetconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/targetconfig.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/perf/targetresourceconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/targetresourceconfigs.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml \
|
||||
vendor/motorola/sm6375-common/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/motorola/sm6375-common/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/motorola/sm6375-common/proprietary/vendor/etc/qcril_database/upgrade/config/12.0_config.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/config/12.0_config.sql \
|
||||
@@ -202,7 +194,6 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/snapdragon_color_libs_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/snapdragon_color_libs_config.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/ssg/ta_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/ta_config.json \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/ssg/tz_whitelist.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/tz_whitelist.json \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/wfdconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wfdconfig.xml \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/wifi/aoa_cldb_falcon.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/aoa_cldb_falcon.bin \
|
||||
vendor/motorola/sm6375-common/proprietary/vendor/etc/wifi/aoa_cldb_swl14.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/aoa_cldb_swl14.bin \
|
||||
@@ -390,9 +381,6 @@ PRODUCT_PACKAGES += \
|
||||
libmmosal_vendor \
|
||||
libmulawdec \
|
||||
libnetmgr \
|
||||
libperfconfig \
|
||||
libperfgluelayer \
|
||||
libperfioctl \
|
||||
libqcci_legacy \
|
||||
libqcmaputils \
|
||||
libqdi \
|
||||
@@ -406,9 +394,6 @@ PRODUCT_PACKAGES += \
|
||||
libqmi_encdec \
|
||||
libqmi_legacy \
|
||||
libqmiservices \
|
||||
libqti-perfd-client \
|
||||
libqti-perfd \
|
||||
libqti-util \
|
||||
libqtigef \
|
||||
libscveCommon \
|
||||
libscveCommon_stub \
|
||||
@@ -435,8 +420,6 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.vpp@1.3 \
|
||||
vendor.qti.hardware.vpp@2.0 \
|
||||
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 \
|
||||
libDxHdcp \
|
||||
libFileMux_proprietary \
|
||||
@@ -539,7 +522,6 @@ PRODUCT_PACKAGES += \
|
||||
libkeymasterprovision \
|
||||
libkeymasterutils \
|
||||
liblbs_core \
|
||||
liblearningmodule \
|
||||
libloadalgo_stub \
|
||||
libloc_api_v02 \
|
||||
libloc_api_wds \
|
||||
@@ -549,7 +531,6 @@ PRODUCT_PACKAGES += \
|
||||
liblowi_client \
|
||||
liblqe \
|
||||
libmdmcutback \
|
||||
libmeters \
|
||||
libminkdescriptor \
|
||||
libminksocket \
|
||||
libmotext_inf \
|
||||
@@ -576,8 +557,6 @@ PRODUCT_PACKAGES += \
|
||||
libqrtrclient \
|
||||
libqseed3 \
|
||||
libqsocket \
|
||||
libqti-iopd-client \
|
||||
libqti-iopd \
|
||||
libqtikeymaster4 \
|
||||
librcc \
|
||||
librcmask \
|
||||
@@ -657,8 +636,6 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.data.qmi@1.0 \
|
||||
vendor.qti.hardware.eid@1.0 \
|
||||
vendor.qti.hardware.fm@1.0_vendor \
|
||||
vendor.qti.hardware.iop@1.0 \
|
||||
vendor.qti.hardware.iop@2.0 \
|
||||
vendor.qti.hardware.mwqemadapter@1.0 \
|
||||
vendor.qti.hardware.qccsyshal@1.0 \
|
||||
vendor.qti.hardware.qteeconnector@1.0 \
|
||||
@@ -852,16 +829,12 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.alarm@1.0-service \
|
||||
vendor.qti.hardware.capabilityconfigstore@1.0-service \
|
||||
vendor.qti.hardware.eid@1.0-service \
|
||||
vendor.qti.hardware.perf@2.2-service \
|
||||
vendor.qti.hardware.sensorscalibrate@1.0-service \
|
||||
vendor.qti.hardware.servicetracker@1.2-service \
|
||||
vendor.qti.hardware.soter@1.0-service \
|
||||
vendor.qti.media.c2@1.0-service \
|
||||
ims_rtp_daemon \
|
||||
imsdaemon \
|
||||
init.kernel.post_boot-blair \
|
||||
init.kernel.post_boot-holi \
|
||||
init.kernel.post_boot \
|
||||
init.qcom.sensors \
|
||||
init.qti.chg_policy \
|
||||
init.qti.kernel \
|
||||
|
||||
Reference in New Issue
Block a user