Merge "power: tuning of camera open and close" into power.lnx.5.0
diff --git a/config/parrot/powerhint.xml b/config/parrot/powerhint.xml
index 6e24a52..4984277 100644
--- a/config/parrot/powerhint.xml
+++ b/config/parrot/powerhint.xml
@@ -58,76 +58,94 @@
<!--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 -->
- <!--Set uclamp latency sensitiv40CF4000,002D0028ity to 1 -->
+ <!--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, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F,
- 0x43034000, 0x21, 0x40CE0000, 0x002D0028, 0x40CF4000, 0x002D0028,
- 0x40CEC000, 0x1, 0x43048000, 0x32"/>
+ 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 940, Max Freq 1804 -->
+ <!--L CPU Min Freq 940Mhz, Max Freq 1.5Ghz -->
<!--Sched downmigrate/group_downmigrate 40, Upmigrate/group_upmigrate 45 -->
- <!--Set uclamp latency sensitivity to 1 -->
+ <!--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, 0xFFFFFFFA, 0x4143C100, 940, 0x41440100, 0x5F,
- 0x43034000, 0x21, 0x40800100, 940, 0x40804100, 1804, 0x40CE0000, 0x002D0028,
- 0x40CF4000, 0x002D0028, 0x40CEC000, 0x1, 0x43048000, 0x32"/>
+ 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 -->
- <!--Set uclamp latency sensitivity to 1 -->
+ <!--B CPU core ctl min cpus 4 -->
<!--AB_SCALE - 50 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="parrot"
- Resources="0x40C68100, 0xFFFFFFFA, 0x43034000, 0x21, 0x40CE0000, 0x0023001E,
- 0x40CF4000, 0x0023001E, 0x40CEC000, 0x1, 0x43048000, 0x32"/>
+ Resources="0x40C68100, -10, 0x40C68000, -10, 0x43034000, 0x21, 0x40804100, 1497,
+ 0x40CE0000, 0x0023001E, 0x40CF4000, 0x0023001E, 0x41000000, 0x4, 0x43048000, 0x32,
+ 0x43020000, 100"/>
<!-- 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 -->
- <!--Set uclamp latency sensitivity to 1 -->
+ <!--B CPU core ctl min cpus 4 -->
+ <!--CPU-DDR BWMON - io percent 100 -->
<Config
Id="0x00001333" Enable="true" Timeout="0" Target="parrot"
- Resources="0x40C68100, 0xFFFFFFFA, 0x43034000, 0x21, 0x40800100, 0x459,
- 0x40CE0000, 0x0023001E, 0x40CF4000, 0x0023001E, 0x40CEC000, 0x1"/>
+ 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 -->
- <!--Set uclamp latency sensitivity to 1 -->
+ <!--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, 0xFFFFFFFA, 0x43034000, 0x21, 0x40800100, 0x459,
- 0x40CEC000, 0x1"/>
+ 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 1804 -->
- <!--Set uclamp latency sensitivity to 1 -->
+ <!--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, 0xFFFFFFFA, 0x4143C100, 940, 0x43034000, 0x21,
- 0x40800100, 1113, 0x40804100, 1804, 0x40CEC000, 0x1, 0x43048000, 0x32"/>
+ 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 -->
@@ -298,26 +316,26 @@
<!-- 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_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, 0XFFF, 0x40800000, 0XFFF,
- 0x40804100, 0XFFF, 0x40800100, 0XFFF"/>
+ 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, 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_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, 0XFFF, 0x40800000, 0XFFF,
- 0x40804100, 0XFFF, 0x40800100, 0XFFF"/>
+ Resources="0x40400000, 0x1, 0x40C00000, 0x1, 0x40804000, 0X834, 0x40800000, 0X834,
+ 0x40804100, 0X708, 0x40800100, 0X708"/>
<!-- camera snapshot tunings-->
<!-- MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1 -->