platform/adaptation/tm2/pass-hal-tm2.git
4 years agopass-hal: tm2: Update configuration using scenario pass_level for h/w resources 69/226069/1 accepted/tizen/unified/20200227.121026 submit/tizen/20200227.020232
Chanwoo Choi [Wed, 26 Feb 2020 10:33:19 +0000 (19:33 +0900)]
pass-hal: tm2: Update configuration using scenario pass_level for h/w resources

Change-Id: I4b0d95faf1c1982ef762d567f28811adc49a2298
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
5 years agopass-hal: tm2: Update configuration file according to rules 88/188488/1 submit/tizen/20190317.235356
Chanwoo Choi [Mon, 6 Aug 2018 00:08:07 +0000 (09:08 +0900)]
pass-hal: tm2: Update configuration file according to rules

PASS daemon requires some rules of pass_level as following:
- If CPU, limit_min_cpu and limit_max_cpu must alwasy exist in pairs.
- If CPU/GPU/Bus, limit_min_freq and limit_max_freq must alwasy exist in pairs.
- If Memory, fault_around_bytes must always exit in all levels.

Keep the rules required by PASS daemon.

Change-Id: Ie26ffe4e59ff0a2781958f76d77ff0a63ae3cd47
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
5 years agopass-hal: tm2: Rename configuration file for readability 87/188487/1
Chanwoo Choi [Fri, 3 Aug 2018 05:02:10 +0000 (14:02 +0900)]
pass-hal: tm2: Rename configuration file for readability

Rename configuration file name in order to readability
by using resource name instead of integer index.

Change-Id: I7342ec7bd2343f187f7dd3d94d7e3fd394eebb23
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Release v1.0.0 50/158850/1 accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.0/unified/20181102.012803 accepted/tizen/5.5/unified/20191031.004148 accepted/tizen/5.5/unified/mobile/hotfix/20201027.082402 accepted/tizen/5.5/unified/wearable/hotfix/20201027.123608 accepted/tizen/unified/20171123.065854 submit/tizen/20171123.001235 submit/tizen_5.0/20181101.000001 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185101 submit/tizen_5.5_wearable_hotfix/20201026.184301 tizen_5.5.m2_release
Chanwoo Choi [Tue, 24 Oct 2017 05:56:44 +0000 (14:56 +0900)]
pass-hal: tm2: Release v1.0.0

Detailed description for this release:
- Provide the configuration files for Exynos5433-based TM2 board
- /etc/pass/pass.conf contains the list of supported h/w resources as following:
 : pass-resource0.conf indicates the LITTLE cluster h/w which have four CPU.
 : pass-resource1.conf indicates the big cluster h/w which have four CPU.
 : pass-resource2.conf indicates the Memory Bus h/w for INT (Internal) block.
 : pass-resource3.conf indicates the Memory Bus h/w for MIF (Memory Interface).
 : pass-resource4.conf indicates the GPU h/w.
 : pass-resource5.conf indicates the Memory h/w.

Change-Id: I1cf632361cf806df62e757bbbd19132394d2a426
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Disable AppLaunch scenario for memory h/w resource 82/155182/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20171017.211713 accepted/tizen/unified/20171016.064736 submit/tizen/20171016.044753 submit/tizen_4.0/20171016.044801 tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Chanwoo Choi [Thu, 12 Oct 2017 08:30:51 +0000 (17:30 +0900)]
pass-hal: tm2: Disable AppLaunch scenario for memory h/w resource

This patch disables the 'AppLaunch' scenario for memorh h/w resource
in order to keep the 4096 byte of the fault_around_bytes.

Change-Id: Ic5d9cea2252b34e62e1bda11b75e28e4831b6676
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-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
Chanwoo Choi [Wed, 13 Sep 2017 05:28:11 +0000 (14:28 +0900)]
pass-hal: tm2: Change the resource name for bus/gpu and frequency of bus device

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>
6 years agopass-hal: tm2: Add pass-resource5.conf for memory h/w device 49/146349/2 accepted/tizen/4.0/unified/20170919.170919 accepted/tizen/unified/20170913.070650 submit/tizen/20170911.052326 submit/tizen_4.0/20170915.014015
Chanwoo Choi [Mon, 28 Aug 2017 04:12:21 +0000 (13:12 +0900)]
pass-hal: tm2: Add pass-resource5.conf for memory h/w device

This patch adds the new resource configuration for the memory h/w device
in order to handle the 'fault_around_bytes'[1] element.

