pass-hal: tm1: Update configuration using scenario pass_level for CPU0 24/224724/1 accepted/tizen/unified/20200227.121029 submit/tizen/20200227.020232
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 11 Feb 2020 12:22:58 +0000 (21:22 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 12 Feb 2020 11:22:33 +0000 (20:22 +0900)
Change-Id: I0cd469250d80db0b331287a8c00212d892eb506a
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
scripts/pass-resource0.conf

index ade494f4975adbec35ab9d9dd8ad2f6623993a62..54645f5d7e9603001e590249f71b6d419508fab0 100644 (file)
@@ -2,40 +2,39 @@
 pass_support=1
 pass_gov_type=1
 
-pass_num_levels=7
-pass_init_level=0
-pass_min_level=0
-pass_max_level=6
+pass_num_scenario_levels=4
+pass_init_scenario_level=0
 
-[Level0]
+####################################################
+### Scenario Level for PMQoS and Thermal Monitor ###
+####################################################
+[ScenarioLevel0]
 limit_min_freq=768000
 limit_max_freq=1300000
 limit_min_cpu=0
+limit_max_cpu=4
 
-[Level1]
-limit_max_freq=1000000
-
-[Level2]
-limit_min_freq=1200000
-
-[Level3]
-limit_min_freq=1200000
-limit_min_cpu=2
-
-[Level4]
+[ScenarioLevel1]
 limit_min_freq=1300000
+limit_max_freq=1300000
+limit_min_cpu=3
+limit_max_cpu=4
 
-[Level5]
-limit_min_freq=1300000
-limit_min_cpu=2
+[ScenarioLevel2]
+limit_min_freq=768000
+limit_max_freq=768000
+limit_min_cpu=0
+limit_max_cpu=2
 
-[Level6]
-limit_min_freq=1300000
-limit_min_cpu=3
+[ScenarioLevel3]
+limit_min_freq=768000
+limit_max_freq=768000
+limit_min_cpu=0
+limit_max_cpu=1
 
-############################
-### Add list of scenario ###
-############################
+#########################
+### Scenario of PMQoS ###
+#########################
 [PassScenario]
 pass_scenario_support=yes
 pass_num_scenarios=2
@@ -43,20 +42,16 @@ pass_num_scenarios=2
 [Scenario0]
 name=AppLaunch
 support=yes
-
-min_level=6
-max_level=6
+scenario_level=1
 
 [Scenario1]
 name=UltraPowerSaving
 support=yes
+scenario_level=3
 
-min_level=1
-max_level=1
-
-########################
-### Thermal Monitor  ###
-########################
+###################################
+### Scenario of Thermal Monitor ###
+###################################
 
 # Following action name are defiend on Tizen platform.
 # The 'temperature' of thermal.scenario must be defined in descending order.
@@ -73,9 +68,10 @@ support=yes
 name=Release
 temperature=70
 timer_interval_ms=10000
+scenario_level=0
 
 [thermal.scenario1]
-support=no
+support=yes
 name=Warning
 temperature=73
 timer_interval_ms=5000
@@ -85,6 +81,7 @@ support=yes
 name=LimitAction
 temperature=75
 timer_interval_ms=3000
+scenario_level=3
 
 [thermal.scenario3]
 support=yes