pass-hal: tm2: Change the resource name for bus/gpu and frequency of bus device 00/150000/1 accepted/tizen/4.0/unified/20170920.081534 accepted/tizen/unified/20170920.081133 submit/tizen/20170920.004419 submit/tizen_4.0/20170920.004041 tizen_4.0.IoT.p1_release
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 13 Sep 2017 05:28:11 +0000 (14:28 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 14 Sep 2017 02:43:04 +0000 (11:43 +0900)
The devfreq framework in the mainline kernel uses the 'devfreqX' format
for the device name through sysfs. According to the changed resource name
of memory bus/GPU on TM2, this patch changes the resource name.

And, the previous frequency of MIF (Memory Interface) in the
pass-resource3.conf used the frequency of DMC (Dyanamic Memory Controller)
instead of the real MIF's frequency. So, this patch changes the
real frequency for MIF block.

Change-Id: I39d61d2a8f75abc189fb24c7d55465d7b137c6c0
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
scripts/pass-resource3.conf
scripts/pass.conf

index 2b8b368..080e9fb 100644 (file)
@@ -8,19 +8,19 @@ pass_min_level=0
 pass_max_level=4
 
 [Level0]
-limit_min_freq=78000000
+limit_min_freq=138000000
 
 [Level1]
-limit_min_freq=413000000
+limit_min_freq=165000000
 
 [Level2]
-limit_min_freq=543000000
+limit_min_freq=207000000
 
 [Level3]
-limit_min_freq=667000000
+limit_min_freq=275000000
 
 [Level4]
-limit_min_freq=825000000
+limit_min_freq=413000000
 
 ############################
 ### Add list of scenario ###
index 2b1a81e..45ddf3b 100644 (file)
@@ -26,17 +26,17 @@ pass_num_cpus=4
 
 [PassResource2]
 pass_res_type=bus
-pass_res_name=soc:memory_bus@0
+pass_res_name=devfreq1
 pass_path_conf_file=/etc/pass/pass-resource2.conf
 
 [PassResource3]
 pass_res_type=bus
-pass_res_name=soc:memory_bus@1
+pass_res_name=devfreq11
 pass_path_conf_file=/etc/pass/pass-resource3.conf
 
 [PassResource4]
 pass_res_type=gpu
-pass_res_name=14ac0000.mali
+pass_res_name=devfreq0
 pass_res_thermal_name=thermal_zone2
 pass_path_conf_file=/etc/pass/pass-resource4.conf