Merge tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power into lineage-21.0
"LA.UM.9.12.r1-16200-SMxx50.QSSI12.0"
* tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power:
power: Modify powerhint for encode case
power: Enable powerhint for khaje
Power: Specify stable AIDL version number
Power:Changes made for Bengal powerhint.xml
Power: Correcting target name in powerhint.xml
Power : Clean up of opcodes in powerhints
power: add check for shared pointer
Kona Powerhint: Change the VR hints
qvr powerhints
Power: update powerhint for Single rank DDR
Power : Modified make file to include Trinket
Power : AIDL support for Trinket
power: update power hint data for lagoon
Power: Tuned scheduler for 480FPS use-case
Power : Modified make file to include Bengal
power: update power hint data for lagoon
Power: Updating camera settings
Power: Updating camera settings
power : Modified make file to include Talos
power: Add supported modes
power: Add supported modes
power: Added copyrights info in xml.
power: conversion from hidl to aidl.
power: Added copyrights info in xml
Power: Up/down scheduler Tuning for 480FPS use-case
power : opcode for sample_ms
Conflicts:
Android.mk
Power.cpp
power-vendor-product.mk
power.xml
Change-Id: Ic5b9e4380c940cacf06183b3613a60e2b3404d6f
diff --git a/.gitupstream b/.gitupstream
new file mode 100644
index 0000000..d9d65c5
--- /dev/null
+++ b/.gitupstream
@@ -0,0 +1 @@
+https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power
diff --git a/Android.mk b/Android.mk
index fa2a3e4..c92cde7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,14 +7,12 @@
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
-ifneq ( ,$(filter 11 R ,$(PLATFORM_VERSION)))
-LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils android.hardware.power-ndk_platform libbinder_ndk
-else
-LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils android.hardware.power-V1-ndk_platform libbinder_ndk
-endif
+# KEYSTONE(I1132378f14428bf511f3cea4f419e90a6e89f823,b/181709127)
+LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libxml2 libbase libutils libbinder_ndk android.hardware.power-V3-ndk
+
LOCAL_HEADER_LIBRARIES += libutils_headers
LOCAL_HEADER_LIBRARIES += libhardware_headers
-LOCAL_SRC_FILES := power-common.c metadata-parser.c utils.c list.c hint-data.c powerhintparser.c Power.cpp main.cpp
+LOCAL_SRC_FILES := power-common.c metadata-parser.c utils.c list.c hint-data.c powerhintparser.c Power.cpp main.cpp PowerHintSession.cpp
LOCAL_C_INCLUDES := external/libxml2/include \
external/icu/icu4c/source/common
@@ -91,4 +89,3 @@
LOCAL_VINTF_FRAGMENTS := power.xml
include $(BUILD_EXECUTABLE)
endif
-
diff --git a/Power.cpp b/Power.cpp
index 260ad4c..0820013 100644
--- a/Power.cpp
+++ b/Power.cpp
@@ -25,11 +25,16 @@
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Changes from Qualcomm Innovation Center are provided under the following license:
+ * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause-Clear
*/
#define LOG_TAG "QTI PowerHAL"
#include "Power.h"
+#include "PowerHintSession.h"
#include <android-base/logging.h>
@@ -63,7 +68,6 @@
case Mode::DOUBLE_TAP_TO_WAKE:
case Mode::LOW_POWER:
case Mode::LAUNCH:
- case Mode::EXPENSIVE_RENDERING:
case Mode::DEVICE_IDLE:
case Mode::DISPLAY_INACTIVE:
case Mode::AUDIO_STREAMING_LOW_LATENCY:
@@ -74,6 +78,9 @@
case Mode::VR:
LOG(INFO) << "Mode " << static_cast<int32_t>(type) << "Not Supported";
break;
+ case Mode::EXPENSIVE_RENDERING:
+ set_expensive_rendering(enabled);
+ break;
case Mode::INTERACTIVE:
setInteractive(enabled);
power_hint(POWER_HINT_INTERACTION, NULL);
@@ -93,6 +100,13 @@
LOG(INFO) << "Power isModeSupported: " << static_cast<int32_t>(type);
switch(type){
+ case Mode::EXPENSIVE_RENDERING:
+ if (is_expensive_rendering_supported()) {
+ *_aidl_return = true;
+ } else {
+ *_aidl_return = false;
+ }
+ break;
case Mode::INTERACTIVE:
case Mode::SUSTAINED_PERFORMANCE:
case Mode::FIXED_PERFORMANCE:
@@ -116,9 +130,26 @@
*_aidl_return = false;
return ndk::ScopedAStatus::ok();
}
+ndk::ScopedAStatus Power::createHintSession(int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, int64_t durationNanos,
+ std::shared_ptr<IPowerHintSession>* _aidl_return) {
+ LOG(INFO) << "Power createHintSession";
+ if (threadIds.size() == 0) {
+ LOG(ERROR) << "Error: threadIds.size() shouldn't be " << threadIds.size();
+ *_aidl_return = nullptr;
+ return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
+ }
+ *_aidl_return = setPowerHintSession();
+ return ndk::ScopedAStatus::ok();
+}
+
+ndk::ScopedAStatus Power::getHintSessionPreferredRate(int64_t* outNanoseconds) {
+ LOG(INFO) << "Power getHintSessionPreferredRate";
+ *outNanoseconds = getSessionPreferredRate();
+ return ndk::ScopedAStatus::ok();
+}
} // namespace impl
} // namespace power
} // namespace hardware
} // namespace android
-} // namespace aidl
\ No newline at end of file
+} // namespace aidl
diff --git a/Power.h b/Power.h
index c7c42b0..a66f4a2 100644
--- a/Power.h
+++ b/Power.h
@@ -48,6 +48,11 @@
ndk::ScopedAStatus isModeSupported(Mode type, bool* _aidl_return) override;
ndk::ScopedAStatus setBoost(Boost type, int32_t durationMs) override;
ndk::ScopedAStatus isBoostSupported(Boost type, bool* _aidl_return) override;
+ ndk::ScopedAStatus createHintSession(int32_t tgid, int32_t uid,
+ const std::vector<int32_t>& threadIds,
+ int64_t durationNanos,
+ std::shared_ptr<IPowerHintSession>* _aidl_return) override;
+ ndk::ScopedAStatus getHintSessionPreferredRate(int64_t* outNanoseconds) override;
};
} // namespace impl
diff --git a/PowerHintSession.cpp b/PowerHintSession.cpp
new file mode 100644
index 0000000..c466947
--- /dev/null
+++ b/PowerHintSession.cpp
@@ -0,0 +1,33 @@
+/*
+* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+* SPDX-License-Identifier: BSD-3-Clause-Clear
+*/
+
+#include "PowerHintSession.h"
+#include <android-base/logging.h>
+#define LOG_TAG "QTI PowerHAL"
+
+std::shared_ptr<aidl::android::hardware::power::IPowerHintSession> setPowerHintSession(){
+ std::shared_ptr<aidl::android::hardware::power::IPowerHintSession> mPowerSession = ndk::SharedRefBase::make<PowerHintSessionImpl>();
+ return mPowerSession;
+}
+
+int64_t getSessionPreferredRate(){
+ return 16666666L;
+}
+
+ndk::ScopedAStatus PowerHintSessionImpl::updateTargetWorkDuration(int64_t in_targetDurationNanos){
+ return ndk::ScopedAStatus::ok();
+ }
+ndk::ScopedAStatus PowerHintSessionImpl::reportActualWorkDuration(const std::vector<::aidl::android::hardware::power::WorkDuration>& in_durations){
+ return ndk::ScopedAStatus::ok();
+ }
+ndk::ScopedAStatus PowerHintSessionImpl::pause(){
+ return ndk::ScopedAStatus::ok();
+ }
+ndk::ScopedAStatus PowerHintSessionImpl::resume(){
+ return ndk::ScopedAStatus::ok();
+}
+ndk::ScopedAStatus PowerHintSessionImpl::close(){
+ return ndk::ScopedAStatus::ok();
+}
diff --git a/PowerHintSession.h b/PowerHintSession.h
new file mode 100644
index 0000000..3491b26
--- /dev/null
+++ b/PowerHintSession.h
@@ -0,0 +1,24 @@
+/*
+* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+* SPDX-License-Identifier: BSD-3-Clause-Clear
+*/
+
+#ifndef __POWERHINTSESSION__
+#define __POWERHINTSESSION__
+
+#include <aidl/android/hardware/power/WorkDuration.h>
+#include <aidl/android/hardware/power/BnPowerHintSession.h>
+
+std::shared_ptr<aidl::android::hardware::power::IPowerHintSession> setPowerHintSession();
+int64_t getSessionPreferredRate();
+
+class PowerHintSessionImpl : public aidl::android::hardware::power::BnPowerHintSession{
+public:
+ ndk::ScopedAStatus updateTargetWorkDuration(int64_t targetDurationNanos) override;
+ ndk::ScopedAStatus reportActualWorkDuration(
+ const std::vector<aidl::android::hardware::power::WorkDuration>& durations) override;
+ ndk::ScopedAStatus pause() override;
+ ndk::ScopedAStatus resume() override;
+ ndk::ScopedAStatus close() override;
+};
+#endif /* __POWERHINTSESSION__ */
diff --git a/config/anorak/powerhint.xml b/config/anorak/powerhint.xml
new file mode 100644
index 0000000..33c03b2
--- /dev/null
+++ b/config/anorak/powerhint.xml
@@ -0,0 +1,456 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Changes from Qualcomm Innovation Center are provided under the following
+ * license:
+ *Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification,are permitted (subject to the limitations in the disclaimer
+ * below) provided that the following conditions are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer inthe
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of Qualcomm Innovation Center, Inc. nor the names
+ * of its contributors may be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+
+ * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
+ * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+ <!--video encode 30 fps-->
+ <Config
+ Id="0x00001203" Enable="true" Target="anorak"
+ Resources="" />
+
+ <!--sustained performance-->
+ <Config
+ Id="0x00001206" Enable="true" Target="anorak"
+ Resources=""/>
+
+ <!--vr mode-->
+ <Config
+ Id="0x00001207" Enable="true" Target="anorak"
+ Resources=""/>
+
+ <!--vr mode sustained performance-->
+ <Config
+ Id="0x00001301" Enable="true" Target="anorak"
+ Resources=""/>
+
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.9 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.691 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~1.9 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 681 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="anorak" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x780, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x2B3, 0x40804200, 0x780, 0x42804000, 0x9, 0x42808000, 0x0, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--L CPU - max freq 729000 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40804100, 0x339, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 547 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85 -->
+ <!--DOWNMIGRATE - 10 85 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--camera HFR 120/240 fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 8k30-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 40 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001335" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0028000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--video encode HFR 480 fps-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0x40C -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0x4CC -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <!-- MPCTLV3_CPUBW_HWMON_SAMPLE_MS , 0x0A -->
+ <!-- MPCTLV3_CPUBW_HWMON_IO_PERCENT, 0x50 -->
+ <!-- MPCTLV3_CPUBW_HWMON_HYST_OPT, 0 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- <Config -->
+ <!-- Id="0x00001337" Enable="true" Timeout="0" Target="anorak" -->
+ <!-- Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X687, 0x40800000, 0X687, -->
+ <!-- 0x40804100, 0X660, 0x40800100, 0X660, 0x40800200, 0X8C6, 0x40804200, 0X8C6"/> -->
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- <Config -->
+ <!-- Id="0x00001338" Enable="true" Timeout="0" Target="anorak" -->
+ <!-- Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X687, 0x40800000, 0X687, -->
+ <!-- 0x40804100, 0X660, 0x40800100, 0X660, 0x40800200, 0X8C6, 0x40804200, 0X8C6"/> -->
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to 1.132GHz -->
+ <!-- Gold cluster min freq to 1.363GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x40400000, 0x1, 0x40800100, 0x46C, 0x40800000, 0x553, 0x40C20000, 0X14,
+ 0x40C1C000, 0X1E"/>
+
+ <!-- decode 240 fps tunings-->
+ <!--L CPU - max freq 700000 -->
+ <Config
+ Id="0X00001505" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x40804100, 0x2BC"/>
+
+ <!-- video decode 30 fps non secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- video decode 30 fps secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="anorak"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm light mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x81" Enable="true" Timeout="0" Taget="anorak"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm medium mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x82" Enable="true" Timeout="0" Taget="anorak"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm deep mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x83" Enable="true" Timeout="0" Taget="anorak"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm release mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x80" Enable="true" Timeout="0" Taget="anorak"
+ Resources="0x40800000, 0XA"/>
+
+ </Powerhint>
+</HintConfigs>
diff --git a/config/crow/powerhint.xml b/config/crow/powerhint.xml
new file mode 100644
index 0000000..8e3dcab
--- /dev/null
+++ b/config/crow/powerhint.xml
@@ -0,0 +1,399 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Changes from Qualcomm Innovation Center are provided under the following license
+ * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause-Clear
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+ <!-- video decode 30 fps non secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- video decode 30 fps secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40800000, 0XA"/>
+
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--L CPU - max freq 9020000 -->
+ <!--B CPU - Disable Core Control -->
+ <!--GROUP UPMIGRATE - 35 -->
+ <!--GROUP DOWNMIGRATE - 30 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 80-->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="crow"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40804100, 0x386, 0x41008000, 0, 0x40CF4000, 0x0023001E, 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550050, 0x43048000, 0x32"/>
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 547 -->
+ <!--L CPU max freq 9020000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 35 85 -->
+ <!--DOWNMIGRATE - 30 85 -->
+ <!--B CPU - Disable Core Control -->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="crow"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x386, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x43048000, 0x32"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1075000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="crow"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x433, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x43048000, 0x32"/>
+
+ <!-- camera HFR -->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1075000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 85-->
+ <!--B CPU - Disable Core Control -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="crow"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x433, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550055, 0x41008000, 0"/>
+
+ <!--video encode HFR 480 fps-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <!-- same settings for all the qvr power levels intentionally -->
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="crow" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- sustained performance -->
+ <!-- Prime CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- Prime CPU - Cluster max freq ~940Mhz -->
+ <!-- B CPU - Cluster max freq ~1.382 GHz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min freq 285Mhz -->
+ <!-- GPU - max freq 443Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40800200, 0x0, 0x40800000, 0x0, 0x40800100, 0x0, 0x40804200, 0x3AC,
+ 0x40804000, 0x566, 0x40804100, 0x433, 0X4280C000, 0x11D, 0X42810000, 0x1BB,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode -->
+ <!-- Prime CPU - Cluster min freq ~940 Mhz -->
+ <!-- B CPU - Cluster min freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.902 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~2.169 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.804 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.651 Ghz -->
+ <!-- GPU - min freq 285Mhz -->
+ <!-- GPU - max freq 540Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40800200, 0x3AC, 0x40800000, 0x46C, 0x40800100, 0x386, 0x40804200, 0x879,
+ 0x40804000, 0x70C, 0x40804100, 0x673, 0X4280C000, 0x11D, 0X4280C000, 0x21C,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode sustained performance -->
+ <!-- Prime CPU - Cluster min freq ~940 Mhz -->
+ <!-- B CPU - Cluster min freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.075 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~940 Mhz -->
+ <!-- B CPU - Cluster max freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min freq 443Mhz -->
+ <!-- GPU - max freq 443Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40800200, 0x3AC, 0x40800000, 0x46C, 0x40800100, 0x433, 0x40804200, 0x3AC,
+ 0x40804000, 0x46C, 0x40804100, 0x433, 0X4280C000, 0x1BB, 0X42810000, 0x1BB,
+ 0x42814000, 0x0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz-->
+ <!-- CPU-LLC BWMON - Set max freq 933mhz -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X70C, 0x40800000, 0X70C,
+ 0x40804100, 0X673, 0x40800100, 0X673, 0x40800200, 0X879, 0x40804200, 0X879,
+ 0x41848000, 0xE3C88"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz -->
+ <!-- CPU-LLC BWMON - Set max freq 933mhz -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40400000, 0x1, 0x40804000, 0X70C, 0x40800000, 0X70C,
+ 0x40804100, 0X673, 0x40800100, 0X673, 0x40800200, 0X879, 0x40804200, 0X879,
+ 0x41848000, 0xE3C88"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to ~1.075 GHz -->
+ <!-- Gold cluster min freq to 1.113 GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <!-- CPU-LLC BWMON - Set max freq 933mhz -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="crow"
+ Resources="0x40400000, 0x1, 0x40800100, 0x433, 0x40800000, 0x459, 0x40CE0000, 0x001E0014,
+ 0x41848000, 0xE3C88"/>
+ </Powerhint>
+</HintConfigs>
diff --git a/config/holi/powerhint.xml b/config/holi/powerhint.xml
new file mode 100644
index 0000000..914e8cf
--- /dev/null
+++ b/config/holi/powerhint.xml
@@ -0,0 +1,624 @@
+<?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 -->
+ <!--Enable sched prefer spread 1 -->
+ <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, 0x1"/>
+
+
+ <!-- camera 60 FPS -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--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 -->
+ <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, 0x1"/>
+
+
+ <!-- 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 -->
+ <!--Enable sched prefer spread 1 -->
+ <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, 0x1"/>
+
+ <!-- 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 -->
+ <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"/>
+
+
+ <!-- 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 -->
+ <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"/>
+
+
+ <!-- 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 -->
+ <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"/>
+
+ </Powerhint>
+</HintConfigs>
diff --git a/config/kalama/powerhint.xml b/config/kalama/powerhint.xml
new file mode 100644
index 0000000..0d7aec7
--- /dev/null
+++ b/config/kalama/powerhint.xml
@@ -0,0 +1,456 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Changes from Qualcomm Innovation Center are provided under the following
+ * license:
+ *Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification,are permitted (subject to the limitations in the disclaimer
+ * below) provided that the following conditions are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer inthe
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of Qualcomm Innovation Center, Inc. nor the names
+ * of its contributors may be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+
+ * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
+ * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+ <!--video encode 30 fps-->
+ <Config
+ Id="0x00001203" Enable="true" Target="kalama"
+ Resources="" />
+
+ <!--sustained performance-->
+ <Config
+ Id="0x00001206" Enable="true" Target="kalama"
+ Resources=""/>
+
+ <!--vr mode-->
+ <Config
+ Id="0x00001207" Enable="true" Target="kalama"
+ Resources=""/>
+
+ <!--vr mode sustained performance-->
+ <Config
+ Id="0x00001301" Enable="true" Target="kalama"
+ Resources=""/>
+
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="kalama" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--L CPU - max freq 729000 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40804100, 0x339, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 547 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85 -->
+ <!--DOWNMIGRATE - 10 85 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--camera HFR 120/240 fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 8k30-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 40 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001335" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0028000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--video encode HFR 480 fps-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0x40C -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0x4CC -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <!-- MPCTLV3_CPUBW_HWMON_SAMPLE_MS , 0x0A -->
+ <!-- MPCTLV3_CPUBW_HWMON_IO_PERCENT, 0x50 -->
+ <!-- MPCTLV3_CPUBW_HWMON_HYST_OPT, 0 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X687, 0x40800000, 0X687,
+ 0x40804100, 0X660, 0x40800100, 0X660, 0x40800200, 0X8C6, 0x40804200, 0X8C6"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X687, 0x40800000, 0X687,
+ 0x40804100, 0X660, 0x40800100, 0X660, 0x40800200, 0X8C6, 0x40804200, 0X8C6"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to 1.132GHz -->
+ <!-- Gold cluster min freq to 1.363GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x40400000, 0x1, 0x40800100, 0x46C, 0x40800000, 0x553, 0x40C20000, 0X14,
+ 0x40C1C000, 0X1E"/>
+
+ <!-- decode 240 fps tunings-->
+ <!--L CPU - max freq 700000 -->
+ <Config
+ Id="0X00001505" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x40804100, 0x2BC"/>
+
+ <!-- video decode 30 fps non secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- video decode 30 fps secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="kalama"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm light mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x81" Enable="true" Timeout="0" Taget="kalama"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm medium mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x82" Enable="true" Timeout="0" Taget="kalama"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm deep mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x83" Enable="true" Timeout="0" Taget="kalama"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm release mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x80" Enable="true" Timeout="0" Taget="kalama"
+ Resources="0x40800000, 0XA"/>
+
+ </Powerhint>
+</HintConfigs>
diff --git a/config/lahaina/powerhint.xml b/config/lahaina/powerhint.xml
new file mode 100755
index 0000000..687ddd7
--- /dev/null
+++ b/config/lahaina/powerhint.xml
@@ -0,0 +1,966 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/*Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ /*
+ * Changes from Qualcomm Innovation Center are provided under the following license:
+ *
+ * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted (subject to the limitations in the
+ * disclaimer below) provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
+ * GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
+ * HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+ * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+ <!--video encode 30 fps-->
+ <Config
+ Id="0x00001203" Enable="true" Target="lahaina"
+ Resources="" />
+
+ <!--video decode 240fps-->
+ <Config
+ Id="0x00001501" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x43010000, 59" />
+
+ <!--sustained performance-->
+ <Config
+ Id="0x00001206" Enable="true" Target="lahaina"
+ Resources=""/>
+ <!--vr mode-->
+ <Config
+ Id="0x00001207" Enable="true" Target="lahaina"
+ Resources=""/>
+
+ <!--vr mode sustained performance-->
+ <Config
+ Id="0x00001301" Enable="true" Target="lahaina"
+ Resources=""/>
+
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="lahaina" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840,
+ 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3, 0x41000200, 0x1"/>
+
+
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
+ <!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
+
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU min freq 998400 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
+ <!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU min freq 1209600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
+ <!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
+
+ <!--camera 8k30-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU min freq 1209600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
+ <!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
+ <Config
+ Id="0x00001335" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
+
+ <!--video encode HFR 480 fps-->
+ <!--MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1-->
+ <!--MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, CPU_SILVER_LEVEL_15 (1036800 kHz)-->
+ <!--MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, CPU_GOLD_LEVEL_12 (1228800 kHz)-->
+ <!--MPCTLV3_SCHED_DOWNMIGRATE, 0x14-->
+ <!--MPCTLV3_SCHED_UPMIGRATE, 0x1E-->
+ <!--CPU-LLC BWMON - Set sample_ms 10 -->
+ <!--CPU-LLC BWMON - Set io_percent 80 -->
+ <!--CPU-LLC BWMON - Set hyst_length hyst_trigger hist memory 0 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14, 0x40C1C000, 0x1E, 0x4183C000, 0x0A, 0x41834000, 0x50, 0x41838000, 0"/>
+
+ <!--camera 30FPS SHDR-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU min freq 998400 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
+ <!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
+
+ <!--camera 30FPS SHDR-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU min freq 998400 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
+ <!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x41820000, 0x21, 0x41808000, 0x64, 0x4180C000, 0, 0x4300C000, 0x21,
+ 0x43004000, 0x64, 0x43008000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100,
+ 0x63,0x43420000, 0xC8"/>
+
+ <!--camera preview -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample_ms 20 -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000, 0x14"/>
+
+ <!-- camera 30fps encode -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample_ms 20 -->
+ <!--L CPU Min Freq 940, Max Freq 1804 -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_migrate 45 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000, 0x14,
+ 0x40800100, 940, 0x40804100, 1804, 0x40C58000, 40, 0x40C54000, 45, 0x40C20000, 40, 0x40C1C000, 45"/>
+
+ <!-- camera 60 FPS -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample ms 20 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14"/>
+
+ <!-- camera HFR -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample ms 20 -->
+ <!--CPU CORE 0 Min freq to 1.075Ghz -->
+ <!--CPU CORE 4 Min Freq 940Mhz -->
+ <!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_migrate 35 -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x433, 0x40800000, 940, 0x40C58000, 30, 0x40C54000, 35, 0x40C20000, 30, 0x40C1C000, 35"/>
+
+
+ <!-- HFR 480fps -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample ms 20 -->
+ <!--CPU CORE 0 Min freq to 1.075Ghz -->
+ <!--CPU CORE 4 Min Freq 940Mhz -->
+ <!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_migrate 35 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x433, 0x40800000, 940, 0x40C58000, 30, 0x40C54000, 35, 0x40C20000, 30, 0x40C1C000, 35"/>
+
+
+ <!-- same settings for all the qvr power levels intentionally -->
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.400 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="shima" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x82C, 0x40800100, 0x266, 0x40804100, 0x433,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+
+ <!-- sustained performance -->
+ <!-- Prime CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.152 GHz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min freq 275Mhz -->
+ <!-- GPU - max freq 400Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40800200, 0x0, 0x40800000, 0x0, 0x40800100, 0x0, 0x40804200, 0x446,
+ 0x40804000, 0x480, 0x40804100, 0x433, 0X4280C000, 0x113, 0X42810000, 0x190,
+ 0x42814000, 0x0"/>
+
+
+ <!-- vr mode -->
+ <!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.152 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.864 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~2.188 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.90 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.651 Ghz -->
+ <!-- GPU - min freq 275Mhz -->
+ <!-- GPU - max freq 625Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40800200, 0x446, 0x40800000, 0x480, 0x40800100, 0x360, 0x40804200, 0x88C,
+ 0x40804000, 0x76C, 0x40804100, 0x673, 0X4280C000, 0x113, 0X4280C000, 0x271,
+ 0x42814000, 0x0"/>
+
+
+ <!-- vr mode sustained performance -->
+ <!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.152 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.075 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min freq 400Mhz -->
+ <!-- GPU - max freq 400Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="shima"
+ Resources="0x40800200, 0x446, 0x40800000, 0x480, 0x40800100, 0x433, 0x40804200, 0x446,
+ 0x40804000, 0x480, 0x40804100, 0x433, 0X4280C000, 0x190, 0X42810000, 0x190,
+ 0x42814000, 0x0"/>
+
+ <!--camera preview -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample_ms 20 -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000,
+ 0x14, 0x40C58000, 40, 0x40C54000, 45, 0x40C20000, 40, 0x40C1C000, 45, 0x40CEC000, 0x1"/>
+
+ <!-- camera 30fps encode -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample_ms 20 -->
+ <!--L CPU Min Freq 940, Max Freq 1804 -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000,
+ 0x14, 0x40800100, 940, 0x40804100, 1804, 0x40C58000, 40, 0x40C54000, 45, 0x40C20000, 40,
+ 0x40C1C000, 45, 0x40CEC000, 0x1"/>
+
+ <!-- camera 60 FPS -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample ms 20 -->
+ <!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_upmigrate 35 -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40C58000, 30, 0x40C54000, 35,
+ 0x40C20000, 30, 0x40C1C000, 35, 0x40CEC000, 0x1"/>
+
+ <!-- camera HFR -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample ms 20 -->
+ <!--CPU CORE 0 Min freq to 1.152Ghz -->
+ <!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_upmigrate 35 -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x480, 0x40C58000, 30,
+ 0x40C54000, 35, 0x40C20000, 30, 0x40C1C000, 35, 0x40CEC000, 0x1"/>
+
+ <!-- HFR 480fps -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample ms 20 -->
+ <!--CPU CORE 0 Min freq to 1.152Ghz -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4183C000, 0x14, 0x43034000, 0x14, 0x40800100, 0x480, 0x40CEC000, 0x1"/>
+
+ <!-- multi camera 30fps-->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample_ms 20 -->
+ <!--L CPU Min Freq 940, Max Freq 1804 -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <Config
+ Id="0x00001336" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x4183C000, 0x14, 0x43034000, 0x14,
+ 0x40800100, 940, 0x40804100, 1804, 0x40CEC000, 0x1"/>
+
+ <!-- camera 30FPS SHDR -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-LLCC BWMON - Set sample_ms 20 -->
+ <!--LLCC-DDR BWMON - Set sample_ms 20 -->
+ <!--L CPU Min Freq 1324, Max Freq 1804 -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
+ <!--Sched_Prefer_spread 2 -->
+ <!--B CPU Min Freq 940 -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F, 0x4183C000, 0x14, 0x43034000,
+ 0x14, 0x40800100, 1324, 0x40804100, 1804, 0x40C58000, 40, 0x40C54000, 45, 0x40C20000, 40,
+ 0x40C1C000, 45, 0x40CA8000, 0x2, 0x40800000, 940"/>
+
+ <!-- same settings for all the qvr power levels intentionally -->
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.806 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.3 Ghz -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 900 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="yupik" Timeout="0"
+ Resources="0x40800200, 0x326, 0x40804200, 0x94C, 0x40800000, 0x2B3,
+ 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x480,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- sustained performance -->
+ <!-- Prime CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- Prime CPU - Cluster max freq ~1.056 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.324 GHz -->
+ <!-- L CPU - Cluster max freq ~1.075 Ghz -->
+ <!-- GPU - min freq 315Mhz -->
+ <!-- GPU - max freq 450Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40800200, 0x0, 0x40800000, 0x0, 0x40800100, 0x0, 0x40804200, 0x420,
+ 0x40804000, 0x52C, 0x40804100, 0x433, 0X4280C000, 0x13B, 0X42810000, 0x1C2,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode -->
+ <!-- Prime CPU - Cluster min freq ~1.056 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.228 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.940 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~2.208 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.90 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.804 Ghz -->
+ <!-- GPU - min freq 315Mhz -->
+ <!-- GPU - max freq 700Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40800200, 0x420, 0x40800000, 0x4CC, 0x40800100, 0x3AC, 0x40804200, 0x8A0,
+ 0x40804000, 0x76C, 0x40804100, 0x70C, 0X4280C000, 0x13B, 0X4280C000, 0x2BC,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode sustained performance -->
+ <!-- Prime CPU - Cluster min freq ~1.056 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.228 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.152 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~1.056 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.228 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.152 Ghz -->
+ <!-- GPU - min freq 450Mhz -->
+ <!-- GPU - max freq 450Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="yupik"
+ Resources="0x40800200, 0x420, 0x40800000, 0x4CC, 0x40800100, 0x480, 0x40804200, 0x420,
+ 0x40804000, 0x4CC, 0x40804100, 0x480, 0X4280C000, 0x1C2, 0X42810000, 0x1C2,
+ 0x42814000, 0x0"/>
+
+ </Powerhint>
+</HintConfigs>
diff --git a/config/neo/powerhint.xml b/config/neo/powerhint.xml
new file mode 100644
index 0000000..a57ab12
--- /dev/null
+++ b/config/neo/powerhint.xml
@@ -0,0 +1,393 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+ /*
+ * Changes from Qualcomm Innovation Center are provided under the following license:
+ *
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted (subject to the limitations in the
+ * disclaimer below) provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
+ * GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
+ * HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+ * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU - Disable schedutil PL -->
+ <!--CPU - Set hispeed load 99 -->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444000, 0, 0x41440000, 0x63, 0x43048000, 0x32"/>
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--CPU - Disable schedutil PL -->
+ <!--CPU - Set hispeed load 99 -->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38 , 0x41444000, 0, 0x41440000, 0x63, 0x43048000, 0x32"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1094000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x446, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x43048000, 0x32"/>
+
+ <!-- camera HFR -->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1094000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 85-->
+ <!--B CPU - Disable Core Control -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x446, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550055, 0x41008000, 0"/>
+
+ <!--video encode HFR 480 fps-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <!-- same settings for all the qvr power levels intentionally -->
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="neo_la" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- sustained performance -->
+ <!-- Prime CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.382 GHz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min freq 285Mhz -->
+ <!-- GPU - max freq 443Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x40800200, 0x0, 0x40800000, 0x0, 0x40800100, 0x0, 0x40804200, 0x446,
+ 0x40804000, 0x566, 0x40804100, 0x446, 0X4280C000, 0x11D, 0X42810000, 0x1BB,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode -->
+ <!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.902 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~2.169 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.804 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.651 Ghz -->
+ <!-- GPU - min freq 285Mhz -->
+ <!-- GPU - max freq 540Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x40800200, 0x446, 0x40800000, 0x46C, 0x40800100, 0x386, 0x40804200, 0x879,
+ 0x40804000, 0x70C, 0x40804100, 0x673, 0X4280C000, 0x11D, 0X4280C000, 0x21C,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode sustained performance -->
+ <!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min freq 443Mhz -->
+ <!-- GPU - max freq 443Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x40800200, 0x446, 0x40800000, 0x46C, 0x40800100, 0x446, 0x40804200, 0x446,
+ 0x40804000, 0x46C, 0x40804100, 0x446, 0X4280C000, 0x1BB, 0X42810000, 0x1BB,
+ 0x42814000, 0x0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, Max value -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, Max value -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFFF, 0x40800000, 0XFFFF, 0x4303C000, 0x17BA38"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, Max value -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, Max value -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFFF, 0x40800000, 0XFFFF, 0x4303C000, 0x17BA38"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Cluster min freq to 1.113 GHz -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="neo_la"
+ Resources="0x40400000, 0x1, 0x40800000, 0x459"/>
+
+ </Powerhint>
+</HintConfigs>
+
+
diff --git a/config/parrot/powerhint.xml b/config/parrot/powerhint.xml
new file mode 100644
index 0000000..139db71
--- /dev/null
+++ b/config/parrot/powerhint.xml
@@ -0,0 +1,696 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Changes from Qualcomm Innovation Center are provided under the following license:
+ *
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause-Clear
+ *
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+
+ <!-- decode 240 fps tunings-->
+ <!--L CPU - max freq 700000 -->
+ <Config
+ Id="0X00001505" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40804100, 0x2BC"/>
+
+ <!-- video decode 30 fps non secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- video decode 30 fps secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40800000, 0XA"/>
+
+ <!--camera preview -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU MAX freq 1.5Ghz -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--AB-SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 940, 0x41440100, 0x5F,
+ 0x43034000, 0x21, 0x40804100, 1497, 0x40CE0000, 0x002D0028, 0x40CF4000, 0x002D0028,
+ 0x41000000, 0x4, 0x43048000, 0x32, 0x43020000, 100"/>
+
+ <!-- camera 30fps encode -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--L CPU Min Freq 940Mhz, Max Freq 1.5Ghz -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 940, 0x41440100, 0x5F,
+ 0x43034000, 0x21, 0x40800100, 940, 0x40804100, 1497, 0x40CE0000, 0x002D0028,
+ 0x40CF4000, 0x002D0028, 0x41000000, 0x4, 0x43048000, 0x32, 0x43020000, 100"/>
+
+ <!-- camera 60 FPS -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU MAX freq 1.5Ghz -->
+ <!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_upmigrate 35 -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x43034000, 0x21, 0x40804100, 1497,
+ 0x40CE0000, 0x0023001E, 0x40CF4000, 0x0023001E, 0x41000000, 0x4, 0x43048000, 0x32,
+ 0x43020000, 100, 0x4303C000, 0x17BA38"/>
+
+ <!-- camera sHDR -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--L CPU Min Freq 940Mhz, Max Freq 1.5Ghz -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <Config
+ Id="0x00001340" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 940, 0x41440100, 0x5F,
+ 0x43034000, 0x21, 0x40800100, 940, 0x40804100, 1497, 0x40CE0000, 0x002D0028,
+ 0x40CF4000, 0x002D0028, 0x41000000, 0x4, 0x43048000, 0x32, 0x43020000, 100,
+ 0x4303C000, 0x17BA38"/>
+
+
+ <!-- camera HFR -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--CPU-DDR BWMON - Set sample ms 33 -->
+ <!--CPU CORE 0 Min freq to 1.113Ghz -->
+ <!--CPU MAX freq 1.5Ghz -->
+ <!--Sched downmigrate/group_downmigrate 30, Upmigrate/group_upmigrate 35 -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x43034000, 0x21, 0x40800100, 0x459,
+ 0x40804100, 1497, 0x40CE0000, 0x0023001E, 0x40CF4000, 0x0023001E, 0x41000000, 0x4,
+ 0x43020000, 100"/>
+
+ <!-- HFR 480fps -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--CPU-DDR BWMON - Set sample ms 33 -->
+ <!--CPU CORE 0 Min freq to 1.113Ghz -->
+ <!--CPU MAX freq 1.5Ghz -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x43034000, 0x21, 0x40800100, 0x459,
+ 0x40804100, 1497, 0x41000000, 0x4, 0x43020000, 100"/>
+
+ <!-- multi camera 30fps-->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--CPU-DDR BWMON - Set sample_ms 20 -->
+ <!--L CPU Min Freq 940, Max Freq 1.5Ghz -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001336" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 940, 0x43034000, 0x21,
+ 0x40800100, 1113, 0x40804100, 1497, 0x41000000, 0x4, 0x43048000, 0x32, 0x43020000, 100"/>
+
+ <!-- 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.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="parrot" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- sustained performance -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster max freq ~1.344 GHz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min freq 345Mhz -->
+ <!-- GPU - max freq 500Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x540, 0x40804100, 0x459,
+ 0X4280C000, 0x159, 0X42810000, 0x1F4, 0x42814000, 0x0"/>
+
+ <!-- vr mode -->
+ <!-- B CPU - Cluster min freq ~1.190 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.940 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.90 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.804 Ghz -->
+ <!-- GPU - min freq 345Mhz -->
+ <!-- GPU - max freq 734Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40800000, 0x4A6, 0x40800100, 0x3AC, 0x40804000, 0x76C, 0x40804100, 0x70C,
+ 0X4280C000, 0x159, 0X4280C000, 0x2DE, 0x42814000, 0x0"/>
+
+ <!-- vr mode sustained performance -->
+ <!-- B CPU - Cluster min freq ~1.190 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.113 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.190 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min freq 500Mhz -->
+ <!-- GPU - max freq 500Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40800000, 0x4A6, 0x40800100, 0x459, 0x40804000, 0x4A6, 0x40804100, 0x459,
+ 0X4280C000, 0x1F4, 0X42810000, 0x1F4, 0x42814000, 0x0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, ~1.8 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.8 Ghz -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X834, 0x40800000, 0X834,
+ 0x40804100, 0X708, 0x40800100, 0X708"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0,~1.8 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.8 Ghz -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X834, 0x40800000, 0X834,
+ 0x40804100, 0X708, 0x40800100, 0X708"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to ~1.113 GHz -->
+ <!-- Gold cluster min freq to 1.190 GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="parrot"
+ Resources="0x40400000, 0x1, 0x40800100, 0x459, 0x40800000, 0x4A6, 0x40CE0000, 0x001E0014,"/>
+
+ <!-- decode 240 fps tunings-->
+ <!--L CPU - max freq 700000 -->
+ <Config
+ Id="0X00001505" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40804100, 0x2BC"/>
+
+ <!-- video decode 30 fps non secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- video decode 30 fps secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40800000, 0XA"/>
+
+ <!--camera preview -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 920Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU MAX freq 1.8Ghz -->
+ <!--B CPU core ctl min cpus 6 -->
+ <!--AB-SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 920, 0x41440100, 0x5F,
+ 0x43034000, 0x21, 0x40804100, 1804,0x41000100, 6,0x43048000, 0x32, 0x43020000, 100"/>
+
+ <!-- camera 30fps encode -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 920Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--L CPU Min Freq 920Mhz, Max Freq 1.8Ghz -->
+ <!--B CPU core ctl min cpus 6 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 920, 0x41440100, 0x5F,
+ 0x43034000, 0x21, 0x40800100, 920, 0x40804100, 1804, 0x41000100, 6,
+ 0x43048000, 0x32, 0x43020000, 100"/>
+
+ <!-- camera 60 FPS -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU MAX freq 1.8Ghz -->
+ <!--B CPU core ctl min cpus 6 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x43034000, 0x21, 0x40804100, 1804,
+ 0x41000100, 6, 0x43048000, 0x32, 0x43020000, 100, 0x4303C000, 0x17BA38"/>
+
+ <!-- camera sHDR -->
+ <!--L CPU SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--L CPU - Set hispeed load 95 -->
+ <!--CPU-DDR BWMON - Set sample_ms 33 -->
+ <!--L CPU Min Freq 940Mhz, Max Freq 1.5Ghz -->
+ <!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <Config
+ Id="0x00001340" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 940, 0x41440100, 0x5F,
+ 0x43034000, 0x21, 0x40800100, 940, 0x40804100, 1497, 0x40CE0000, 0x002D0028,
+ 0x40CF4000, 0x002D0028, 0x41000000, 0x4, 0x43048000, 0x32, 0x43020000, 100,
+ 0x4303C000, 0x17BA38"/>
+
+
+ <!-- camera HFR -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--CPU-DDR BWMON - Set sample ms 33 -->
+ <!--CPU CORE 0 Min freq to 1Ghz -->
+ <!--CPU MAX freq 1.8Ghz -->
+ <!--B CPU core ctl min cpus 6 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x43034000, 0x21, 0x40800100, 0x3E8,
+ 0x40804100, 1804, 0x41000100, 6,
+ 0x43020000, 100"/>
+
+ <!-- HFR 480fps -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--CPU-DDR BWMON - Set sample ms 33 -->
+ <!--CPU CORE 0 Min freq to 1.113Ghz -->
+ <!--CPU MAX freq 1.5Ghz -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x43034000, 0x21, 0x40800100, 0x459,
+ 0x40804100, 1497, 0x41000000, 0x4, 0x43020000, 100"/>
+
+ <!-- multi camera 30fps-->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--B CPU SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 940Mhz -->
+ <!--CPU-DDR BWMON - Set sample_ms 20 -->
+ <!--L CPU Min Freq 940, Max Freq 1.5Ghz -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
+ <Config
+ Id="0x00001336" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x4143C100, 940, 0x43034000, 0x21,
+ 0x40800100, 1113, 0x40804100, 1497, 0x41000000, 0x4, 0x43048000, 0x32, 0x43020000, 100"/>
+
+ <!-- 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.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.131 Ghz -->
+ <!-- L CPU - Cluster min freq ~.691 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min pwrlevel 7 (freq 345 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 940 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="ravelin" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x853, 0x40800100, 0x2B3, 0x40804100, 0x459,
+ 0x42804000, 0x7, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- sustained performance -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster max freq ~1.344 GHz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min freq 345Mhz -->
+ <!-- GPU - max freq 500Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x540, 0x40804100, 0x459,
+ 0X4280C000, 0x159, 0X42810000, 0x1F4, 0x42814000, 0x0"/>
+
+ <!-- vr mode -->
+ <!-- B CPU - Cluster min freq ~1.190 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.940 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.90 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.804 Ghz -->
+ <!-- GPU - min freq 345Mhz -->
+ <!-- GPU - max freq 734Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40800000, 0x4A6, 0x40800100, 0x3AC, 0x40804000, 0x76C, 0x40804100, 0x70C,
+ 0X4280C000, 0x159, 0X4280C000, 0x2DE, 0x42814000, 0x0"/>
+
+ <!-- vr mode sustained performance -->
+ <!-- B CPU - Cluster min freq ~1.190 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.113 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.190 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.113 Ghz -->
+ <!-- GPU - min freq 500Mhz -->
+ <!-- GPU - max freq 500Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40800000, 0x4A6, 0x40800100, 0x459, 0x40804000, 0x4A6, 0x40804100, 0x459,
+ 0X4280C000, 0x1F4, 0X42810000, 0x1F4, 0x42814000, 0x0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, ~1.8 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.8 Ghz -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X834, 0x40800000, 0X834,
+ 0x40804100, 0X708, 0x40800100, 0X708"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~2.1 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0,~1.8 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.8 Ghz -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40400000, 0x1, 0x40804000, 0X834, 0x40800000, 0X834,
+ 0x40804100, 0X708, 0x40800100, 0X708"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to ~1.113 GHz -->
+ <!-- Gold cluster min freq to 1.190 GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="ravelin"
+ Resources="0x40400000, 0x1, 0x40800100, 0x459, 0x40800000, 0x4A6, 0x40CE0000, 0x001E0014,"/>
+
+ </Powerhint>
+</HintConfigs>
+
diff --git a/config/pineapple/powerhint.xml b/config/pineapple/powerhint.xml
new file mode 100644
index 0000000..a4d8fe7
--- /dev/null
+++ b/config/pineapple/powerhint.xml
@@ -0,0 +1,403 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause-Clear
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+ <!--video encode 30 fps-->
+ <Config
+ Id="0x00001203" Enable="true" Target="pineapple"
+ Resources="" />
+
+ <!--sustained performance-->
+ <Config
+ Id="0x00001206" Enable="true" Target="pineapple"
+ Resources=""/>
+
+ <!--vr mode-->
+ <Config
+ Id="0x00001207" Enable="true" Target="pineapple"
+ Resources=""/>
+
+ <!--vr mode sustained performance-->
+ <Config
+ Id="0x00001301" Enable="true" Target="pineapple"
+ Resources=""/>
+
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="pineapple" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--L CPU - max freq 729000 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40804100, 0x339, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 547 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85 -->
+ <!--DOWNMIGRATE - 10 85 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--camera HFR 120/240 fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 8k30-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU max freq 1113600 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 40 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <!--SCHED_IDLE_ENOUGH Set 0 -->
+ <!--L CPU - Set hispeed freq 556800 -->
+ <Config
+ Id="0x00001335" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x40804100, 0x459, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0028000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0, 0x43C0C000, 0, 0x4143C100, 0x22C"/>
+
+ <!--video encode HFR 480 fps-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0x40C -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0x4CC -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <!-- MPCTLV3_CPUBW_HWMON_SAMPLE_MS , 0x0A -->
+ <!-- MPCTLV3_CPUBW_HWMON_IO_PERCENT, 0x50 -->
+ <!-- MPCTLV3_CPUBW_HWMON_HYST_OPT, 0 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X687, 0x40800000, 0X687,
+ 0x40804100, 0X660, 0x40800100, 0X660, 0x40800200, 0X8C6, 0x40804200, 0X8C6"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 1632000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 1671000 -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 2016000 -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X687, 0x40800000, 0X687,
+ 0x40804100, 0X660, 0x40800100, 0X660, 0x40800200, 0X8C6, 0x40804200, 0X8C6"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to 1.132GHz -->
+ <!-- Gold cluster min freq to 1.363GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x40400000, 0x1, 0x40800100, 0x46C, 0x40800000, 0x553, 0x40C20000, 0X14,
+ 0x40C1C000, 0X1E"/>
+
+ <!-- decode 240 fps tunings-->
+ <!--L CPU - max freq 700000 -->
+ <Config
+ Id="0X00001505" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x40804100, 0x2BC"/>
+
+ <!-- video decode 30 fps non secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- video decode 30 fps secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="pineapple"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm light mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x81" Enable="true" Timeout="0" Taget="pineapple"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm medium mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x82" Enable="true" Timeout="0" Taget="pineapple"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm deep mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x83" Enable="true" Timeout="0" Taget="pineapple"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- psm release mode power hint-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0x000015E0" Type="0x80" Enable="true" Timeout="0" Taget="pineapple"
+ Resources="0x40800000, 0XA"/>
+
+ </Powerhint>
+</HintConfigs>
diff --git a/config/taro/powerhint.xml b/config/taro/powerhint.xml
new file mode 100644
index 0000000..57a4068
--- /dev/null
+++ b/config/taro/powerhint.xml
@@ -0,0 +1,1007 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Changes from Qualcomm Innovation Center are provided under the following license:
+ *
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause-Clear
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification,are permitted (subject to the limitations in the disclaimer
+ * below) provided that the following conditions are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer inthe
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of Qualcomm Innovation Center, Inc. nor the names
+ * of its contributors may be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
+ * THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+-->
+<HintConfigs>
+ <Powerhint>
+ <!--video encode 30 fps-->
+ <Config
+ Id="0x00001203" Enable="true" Target="taro"
+ Resources="" />
+
+ <Config
+ Id="0x00001203" Enable="true" Target="cape"
+ Resources="" />
+
+ <Config
+ Id="0x00001203" Enable="true" Target="ukee"
+ Resources="" />
+
+ <!--sustained performance-->
+ <Config
+ Id="0x00001206" Enable="true" Target="taro"
+ Resources=""/>
+
+ <Config
+ Id="0x00001206" Enable="true" Target="cape"
+ Resources=""/>
+
+ <Config
+ Id="0x00001206" Enable="true" Target="ukee"
+ Resources=""/>
+
+ <!--vr mode-->
+ <Config
+ Id="0x00001207" Enable="true" Target="taro"
+ Resources=""/>
+
+ <Config
+ Id="0x00001207" Enable="true" Target="cape"
+ Resources=""/>
+
+ <Config
+ Id="0x00001207" Enable="true" Target="ukee"
+ Resources=""/>
+
+ <!--vr mode sustained performance-->
+ <Config
+ Id="0x00001301" Enable="true" Target="taro"
+ Resources=""/>
+
+ <Config
+ Id="0x00001301" Enable="true" Target="cape"
+ Resources=""/>
+
+ <Config
+ Id="0x00001301" Enable="true" Target="ukee"
+ Resources=""/>
+
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130A" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130A" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130B" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130B" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130C" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130C" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130D" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130D" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130E" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130E" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130F" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x0000130F" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x00001310" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x00001310" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x00001311" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x00001311" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.902 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.092 Ghz -->
+ <!-- L CPU - Cluster min freq ~. 595 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.286 Ghz -->
+ <!-- P CPU - PRIME CPU min freq ~.921 Ghz-->
+ <!-- P CPU - PRIME CPU max freq ~2.112 Ghz -->
+ <!-- GPU - min pwrlevel 9 (freq 315 Mhz) -->
+ <!-- GPU - max pwrlevel 5 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 3 -->
+ <!-- Min Prime CPUs 1 -->
+ <!-- Indefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="taro" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x00001312" Enable="true" Target="cape" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <Config
+ Id="0x00001312" Enable="true" Target="ukee" Timeout="0"
+ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506,
+ 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x9, 0x42808000, 0x5, 0x41000000, 0x3,
+ 0x41000200, 0x1"/>
+
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--L CPU - max freq 729000 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="taro"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40804100, 0x34C, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU - max freq 691200 -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="cape"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40804100, 0x2B3, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU - min freq 691000 -->
+ <!--L CPU - max freq 691200 -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40800100, 0x2B3, 0x40804100, 0x2B3, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 547 -->
+ <!--L CPU max freq 1075200 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85 -->
+ <!--DOWNMIGRATE - 10 85 -->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="taro"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x433, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU max freq 1056000 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="cape"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x420, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU max freq 1056000 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x420, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1075200 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 50 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="taro"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x433, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU max freq 1056000 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="cape"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x420, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU max freq 1056000 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x420, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0032000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--camera 8k30-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU max freq 1075200 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 40 85-->
+ <!--DOWNMIGRATE - 10 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--L CPU - Disable Core Control -->
+ <!--P CPU - Disable Core Control -->
+ <Config
+ Id="0x00001335" Enable="true" Timeout="0" Target="taro"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x40804100, 0x433, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0028000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU max freq 1056000 -->
+ <Config
+ Id="0x00001335" Enable="true" Timeout="0" Target="cape"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x40804100, 0x420, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0028000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--L CPU max freq 1056000 -->
+ <Config
+ Id="0x00001335" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x40804100, 0x420, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0028000A, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x41008100, 0, 0x41008200, 0"/>
+
+ <!--video encode HFR 480 fps-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="taro"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="cape"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="taro"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFF, 0x40800000, 0XFFF,
+ 0x40804100, 0XFFF, 0x40800100, 0XFFF, 0x40800200, 0XFFF, 0x40804200, 0XFFF"/>
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="cape"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFF, 0x40800000, 0XFFF,
+ 0x40804100, 0XFFF, 0x40800100, 0XFFF, 0x40800200, 0XFFF, 0x40804200, 0XFFF"/>
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFF, 0x40800000, 0XFFF,
+ 0x40804100, 0XFFF, 0x40800100, 0XFFF, 0x40800200, 0XFFF, 0x40804200, 0XFFF"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="taro"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFF, 0x40800000, 0XFFF,
+ 0x40804100, 0XFFF, 0x40800100, 0XFFF, 0x40800200, 0XFFF, 0x40804200, 0XFFF"/>
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="cape"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFF, 0x40800000, 0XFFF,
+ 0x40804100, 0XFFF, 0x40800100, 0XFFF, 0x40800200, 0XFFF, 0x40804200, 0XFFF"/>
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0XFFF, 0x40800000, 0XFFF,
+ 0x40804100, 0XFFF, 0x40800100, 0XFFF, 0x40800200, 0XFFF, 0x40804200, 0XFFF"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to 1.132GHz -->
+ <!-- Gold cluster min freq to 1.363GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="taro"
+ Resources="0x40400000, 0x1, 0x40800100, 0x46C, 0x40800000, 0x553, 0x40C20000, 0X14,
+ 0x40C1C000, 0X1E"/>
+
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="cape"
+ Resources="0x40400000, 0x1, 0x40800100, 0x46C, 0x40800000, 0x52C, 0x40C20000, 0X14,
+ 0x40C1C000, 0X1E"/>
+
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x40400000, 0x1, 0x40800100, 0x46C, 0x40800000, 0x52C, 0x40C20000, 0X14,
+ 0x40C1C000, 0X1E"/>
+
+ <!-- decode 240 fps tunings-->
+ <!--L CPU - max freq 700000 -->
+ <Config
+ Id="0X00001505" Enable="true" Timeout="0" Target="taro"
+ Resources="0x40804100, 0x2BC"/>
+ <!--L CPU - max freq 691200 -->
+ <Config
+ Id="0X00001505" Enable="true" Timeout="0" Target="cape"
+ Resources="0x40804100, 0x2B3"/>
+
+ <!-- video decode 30 fps non secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="taro"
+ Resources="0x40800000, 0XA"/>
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="cape"
+ Resources="0x40800000, 0XA"/>
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40800000, 0XA"/>
+ <Config
+ Id="0X00001502" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x40800000, 0XA"/>
+
+ <!-- video decode 30 fps secure content tunings-->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="taro"
+ Resources="0x40800000, 0XA"/>
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="cape"
+ Resources="0x40800000, 0XA"/>
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40800000, 0XA"/>
+ <Config
+ Id="0X00001504" Enable="true" Timeout="0" Target="ukee"
+ Resources="0x40800000, 0XA"/>
+
+ <!--camera ZSLPreview-->
+ <!--CPU-LLC BWMON - Set sample_ms 33-->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--L CPU - max freq 9020000 -->
+ <!--B CPU - Disable Core Control -->
+ <!--GROUP UPMIGRATE - 35 -->
+ <!--GROUP DOWNMIGRATE - 30 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 80-->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63, 0x40804100, 0x386, 0x41008000, 0, 0x40CF4000, 0x0023001E, 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550050, 0x43048000, 0x32"/>
+
+ <!--camera 30fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 547 -->
+ <!--L CPU max freq 9020000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 45 85 -->
+ <!--DOWNMIGRATE - 40 85 -->
+ <!--B CPU - Disable Core Control -->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x21,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x858B8 ,0x40804100, 0x386, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x002D0028, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x43048000, 0x32"/>
+
+ <!--camera 60fps-->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1094000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 85-->
+ <!--B CPU - Disable Core Control -->
+ <!--AB_SCALE - 50-->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x446, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550055, 0x41008000, 0, 0x43048000, 0x32"/>
+
+ <!-- camera HFR -->
+ <!--CPU-LLC BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC BWMON - Set max freq 933mhz -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 16 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set min_freq 1555 -->
+ <!--L CPU max freq 1094000 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--B CPU - Disable schedutil PL -->
+ <!--B CPU - Set hispeed load 99 -->
+ <!--UPMIGRATE - 35 85-->
+ <!--DOWNMIGRATE - 30 85-->
+ <!--B CPU - Disable Core Control -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x41848000, 0xE3C88, 0x43034000, 0x10,
+ 0x43020000, 0x64, 0x43024000, 0, 0x4303C000, 0x17BA38, 0x40804100, 0x446, 0x41444100, 0, 0x41444000, 0, 0x41440000, 0x63,
+ 0x40CE0000, 0x0023001E, 0x40CE0200, 0x00550055, 0x41008000, 0"/>
+
+ <!--video encode HFR 480 fps-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, 0xFFF -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14,
+ 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+
+ <!-- same settings for all the qvr power levels intentionally -->
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- Prime CPU - Cluster min freq ~.768 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~.2.4 Ghz -->
+ <!-- B CPU - Cluster min freq ~.652 Ghz -->
+ <!-- B CPU - Cluster max freq ~.2.208 Ghz -->
+ <!-- L CPU - Cluster min freq ~.614 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min pwrlevel 4 (freq 285 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 540 Mhz) -->
+ <!-- Min Big CPUs 2 -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="diwali" Timeout="0"
+ Resources="0x40800200, 0x300, 0x40804200, 0x960, 0x40800000, 0x28C,
+ 0x40804000, 0x8A0, 0x40800100, 0x266, 0x40804100, 0x446,
+ 0x42804000, 0x4, 0x42808000, 0x0, 0x41000000, 0x2"/>
+
+ <!-- sustained performance -->
+ <!-- Prime CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.382 GHz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min freq 285Mhz -->
+ <!-- GPU - max freq 443Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40800200, 0x0, 0x40800000, 0x0, 0x40800100, 0x0, 0x40804200, 0x446,
+ 0x40804000, 0x566, 0x40804100, 0x446, 0X4280C000, 0x11D, 0X42810000, 0x1BB,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode -->
+ <!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.902 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~2.169 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.804 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.651 Ghz -->
+ <!-- GPU - min freq 285Mhz -->
+ <!-- GPU - max freq 540Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40800200, 0x446, 0x40800000, 0x46C, 0x40800100, 0x386, 0x40804200, 0x879,
+ 0x40804000, 0x70C, 0x40804100, 0x673, 0X4280C000, 0x11D, 0X4280C000, 0x21C,
+ 0x42814000, 0x0"/>
+
+ <!-- vr mode sustained performance -->
+ <!-- Prime CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster min freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.094 Ghz -->
+ <!-- Prime CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.132 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.094 Ghz -->
+ <!-- GPU - min freq 443Mhz -->
+ <!-- GPU - max freq 443Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40800200, 0x446, 0x40800000, 0x46C, 0x40800100, 0x446, 0x40804200, 0x446,
+ 0x40804000, 0x46C, 0x40804100, 0x446, 0X4280C000, 0x1BB, 0X42810000, 0x1BB,
+ 0x42814000, 0x0"/>
+
+ <!-- camera open tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz-->
+ <!-- CPU-LLC BWMON - Set max freq 933mhz -->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X70C, 0x40800000, 0X70C,
+ 0x40804100, 0X673, 0x40800100, 0X673, 0x40800200, 0X879, 0x40804200, 0X879,
+ 0x41848000, 0xE3C88"/>
+
+ <!-- camera close tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- MPCTLV3_SCHED_BOOST, 0x1 -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, ~1.804 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_LITTLE_CORE_0, ~1.651 Ghz -->
+ <!-- MPCTLV3_MIN_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz -->
+ <!-- MPCTLV3_MAX_FREQ_CLUSTER_PLUS_CORE_0, ~2.169 Ghz -->
+ <!-- CPU-LLC BWMON - Set max freq 933mhz -->
+ <Config
+ Id="0x00001338" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X70C, 0x40800000, 0X70C,
+ 0x40804100, 0X673, 0x40800100, 0X673, 0x40800200, 0X879, 0x40804200, 0X879,
+ 0x41848000, 0xE3C88"/>
+
+ <!-- camera snapshot tunings-->
+ <!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->
+ <!-- Silver cluster min freq to ~1.094 GHz -->
+ <!-- Gold cluster min freq to 1.132 GHz -->
+ <!-- MPCTLV3_SCHED_DOWNMIGRATE, 0x14 -->
+ <!-- MPCTLV3_SCHED_UPMIGRATE, 0x1E -->
+ <!-- CPU-LLC BWMON - Set max freq 933mhz -->
+ <Config
+ Id="0x00001339" Enable="true" Timeout="0" Target="diwali"
+ Resources="0x40400000, 0x1, 0x40800100, 0x446, 0x40800000, 0x46C, 0x40CE0000, 0x001E0014,
+ 0x41848000, 0xE3C88"/>
+
+ </Powerhint>
+</HintConfigs>
diff --git a/power-common.c b/power-common.c
index 0101bea..21a6d69 100644
--- a/power-common.c
+++ b/power-common.c
@@ -49,6 +49,7 @@
#include "power-common.h"
static struct hint_handles handles[NUM_HINTS];
+static int handleER = 0;
void power_init()
{
@@ -101,14 +102,33 @@
handles[hint].ref_count++;
}
else
- if (handles[hint].handle > 0)
+ if (handles[hint].handle > 0) {
if (--handles[hint].ref_count == 0) {
release_request(handles[hint].handle);
handles[hint].handle = 0;
}
+ }
else
ALOGE("Lock for hint: %X was not acquired, cannot be released", hint);
break;
+ default:
+ break;
+ }
+}
+
+bool is_expensive_rendering_supported() {
+ char property[PROPERTY_VALUE_MAX];
+ strlcpy(property, perf_get_property("vendor.perf.expensive_rendering", "0").value,
+ PROPERTY_VALUE_MAX);
+ return atoi(property) == 1 ? true : false;
+}
+
+void set_expensive_rendering(bool enabled)
+{
+ if (enabled) {
+ handleER = perf_hint_enable(PERF_HINT_EXPENSIVE_RENDERING, 0);
+ } else if (handleER > 0) {
+ release_request(handleER);
}
}
diff --git a/power-common.h b/power-common.h
index 697302a..688fb81 100644
--- a/power-common.h
+++ b/power-common.h
@@ -49,6 +49,8 @@
#define HINT_HANDLED (0)
#define HINT_NONE (-1)
+#define PERF_HINT_EXPENSIVE_RENDERING 0x000010A5
+
#include <hardware/power.h>
enum CPU_GOV_CHECK {
@@ -60,6 +62,8 @@
void power_init(void);
void power_hint(power_hint_t hint, void *data);
+bool is_expensive_rendering_supported();
+void set_expensive_rendering(bool enabled);
void set_interactive(int on);
#ifdef __cplusplus
diff --git a/power-vendor-product.mk b/power-vendor-product.mk
index 9dcae6a..59da33a 100644
--- a/power-vendor-product.mk
+++ b/power-vendor-product.mk
@@ -15,6 +15,24 @@
PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/sm6150/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
else ifeq ($(TARGET_BOARD_PLATFORM),bengal)
PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/bengal/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),lahaina)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/lahaina/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),holi)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/holi/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),taro)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/taro/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),kalama)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/kalama/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),parrot)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/parrot/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),neo)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/neo/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),anorak)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/anorak/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),pineapple)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/pineapple/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
+else ifeq ($(TARGET_BOARD_PLATFORM),crow)
+PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/crow/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
else ifeq ($(TARGET_BOARD_PLATFORM),trinket)
PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/trinket/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
endif
diff --git a/power.xml b/power.xml
index 016665e..b8c6cba 100644
--- a/power.xml
+++ b/power.xml
@@ -24,10 +24,15 @@
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Changes from Qualcomm Innovation Center are provided under the following license:
+Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+SPDX-License-Identifier: BSD-3-Clause-Clear
-->
<manifest version="1.0" type="device">
<hal format="aidl">
<name>android.hardware.power</name>
+ <version>3</version>
<fqname>IPower/default</fqname>
</hal>
</manifest>
\ No newline at end of file
diff --git a/powerhintparser.c b/powerhintparser.c
index 6d8646f..4419285 100644
--- a/powerhintparser.c
+++ b/powerhintparser.c
@@ -34,7 +34,9 @@
#include <libxml/tree.h>
#include <unistd.h>
#include "powerhintparser.h"
+#ifndef LOG_TAG
#define LOG_TAG "QTI PowerHAL"
+#endif
int parsePowerhintXML() {
diff --git a/utils.c b/utils.c
index f7f2251..d9ecb84 100644
--- a/utils.c
+++ b/utils.c
@@ -56,6 +56,7 @@
int list[], int numArgs);
static int (*perf_lock_rel)(int handle);
static int (*perf_hint)(int, const char *, int, int);
+static PropVal (*perf_get_prop)(const char *prop , const char *def_val);
static struct list_node active_hint_list_head;
const char *pkg = "QTI PowerHAL";
@@ -102,6 +103,11 @@
if (!perf_hint) {
ALOGE("Unable to get perf_hint function handle.\n");
}
+
+ perf_get_prop = dlsym(qcopt_handle, "perf_get_prop");
+ if (!perf_get_prop) {
+ ALOGE("Unable to get perf_get_prop function handle.\n");
+ }
}
}
@@ -210,6 +216,16 @@
return 0;
}
+PropVal perf_get_property(const char *prop , const char *def_val) {
+ PropVal retVal;
+ if (qcopt_handle && perf_get_prop) {
+ retVal = perf_get_prop(prop, def_val);
+ } else {
+ strlcpy(retVal.value, def_val, PROPERTY_VALUE_MAX);
+ }
+ return retVal;
+}
+
void interaction(int duration, int num_args, int opt_list[])
{
#ifdef INTERACTION_BOOST
@@ -230,7 +246,7 @@
int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[])
{
- if (duration < 0 || num_args < 1 || opt_list[0] == NULL)
+ if (duration < 0 || num_args < 1 || opt_list == NULL)
return 0;
if (qcopt_handle) {
diff --git a/utils.h b/utils.h
index 4c3dc7f..8a36c70 100644
--- a/utils.h
+++ b/utils.h
@@ -29,6 +29,10 @@
#include <cutils/properties.h>
+typedef struct {
+ char value[PROP_VALUE_MAX];
+} PropVal;
+
int sysfs_read(char *path, char *s, int num_bytes);
int sysfs_write(char *path, char *s);
int get_scaling_governor(char governor[], int size);
@@ -45,3 +49,4 @@
void release_request(int lock_handle);
int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
int perf_hint_enable(int hint_id, int duration);
+PropVal perf_get_property(const char *prop , const char *def_val);