From b8cafa7a5d7f690e494d6f58d8e22c650aee6edd Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Thu, 2 Feb 2017 17:35:31 +0900 Subject: [PATCH] pass: conf: Add new configuration for bus/gpu's resource This patch adds the new configuration file for bus/gpu's resource for TM2. The configuration will move to pass-hal-(board name) package. - pass-cluser2-bus0.conf - pass-cluser3-bus1.conf - pass-cluser4-gpu.conf And this patch change the section name to remove the dependency on specific h/w type as following: - 'CpufreqLevel' -> 'Level' In the 'Scenario(x)' section: - 'cpufreq_min_level' -> 'min_level' - 'cpufreq_max_level' -> 'max_level' Change-Id: Ie11d713a30c4fab9193cebb1bab9863349487c86 Signed-off-by: Chanwoo Choi --- CMakeLists.txt | 3 + packaging/pass.spec | 3 + src/pass/pass-cluster0.conf | 65 +++++++------------- src/pass/pass-cluster1.conf | 81 +++++++++--------------- src/pass/pass-cluster2.conf | 143 +++++++++++++++++++++++++++++++++++++++++++ src/pass/pass-cluster3.conf | 146 ++++++++++++++++++++++++++++++++++++++++++++ src/pass/pass-cluster4.conf | 146 ++++++++++++++++++++++++++++++++++++++++++++ src/pass/pass-micro.conf | 46 +++++++------- src/pass/pass.conf | 17 +++++- 9 files changed, 532 insertions(+), 118 deletions(-) create mode 100644 src/pass/pass-cluster2.conf create mode 100644 src/pass/pass-cluster3.conf create mode 100644 src/pass/pass-cluster4.conf diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f1ac38..b2b683a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,6 +155,9 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/${PROJECT_NAME}.conf DESTINATI INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass.conf DESTINATION /etc/pass) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster0.conf DESTINATION /etc/pass) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster1.conf DESTINATION /etc/pass) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster2.conf DESTINATION /etc/pass) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster3.conf DESTINATION /etc/pass) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster4.conf DESTINATION /etc/pass) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pmqos/pmqos.conf DESTINATION /etc/pass) CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY) diff --git a/packaging/pass.spec b/packaging/pass.spec index ba24cf2..d87e4dd 100644 --- a/packaging/pass.spec +++ b/packaging/pass.spec @@ -114,6 +114,9 @@ systemctl daemon-reload %config %{_sysconfdir}/pass/pass.conf %config %{_sysconfdir}/pass/pass-cluster0.conf %config %{_sysconfdir}/pass/pass-cluster1.conf +%config %{_sysconfdir}/pass/pass-cluster2.conf +%config %{_sysconfdir}/pass/pass-cluster3.conf +%config %{_sysconfdir}/pass/pass-cluster4.conf %config %{_sysconfdir}/pass/pmqos.conf %{_bindir}/%{daemon_name} %{_unitdir}/multi-user.target.wants/%{daemon_name}.service diff --git a/src/pass/pass-cluster0.conf b/src/pass/pass-cluster0.conf index e64e14e..f4276e4 100644 --- a/src/pass/pass-cluster0.conf +++ b/src/pass/pass-cluster0.conf @@ -1,7 +1,7 @@ [Pass] pass_compatible=samsung,tm2 pass_support=1 -pass_gov_type=1 +pass_gov_type=2 pass_num_levels=12 pass_init_level=4 @@ -17,7 +17,7 @@ pass_num_cpu_stats=20 pass_level_up_threshold=1 pass_governor_timeout=0.4 -[CpufreqLevel0] +[Level0] limit_max_freq=1000000 limit_max_cpu=1 num_down_cond=0 @@ -28,7 +28,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel1] +[Level1] limit_max_freq=1000000 limit_max_cpu=2 num_down_cond=0 @@ -41,7 +41,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel2] +[Level2] limit_max_freq=1000000 limit_max_cpu=3 num_down_cond=0 @@ -54,7 +54,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel3] +[Level3] limit_max_freq=1000000 limit_max_cpu=4 num_down_cond=0 @@ -65,7 +65,7 @@ num_left_cond_nr_running=300 num_left_cond_busy_cpu=3 num_right_cond=0 -[CpufreqLevel4] +[Level4] limit_max_freq=1200000 limit_max_cpu=1 num_down_cond=1 @@ -77,7 +77,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel5] +[Level5] limit_max_freq=1200000 limit_max_cpu=2 num_down_cond=1 @@ -91,7 +91,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel6] +[Level6] limit_max_freq=1200000 limit_max_cpu=3 num_down_cond=1 @@ -105,7 +105,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel7] +[Level7] limit_max_freq=1200000 limit_max_cpu=4 num_down_cond=1 @@ -117,7 +117,7 @@ num_left_cond_nr_running=300 num_left_cond_busy_cpu=3 num_right_cond=0 -[CpufreqLevel8] +[Level8] limit_max_freq=1300000 limit_max_cpu=1 num_down_cond=1 @@ -129,7 +129,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel9] +[Level9] limit_max_freq=1300000 limit_max_cpu=2 num_down_cond=1 @@ -143,7 +143,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel10] +[Level10] limit_max_freq=1300000 limit_max_cpu=3 num_down_cond=1 @@ -157,7 +157,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel11] +[Level11] limit_max_freq=1300000 limit_max_cpu=4 num_down_cond=1 @@ -180,8 +180,8 @@ pass_num_scenarios=28 name=AppLaunch support=yes -cpufreq_min_level=3 -cpufreq_max_level=3 +min_level=9 +max_level=11 [Scenario1] name=MtpSendFile @@ -201,24 +201,15 @@ support=no [Scenario5] name=CameraPreview -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario6] name=CameraBurstShot -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario7] name=CameraCaptureAtRec -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario8] name=Browser @@ -282,10 +273,7 @@ support=no [Scenario23] name=WebappLaunch -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario24] name=ImageViewer @@ -293,21 +281,12 @@ support=no [Scenario25] name=PowerOff -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario26] name=ProcessCrashed -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario27] name=SVoice -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no diff --git a/src/pass/pass-cluster1.conf b/src/pass/pass-cluster1.conf index 014dff5..f9213e4 100644 --- a/src/pass/pass-cluster1.conf +++ b/src/pass/pass-cluster1.conf @@ -1,7 +1,7 @@ [Pass] pass_compatible=samsung,tm2 pass_support=1 -pass_gov_type=1 +pass_gov_type=2 pass_num_levels=20 pass_init_level=4 @@ -17,7 +17,7 @@ pass_num_cpu_stats=20 pass_level_up_threshold=1 pass_governor_timeout=0.4 -[CpufreqLevel0] +[Level0] limit_max_freq=1000000 limit_max_cpu=1 num_down_cond=0 @@ -28,7 +28,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel1] +[Level1] limit_max_freq=1000000 limit_max_cpu=2 num_down_cond=0 @@ -41,7 +41,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel2] +[Level2] limit_max_freq=1000000 limit_max_cpu=3 num_down_cond=0 @@ -54,7 +54,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel3] +[Level3] limit_max_freq=1000000 limit_max_cpu=4 num_down_cond=0 @@ -65,7 +65,7 @@ num_left_cond_nr_running=300 num_left_cond_busy_cpu=3 num_right_cond=0 -[CpufreqLevel4] +[Level4] limit_max_freq=1200000 limit_max_cpu=1 num_down_cond=1 @@ -77,7 +77,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel5] +[Level5] limit_max_freq=1200000 limit_max_cpu=2 num_down_cond=1 @@ -91,7 +91,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel6] +[Level6] limit_max_freq=1200000 limit_max_cpu=3 num_down_cond=1 @@ -105,7 +105,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel7] +[Level7] limit_max_freq=1200000 limit_max_cpu=4 num_down_cond=1 @@ -117,7 +117,7 @@ num_left_cond_nr_running=300 num_left_cond_busy_cpu=3 num_right_cond=0 -[CpufreqLevel8] +[Level8] limit_max_freq=1300000 limit_max_cpu=1 num_down_cond=1 @@ -129,7 +129,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel9] +[Level9] limit_max_freq=1300000 limit_max_cpu=2 num_down_cond=1 @@ -143,7 +143,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel10] +[Level10] limit_max_freq=1300000 limit_max_cpu=3 num_down_cond=1 @@ -157,7 +157,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel11] +[Level11] limit_max_freq=1300000 limit_max_cpu=4 num_down_cond=1 @@ -169,7 +169,7 @@ num_left_cond_nr_running=300 num_left_cond_busy_cpu=3 num_right_cond=0 -[CpufreqLevel12] +[Level12] limit_max_freq=1500000 limit_max_cpu=1 num_down_cond=1 @@ -181,7 +181,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel13] +[Level13] limit_max_freq=1500000 limit_max_cpu=2 num_down_cond=1 @@ -195,7 +195,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel14] +[Level14] limit_max_freq=1500000 limit_max_cpu=3 num_down_cond=1 @@ -209,7 +209,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel15] +[Level15] limit_max_freq=1500000 limit_max_cpu=4 num_down_cond=1 @@ -221,7 +221,7 @@ num_left_cond_nr_running=300 num_left_cond_busy_cpu=3 num_right_cond=0 -[CpufreqLevel16] +[Level16] limit_max_freq=1700000 limit_max_cpu=1 num_down_cond=1 @@ -232,7 +232,7 @@ num_right_cond=1 num_right_cond_nr_running=100 num_right_cond_busy_cpu=1 -[CpufreqLevel17] +[Level17] limit_max_freq=1700000 limit_max_cpu=2 num_down_cond=1 @@ -245,7 +245,7 @@ num_right_cond=1 num_right_cond_nr_running=200 num_right_cond_busy_cpu=2 -[CpufreqLevel18] +[Level18] limit_max_freq=1700000 limit_max_cpu=3 num_down_cond=1 @@ -258,7 +258,7 @@ num_right_cond=1 num_right_cond_nr_running=300 num_right_cond_busy_cpu=3 -[CpufreqLevel19] +[Level19] limit_max_freq=1700000 limit_max_cpu=4 num_down_cond=1 @@ -280,8 +280,8 @@ pass_num_scenarios=28 name=AppLaunch support=yes -cpufreq_min_level=3 -cpufreq_max_level=3 +min_level=9 +max_level=11 [Scenario1] name=MtpSendFile @@ -301,24 +301,15 @@ support=no [Scenario5] name=CameraPreview -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario6] name=CameraBurstShot -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario7] name=CameraCaptureAtRec -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario8] name=Browser @@ -382,10 +373,7 @@ support=no [Scenario23] name=WebappLaunch -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario24] name=ImageViewer @@ -393,21 +381,12 @@ support=no [Scenario25] name=PowerOff -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario26] name=ProcessCrashed -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no [Scenario27] name=SVoice -support=yes - -cpufreq_min_level=3 -cpufreq_max_level=3 +support=no diff --git a/src/pass/pass-cluster2.conf b/src/pass/pass-cluster2.conf new file mode 100644 index 0000000..25d4454 --- /dev/null +++ b/src/pass/pass-cluster2.conf @@ -0,0 +1,143 @@ +[Pass] +pass_compatible=samsung,tm2 +pass_support=1 +pass_gov_type=0 + +pass_num_levels=4 +pass_init_level=0 +pass_min_level=0 +pass_max_level=3 + +[Level0] +limit_min_freq=100000000 + +[Level1] +limit_min_freq=267000000 + +[Level2] +limit_min_freq=334000000 + +[Level3] +limit_min_freq=400000000 + +############################ +### Add list of scenario ### +############################ +[PassScenario] +pass_scenario_support=yes +pass_num_scenarios=28 + +[Scenario0] +name=AppLaunch +support=yes + +min_level=3 +max_level=3 + +[Scenario1] +name=MtpSendFile +support=no + +[Scenario2] +name=PowerSaving +support=no + +[Scenario3] +name=LowBattery +support=no + +[Scenario4] +name=Emergency +support=no + +[Scenario5] +name=CameraPreview +support=no + +[Scenario6] +name=CameraBurstShot +support=no + +[Scenario7] +name=CameraCaptureAtRec +support=no + +[Scenario8] +name=Browser +support=no + +[Scenario9] +name=BrowserDash +support=no + +[Scenario10] +name=BrowserJavaScript +support=no + +[Scenario11] +name=BrowserLoading +support=no + +[Scenario12] +name=BrowserScroll +support=no + +[Scenario13] +name=GpuWakeup +support=no + +[Scenario14] +name=WifiThroughput +support=no + +[Scenario15] +name=SmemoZoom +support=no + +[Scenario16] +name=IMEInput +support=no + +[Scenario17] +name=CallSound +support=no + +[Scenario18] +name=LockScreen +support=no + +[Scenario19] +name=GalleryRotation +support=no + +[Scenario20] +name=ReservedMode +support=no + +[Scenario21] +name=GetDefaultLockTime +support=no + +[Scenario22] +name=GpuBoost +support=no + +[Scenario23] +name=WebappLaunch +support=no + +[Scenario24] +name=ImageViewer +support=no + +[Scenario25] +name=PowerOff +support=no + +[Scenario26] +name=ProcessCrashed +support=no + +[Scenario27] +name=SVoice +support=no diff --git a/src/pass/pass-cluster3.conf b/src/pass/pass-cluster3.conf new file mode 100644 index 0000000..ae09cc0 --- /dev/null +++ b/src/pass/pass-cluster3.conf @@ -0,0 +1,146 @@ +[Pass] +pass_compatible=samsung,tm2 +pass_support=1 +pass_gov_type=0 + +pass_num_levels=5 +pass_init_level=0 +pass_min_level=0 +pass_max_level=4 + +[Level0] +limit_min_freq=78000000 + +[Level1] +limit_min_freq=413000000 + +[Level2] +limit_min_freq=543000000 + +[Level3] +limit_min_freq=667000000 + +[Level4] +limit_min_freq=825000000 + +############################ +### Add list of scenario ### +############################ +[PassScenario] +pass_scenario_support=yes +pass_num_scenarios=28 + +[Scenario0] +name=AppLaunch +support=yes + +min_level=4 +max_level=4 + +[Scenario1] +name=MtpSendFile +support=no + +[Scenario2] +name=PowerSaving +support=no + +[Scenario3] +name=LowBattery +support=no + +[Scenario4] +name=Emergency +support=no + +[Scenario5] +name=CameraPreview +support=no + +[Scenario6] +name=CameraBurstShot +support=no + +[Scenario7] +name=CameraCaptureAtRec +support=no + +[Scenario8] +name=Browser +support=no + +[Scenario9] +name=BrowserDash +support=no + +[Scenario10] +name=BrowserJavaScript +support=no + +[Scenario11] +name=BrowserLoading +support=no + +[Scenario12] +name=BrowserScroll +support=no + +[Scenario13] +name=GpuWakeup +support=no + +[Scenario14] +name=WifiThroughput +support=no + +[Scenario15] +name=SmemoZoom +support=no + +[Scenario16] +name=IMEInput +support=no + +[Scenario17] +name=CallSound +support=no + +[Scenario18] +name=LockScreen +support=no + +[Scenario19] +name=GalleryRotation +support=no + +[Scenario20] +name=ReservedMode +support=no + +[Scenario21] +name=GetDefaultLockTime +support=no + +[Scenario22] +name=GpuBoost +support=no + +[Scenario23] +name=WebappLaunch +support=no + +[Scenario24] +name=ImageViewer +support=no + +[Scenario25] +name=PowerOff +support=no + +[Scenario26] +name=ProcessCrashed +support=no + +[Scenario27] +name=SVoice +support=no diff --git a/src/pass/pass-cluster4.conf b/src/pass/pass-cluster4.conf new file mode 100644 index 0000000..91d8aae --- /dev/null +++ b/src/pass/pass-cluster4.conf @@ -0,0 +1,146 @@ +[Pass] +pass_compatible=samsung,tm2 +pass_support=1 +pass_gov_type=0 + +pass_num_levels=5 +pass_init_level=0 +pass_min_level=0 +pass_max_level=4 + +[Level0] +limit_min_freq=160000000 + +[Level1] +limit_min_freq=500000000 + +[Level2] +limit_min_freq=550000000 + +[Level3] +limit_min_freq=600000000 + +[Level4] +limit_min_freq=700000000 + +############################ +### Add list of scenario ### +############################ +[PassScenario] +pass_scenario_support=yes +pass_num_scenarios=28 + +[Scenario0] +name=AppLaunch +support=yes + +min_level=4 +max_level=4 + +[Scenario1] +name=MtpSendFile +support=no + +[Scenario2] +name=PowerSaving +support=no + +[Scenario3] +name=LowBattery +support=no + +[Scenario4] +name=Emergency +support=no + +[Scenario5] +name=CameraPreview +support=no + +[Scenario6] +name=CameraBurstShot +support=no + +[Scenario7] +name=CameraCaptureAtRec +support=no + +[Scenario8] +name=Browser +support=no + +[Scenario9] +name=BrowserDash +support=no + +[Scenario10] +name=BrowserJavaScript +support=no + +[Scenario11] +name=BrowserLoading +support=no + +[Scenario12] +name=BrowserScroll +support=no + +[Scenario13] +name=GpuWakeup +support=no + +[Scenario14] +name=WifiThroughput +support=no + +[Scenario15] +name=SmemoZoom +support=no + +[Scenario16] +name=IMEInput +support=no + +[Scenario17] +name=CallSound +support=no + +[Scenario18] +name=LockScreen +support=no + +[Scenario19] +name=GalleryRotation +support=no + +[Scenario20] +name=ReservedMode +support=no + +[Scenario21] +name=GetDefaultLockTime +support=no + +[Scenario22] +name=GpuBoost +support=no + +[Scenario23] +name=WebappLaunch +support=no + +[Scenario24] +name=ImageViewer +support=no + +[Scenario25] +name=PowerOff +support=no + +[Scenario26] +name=ProcessCrashed +support=no + +[Scenario27] +name=SVoice +support=no diff --git a/src/pass/pass-micro.conf b/src/pass/pass-micro.conf index ac68745..48ce2de 100644 --- a/src/pass/pass-micro.conf +++ b/src/pass/pass-micro.conf @@ -2,7 +2,7 @@ pass_compatible=samsung,tizen-w pass_support=1 -pass_gov_type=0 +pass_gov_type=1 pass_num_levels=6 pass_min_level=0 pass_max_level=5 @@ -17,7 +17,7 @@ pass_level_up_threshold=1 pass_governor_timeout=0.4 -[CpufreqLevel0] +[Level0] limit_max_freq=600000 limit_max_cpu=1 @@ -29,7 +29,7 @@ num_up_cond_busy_cpu=1 num_left_cond=0 num_right_cond=0 -[CpufreqLevel1] +[Level1] limit_max_freq=700000 limit_max_cpu=1 @@ -44,7 +44,7 @@ num_up_cond_busy_cpu=1 num_left_cond=0 num_right_cond=0 -[CpufreqLevel2] +[Level2] limit_max_freq=800000 limit_max_cpu=1 @@ -59,7 +59,7 @@ num_up_cond_busy_cpu=1 num_left_cond=0 num_right_cond=0 -[CpufreqLevel3] +[Level3] limit_max_freq=700000 limit_max_cpu=2 @@ -74,7 +74,7 @@ num_up_cond_busy_cpu=2 num_left_cond=0 num_right_cond=0 -[CpufreqLevel4] +[Level4] limit_max_freq=700000 limit_max_cpu=2 @@ -89,7 +89,7 @@ num_up_cond_busy_cpu=2 num_left_cond=0 num_right_cond=0 -[CpufreqLevel5] +[Level5] limit_max_freq=800000 limit_max_cpu=2 @@ -112,8 +112,8 @@ pass_num_scenarios=28 name=AppLaunch support=yes -cpufreq_min_level=5 -cpufreq_max_level=5 +min_level=5 +max_level=5 [Scenario1] name=MtpSendFile @@ -135,22 +135,22 @@ support=no name=CameraPreview support=yes -cpufreq_min_level=3 -cpufreq_max_level=5 +min_level=3 +max_level=5 [Scenario6] name=CameraBurstShot support=yes -cpufreq_min_level=3 -cpufreq_max_level=5 +min_level=3 +max_level=5 [Scenario7] name=CameraCaptureAtRec support=yes -cpufreq_min_level=3 -cpufreq_max_level=5 +min_level=3 +max_level=5 [Scenario8] name=Browser @@ -216,8 +216,8 @@ support=no name=WebappLaunch support=yes -cpufreq_min_level=3 -cpufreq_max_level=5 +min_level=3 +max_level=5 [Scenario24] name=ImageViewer @@ -227,19 +227,19 @@ support=no name=PowerOff support=yes -cpufreq_min_level=5 -cpufreq_max_level=5 +min_level=5 +max_level=5 [Scenario26] name=ProcessCrashed support=yes -cpufreq_min_level=5 -cpufreq_max_level=5 +min_level=5 +max_level=5 [Scenario27] name=SVoice support=yes -cpufreq_min_level=5 -cpufreq_max_level=5 +min_level=5 +max_level=5 diff --git a/src/pass/pass.conf b/src/pass/pass.conf index 6e196cc..ab76f6d 100644 --- a/src/pass/pass.conf +++ b/src/pass/pass.conf @@ -3,7 +3,7 @@ # new 'pass-[target type].conf' configuration file. [PassResource] pass_compatible=samsung,tm2 -pass_num_resources=2 +pass_num_resources=5 [PassResource0] pass_res_type=1 @@ -20,3 +20,18 @@ pass_path_conf_file=/etc/pass/pass-cluster1.conf pass_path_load_table=/sys/kernel/debug/cpufreq/cpu4/load_table pass_first_cpu=4 pass_num_cpus=4 + +[PassResource2] +pass_res_type=2 +pass_res_name=soc:memory_bus@0 +pass_path_conf_file=/etc/pass/pass-cluster2.conf + +[PassResource3] +pass_res_type=2 +pass_res_name=soc:memory_bus@1 +pass_path_conf_file=/etc/pass/pass-cluster3.conf + +[PassResource4] +pass_res_type=3 +pass_res_name=14ac0000.mali +pass_path_conf_file=/etc/pass/pass-cluster4.conf -- 2.7.4