The 'fault_around_bytes' indicates the number of bytes to be mapped
around the fault. If the value is low(e.g., 4096), it is able to
increase the empty memory on normal case. On the other hand,
if the value is high (e.g., 65536), it is able to improve
the performance by mapping the huge pages such as the app launching.

[1] https://lkml.org/lkml/2016/4/18/612

Change-Id: Icc280c4eaf82420eaafcc8611b9869a2738831e2
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Change the way to restart daemon after install/uninstall 44/145544/2 accepted/tizen/unified/20170824.172543 submit/tizen/20170824.064003
Wook Song [Wed, 23 Aug 2017 01:29:35 +0000 (10:29 +0900)]
pass-hal: tm2: Change the way to restart daemon after install/uninstall

This patch simply changes the way to restart the pass daemon after
installing or uninstalling this package. 'awk' is no longer needed. Note
that the option 'try-restart' of systemctl is to restart one or more
units (in this context, means the pass daemon) if active.

Change-Id: I29f996dd05af0d681a1f3ce31f13c835fe5835ea
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm2: Remove pass-hal.conf 21/143321/3 accepted/tizen/4.0/unified/20170828.224401 accepted/tizen/unified/20170822.023813 submit/tizen/20170821.043932 submit/tizen_4.0/20170828.110001
Dongwoo Lee [Wed, 9 Aug 2017 06:54:17 +0000 (15:54 +0900)]
pass-hal: tm2: Remove pass-hal.conf

PASS HAL for TM2 only provides the specific configuration to standard
HAL, and thus accessing files is not performed anymore in TM2 HAL.
For this reason, it is better to move the pass-hal.conf into standard
HAL. Since this, pass-hal.conf is removed in TM2 HAL, and it can be
found in standard HAL.

Change-Id: I91b306ba812572cdbe7580fdb25226787333892c
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
6 years agopass-hal: tm2: Add dependency on PASS and PASS standard HAL 93/142393/3
Dongwoo Lee [Mon, 31 Jul 2017 23:05:52 +0000 (08:05 +0900)]
pass-hal: tm2: Add dependency on PASS and PASS standard HAL

Now, pass-hal-tm2 only has configuration files, and all operation is
processed in standard HAL. Thus, we should make HAL for TM2 depends on
PASS and its standard HAL. To do this, Require for pass-hal-standard is
added to RPM spec file.

Change-Id: Ia0f738c22fc632fcf9bd4d9ce62f3187064cbb7a
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Remove unncessary source code 48/141948/2
Dongwoo Lee [Mon, 31 Jul 2017 07:21:15 +0000 (16:21 +0900)]
pass-hal: tm2: Remove unncessary source code

Since TM2 kernel supports standard interface for each resource, standard
HAL can replace this specific HAL. After this, PASS HAL for TM2 only
provides configuration files.

Change-Id: If2f78b2a711ffa5f87797b19afc8edd96bab7700
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
6 years agopass-hal: tm2: Remove tm2-specific define statements for cpu 88/137888/2 accepted/tizen/4.0/unified/20170816.010833 accepted/tizen/4.0/unified/20170816.014458 accepted/tizen/unified/20170804.025540 submit/tizen/20170802.103729 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Wook Song [Mon, 10 Jul 2017 07:24:43 +0000 (16:24 +0900)]
pass-hal: tm2: Remove tm2-specific define statements for cpu

This patch removes the tm2-specific define statements such as
TM2_CPU_MIN_NUM and TM2_CPU_MAX_NUM, which were used to check CPU
indexes out of range. The reasons why we need to remove this
board-specific code are that 1) such CPU indexes out of range would
never occur and 2) it is required to standardize the HAL function
implementation.

Change-Id: I10c96c36975bbe5b33e6102742fac917682616f1
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm2: Fix build error for gpu.c 21/137721/1 accepted/tizen/unified/20170711.180634 submit/tizen/20170710.060912
Chanwoo Choi [Fri, 7 Jul 2017 07:38:31 +0000 (16:38 +0900)]
pass-hal: tm2: Fix build error for gpu.c

