platform/adaptation/tm2/pass-hal-tm2.git
6 years agopass-hal: tm2: Add missing LICENSE file and license information 29/132429/1
Chanwoo Choi [Mon, 5 Jun 2017 06:08:11 +0000 (15:08 +0900)]
pass-hal: tm2: Add missing LICENSE file and license information

This patch adds the missing license information for *.(c|h).
and pass-hal-tm2 uses the Apache-2.0 License.

Also, this patch adds the LICENSE file for Apache-2.0.

Change-Id: Iec366e8a9cbc4ab6b0fb5c37bfae75d2c23205a4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Add resource name for open and close function 03/127103/1 accepted/tizen/unified/20170426.200230 submit/tizen/20170426.080126 tizen_4.0.m1_release
Chanwoo Choi [Wed, 26 Apr 2017 07:33:44 +0000 (16:33 +0900)]
pass-hal: tm2: Add resource name for open and close function

This patch just adds the new argument of h/w resource name
when calling the open and close functions. The resource name
will be used to identify the h/w resource.

Change-Id: I4a96eb44dbea3afbc221472a5c51fd0dfc53ca59
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Prevent attempt to turn off CPU0 84/121684/2 accepted/tizen_mobile accepted/tizen/mobile/20170331.082859 accepted/tizen/unified/20170331.083037 submit/tizen/20170330.074020
Chanwoo Choi [Tue, 28 Mar 2017 11:17:49 +0000 (20:17 +0900)]
pass-hal: tm2: Prevent attempt to turn off CPU0

This patch prevents the attempt to turn off CPU0
because TM2 uses the Exynos5433 SoC which doesn't
permit to turn off the CPU0 due to the h/w design
issue.

Change-Id: I6795aad5ff80c1728db42bc808bac8806d5daa76
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Adjust the condition to improve the performance 83/121683/2
Chanwoo Choi [Tue, 28 Mar 2017 11:05:50 +0000 (20:05 +0900)]
pass-hal: tm2: Adjust the condition to improve the performance

This patch adjusts the condition value of each pass level
for big.LITTLE core in order to improve the performance
- pass-resource0.conf for LITTLE core
- pass-resource1.conf for big core

And this patch contains the simple test result according to the test case.
- Test 1: Enable PASS with the adjustment of this patch.
- Test 2: Enable PASS without the adjustment.
- Test 3: Disable PASS (Normal state)

[Test result with TPMS]
----------------------------------------------------------------------------------------
                                           |Test 1        |Test 2        |Test      3  |
TPMS test case                             |PASS enable   |PASS enable   |PASS disable |
----------------------------------------------------------------------------------------
App Launching Time - org.tizen.helloworld  | 0.378  (s)   | 0.425  (s)   | 0.421  (s)  |
Booting Time                               | 21.13  (s)   | 21.16  (s)   | 21.15  (s)  |
GLBench - Egypt_Offscreen                  | 161.08 (fps) | 158.24 (fps) | 147.71 (fps)|
GLBench - Egypt_Standard                   | 42.0   (fps) | 38.94  (fps) | 41.7   (fps)|
GLBench - Pro_Offscreen                    | 263.23 (fps) | 243.52 (fps) | 210.77 (fps)|
GLBench - Pro_Standard                     | 53.24  (fps) | 52.11  (fps) | 53.84  (fps)|
Web App Launching Time - 5OPuG0pfe7.basic  | 0.528  (s)   | 0.516   (s)  | 0.55   (s)  |
----------------------------------------------------------------------------------------

Change-Id: I8290c3f9078f388338786672ff5b83bed96c1ff1
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopackaging: Add ExclusiveArch property to build on armv7l and aarch64 86/121486/1
Chanwoo Choi [Tue, 28 Mar 2017 05:18:58 +0000 (14:18 +0900)]
packaging: Add ExclusiveArch property to build on armv7l and aarch64

This patch adds the 'ExclusiveArch' property in order to build
this package only for both armv7l and aarch64.

Change-Id: I232653570a88e6ef5bfb48c6cdbd084efdd7ac3d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Fix value of governor type for bus/gpu resource 84/116584/1
Chanwoo Choi [Fri, 17 Feb 2017 06:39:11 +0000 (15:39 +0900)]
pass-hal: tm2: Fix value of governor type for bus/gpu resource

This patch fixes the value of governor type for BUS/GPU h/w resource
because PASS core redefines the governor types as following:
- PASS_GOV_DUMMY         : -1
- PASS_GOV_BASIC         : 0
- PASS_GOV_HOTPLUG_ONLY  : 1
- PASS_GOV_RADIATION     : 2
- PASS_GOV_STEP          : 3

