pass-hal: tm2: Add pass_res_thermal_name properties for CPU and GPU 46/137646/4
authorWook Song <wook16.song@samsung.com>
Fri, 7 Jul 2017 02:42:51 +0000 (11:42 +0900)
committerWook Song <wook16.song@samsung.com>
Fri, 7 Jul 2017 05:48:45 +0000 (14:48 +0900)
This patch adds new pass_res_thermal_name properties and their values
for the CPU and GPU resources to the 'pass.conf' file.

Change-Id: I5a9b257bb668cd4187921377d29c54d7a5376f47
Signed-off-by: Wook Song <wook16.song@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
scripts/pass.conf

index 9892cba6b0d2e8216d5ac4f1ccefbf5b8d353236..8575acb813c71e57a46399c36e3a70a273265b8a 100644 (file)
@@ -9,6 +9,7 @@ pass_num_resources=5
 [PassResource0]
 pass_res_type=cpu
 pass_res_name=cpu0
+pass_res_thermal_name=thermal_zone3
 pass_path_conf_file=/etc/pass/pass-resource0.conf
 pass_path_load_table=/sys/kernel/debug/cpufreq/cpu0/load_table
 pass_first_cpu=0
@@ -17,6 +18,7 @@ pass_num_cpus=4
 [PassResource1]
 pass_res_type=cpu
 pass_res_name=cpu4
+pass_res_thermal_name=thermal_zone0
 pass_path_conf_file=/etc/pass/pass-resource1.conf
 pass_path_load_table=/sys/kernel/debug/cpufreq/cpu4/load_table
 pass_first_cpu=4
@@ -35,4 +37,5 @@ pass_path_conf_file=/etc/pass/pass-resource3.conf
 [PassResource4]
 pass_res_type=gpu
 pass_res_name=14ac0000.mali
+pass_res_thermal_name=thermal_zone2
 pass_path_conf_file=/etc/pass/pass-resource4.conf