The cd740cbf75cf9 ("pass-hal: tm2: Update TMU HAL functions to use
pass_res_thermal_name") patch has the build errors. So, this patch
fixes the build error on gpu.c.

Change-Id: I92fd86cfbee586638c8d9b2868a85d5ec694c02b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Remove the specific author information 37/137637/2
Chanwoo Choi [Fri, 7 Jul 2017 02:20:55 +0000 (11:20 +0900)]
pass-hal: tm2: Remove the specific author information

This patch removes the specific author information
from HAL_MODULE_STRUCTURE.

Change-Id: I6e8f36e957b7d13b18e1be5a4e53d3f25af47915
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Add pass_res_thermal_name properties for CPU and GPU 46/137646/4
Wook Song [Fri, 7 Jul 2017 02:42:51 +0000 (11:42 +0900)]
pass-hal: tm2: Add pass_res_thermal_name properties for CPU and GPU

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>
6 years agopass-hal: tm2: Update TMU HAL functions to use pass_res_thermal_name 47/137647/3
Wook Song [Fri, 7 Jul 2017 02:46:18 +0000 (11:46 +0900)]
pass-hal: tm2: Update TMU HAL functions to use pass_res_thermal_name

This patch updates all HAL function bodies for TMU to use the new
pass_res_thermal_name property of the 'pass.conf' file.

Change-Id: I7f9b4507576d0d5e79ce7b503710193501617eab
Signed-off-by: Wook Song <wook16.song@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Use only /usr/lib/tmpfiles.d path for pass-hal.conf 34/136434/3 accepted/tizen/unified/20170706.193442 submit/tizen/20170630.040102 submit/tizen/20170705.081057
Chanwoo Choi [Thu, 29 Jun 2017 11:28:50 +0000 (20:28 +0900)]
pass-hal: tm2: Use only /usr/lib/tmpfiles.d path for pass-hal.conf

Even if architecture is aarch64, the systemd spec applies the rule files
under the /usr/lib/tmpfiles.d. On aarch64, /usr/lib64/tmpfiles.d/pass-hal.conf
is not applied. So, this patch changes the path of tmpfiles.d in order to
support the PASS on aarch64. So, this patch changes the tmpfiles.d path
to support the PASS on aarch64 as following:
- /usr/lib64/tmpfiles.d -> /usr/lib/tmpfiles.d

Change-Id: Icfa83149960235251b22df2ad7a82671c406c046
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Apply the value type change of pass_res_type 04/134904/3 submit/tizen/20170629.044637
Wook Song [Tue, 20 Jun 2017 08:19:26 +0000 (17:19 +0900)]
pass-hal: tm2: Apply the value type change of pass_res_type

This patch applies the change of the value type of the entry,
"pass_res_type", to each PassResource section of the pass.conf file.

Change-Id: I87ec4b72737ba30a3cdbb2446d852db484ff5fe5
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm2: packaging: Restart daemon after install/uninstall 34/134834/6
Wook Song [Tue, 20 Jun 2017 06:33:29 +0000 (15:33 +0900)]
pass-hal: tm2: packaging: Restart daemon after install/uninstall

This patch adds bits of code to %post and %postun sections so that the
daemon is restarted when the package is installed/uninstalled. Note that
the daemon is only restarted in the case of that the daemon is running
before the hal package is installed/uninstalled.

Change-Id: I89aca56051e44b91fc8bda4c1f47d5e5f260ba45
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm2: packaging: Fix bug in applying systemd-tmpfiles 79/135379/2
Wook Song [Thu, 22 Jun 2017 05:43:34 +0000 (14:43 +0900)]
pass-hal: tm2: packaging: Fix bug in applying systemd-tmpfiles

This patch changes the path which systemd-tmpfiles uses in %post from
/usr/lib to %{_libdir}. Since the defualt path for the libraries is
/usr/lib64 for aarch64, the daemon does not work properly with the
hard-coded path used before.

Change-Id: If18c89efe327ec2afc8ee3d974af269dadf56837
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: tm2: Add pass-hal.conf to change the permission of sysfs nodes 33/134233/4
Chanwoo Choi [Thu, 15 Jun 2017 09:57:04 +0000 (18:57 +0900)]
pass-hal: tm2: Add pass-hal.conf to change the permission of sysfs nodes

The pass-hal-tm2 package handles the many sysfs nodes in order
to change the state of h/w resources. All sysfs node should
be required to change the permission from root to system_fw
because PASS daemon has the system_fw permission.

So, this patch adds new pass-hal.conf which contains
the permission information for the required sysfs nodes.

Change-Id: Iab55cdc120e3283e35f2d97b4f3e887400a2fcfd
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: tm2: Remove unused scenarios 30/133230/1
Chanwoo Choi [Fri, 9 Jun 2017 08:59:31 +0000 (17:59 +0900)]
pass-hal: tm2: Remove unused scenarios

This patch removes the unused scenarios except for AppLaunch and
UltraPowerSaving.

Change-Id: Ic2f1570bf22bd9d2cc5043ff5bb72d9f2fc0abb7
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
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