The BUS/GPU resource on TM2 use the PASS_GOV_BASIC governor
which uses both HAL interface and Resource controller.

Change-Id: I408784aa0a1539b32b83b87b6f621655d504784f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Remove unneeded pass_compatible from pass-resource*.conf 04/114804/2
Chanwoo Choi [Wed, 15 Feb 2017 07:03:35 +0000 (16:03 +0900)]
pass-hal: tm2: Remove unneeded pass_compatible from pass-resource*.conf

This patch removes the unneeded the 'pass_compatible' entry
from the pass-resource*.conf because it is not required any more.

Change-Id: I0a3772cf14c627844e44e17a8663190328ca7727
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Add new path_compatible entry to conf file 86/114786/1
Wook Song [Wed, 15 Feb 2017 05:29:12 +0000 (14:29 +0900)]
pass-hal: tm2: Add new path_compatible entry to conf file

This patch adds the new pass_path_compatible entry, that indicates the
path where the pass can get the compatible board information, to the
PassResource section in the pass.conf file. If the following patch
(895f20b pass: parser: Add parsing of pass_path_compatible) is applied
to the pass, you should apply this patch to the pass-hal-tm2 in order to
make the pass work correctly.

Change-Id: I563c6f451918765bd282e4c9b8a1edaee606cd3b
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal: tm2: Update hotplug ops for set/get functions of min/max online CPUs 35/114635/2
Wook Song [Tue, 14 Feb 2017 08:43:24 +0000 (17:43 +0900)]
pass-hal: tm2: Update hotplug ops for set/get functions of min/max online CPUs

This patch updates the hotplug ops for the CPU resource in order to
include the new functions which set and get the minimum/maximum number
of online CPUs.

Change-Id: Ied59bdf57db5be3f4d7600198d79d17802a2af7d
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal: tm2: Add the configuration files for resources 02/114102/2
Chanwoo Choi [Fri, 10 Feb 2017 04:10:07 +0000 (13:10 +0900)]
pass-hal: tm2: Add the configuration files for resources

This patch adds the new configuration files for resources of TM2 board.
- pass.conf contains the number of supported resources and the information
  of each resource such as CPU, BUS and GPU.
- pass-resource0.conf is the configuration file for LITTLE Cores on TM2.
- pass-resource1.conf is the configuration file for big Cores on TM2.
- pass-resource2.conf is the configuration file for Memory Bus (INT block) on TM2.
- pass-resource3.conf is the configuration file for Memory Bus (MFI block) on TM2.
- pass-resource4.conf is the configuration file for MALI GPU on TM2.

Change-Id: Idd77b63c12a96633ed1feed327513db92e4ead33
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Modify the sysfs path for BUS/GPU resource
Chanwoo Choi [Thu, 9 Feb 2017 09:52:25 +0000 (18:52 +0900)]
pass-hal: tm2: Modify the sysfs path for BUS/GPU resource

This patches modifes the default sysfs path for bus/gpu resource as following:
Because TM2 uses the devfreq subsystem in Linux Kernel for memory bus and gpu.
- /sys/class/devfreq/(devfreq device name)

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass-hal: tm2: Add implementation of HAL for GPU
Wook Song [Wed, 8 Feb 2017 06:26:18 +0000 (15:26 +0900)]
pass-hal: tm2: Add implementation of HAL for GPU

This patch adds an implementation of the PASS HAL for GPU.

Change-Id: I1002bcce81c7ff35ef46ab09ceaed27a255a5611
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal: tm2: Add implementation of HAL for BUS
Wook Song [Wed, 8 Feb 2017 06:12:44 +0000 (15:12 +0900)]
pass-hal: tm2: Add implementation of HAL for BUS

This patch adds an implementation of the PASS HAL for BUS.

Change-Id: Idf118b9df51c0fad13e0d5db8d1ff58a541a7aab
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal: tm2: Add implementation of HAL for CPU
Wook Song [Wed, 8 Feb 2017 05:57:22 +0000 (14:57 +0900)]
pass-hal: tm2: Add implementation of HAL for CPU

This patch adds an implementation of the PASS HAL for CPU.

Change-Id: I74afc0c021ad462e1630d84bbe922ee3fac52b6e
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass-hal: tm2: Create spec file for RPM package
Wook Song [Wed, 8 Feb 2017 05:45:41 +0000 (14:45 +0900)]
pass-hal: tm2: Create spec file for RPM package

This patch creates files required to build the RPM package. Although it
is possible to build the package, only one empty RPM file would be
created since source files are not implemented yet.

Change-Id: I5d573623669d2284d8b285af67faa54cc0fe6cef
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Wed, 8 Feb 2017 02:18:39 +0000 (18:18 -0800)]
Initial empty repository