platform/hal/api/tdm.git
3 months agoPackage version up to 1.0 42/317742/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen accepted/tizen/unified/20250109.175139 accepted/tizen/unified/x/20250110.015301 accepted/tizen/unified/x/asan/20250211.003207
jinbong.lee [Tue, 7 Jan 2025 06:49:55 +0000 (15:49 +0900)]
Package version up to 1.0

Change-Id: Ia8ebd75def9e81cd8041390dff67e8d31065f801
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
3 months agoChange including position 41/317741/1
jinbong.lee [Tue, 7 Jan 2025 06:49:06 +0000 (15:49 +0900)]
Change including position

Change-Id: I0e09f8dc195c6000c61d522db8a46719f6557a23
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
3 months agoAdd description for doxygen 40/317740/1
jinbong.lee [Tue, 7 Jan 2025 06:47:47 +0000 (15:47 +0900)]
Add description for doxygen

Change-Id: Ibc455e92b335f2931f5b6322e6bcd606abf3c043
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
4 months agoAdd LICENSE file 32/316232/2
jinbong.lee [Wed, 11 Dec 2024 08:29:26 +0000 (17:29 +0900)]
Add LICENSE file

Change-Id: Ic4472b69e603b792c5e485e46844d5df8541ebd7
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
4 months agoAdd document of hal_tdm 31/316231/2
jinbong.lee [Wed, 11 Dec 2024 06:04:12 +0000 (15:04 +0900)]
Add document of hal_tdm

Change-Id: I5eac57c378498decdbcd0e0f0eb31790b65447c7
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
4 months agoPackage version up to 0.3.1 62/316662/2 accepted/tizen/unified/20241217.171006 accepted/tizen/unified/20241227.081604 accepted/tizen/unified/x/20241218.212002 accepted/tizen/unified/x/asan/20250113.001945
Changyeon Lee [Mon, 16 Dec 2024 09:47:39 +0000 (18:47 +0900)]
Package version up to 0.3.1

Change-Id: I53e15e3001162f45e977c68642aeae0834e1fff0

4 months agoAdd log before/after hal_common_put/get_backend 61/316661/1
Changyeon Lee [Mon, 16 Dec 2024 09:47:10 +0000 (18:47 +0900)]
Add log before/after hal_common_put/get_backend

Change-Id: I033d23fda1bb1fe264e579c1a51ec356416602ff

4 months agoPackage version up to 0.2.0 14/315714/3 accepted/tizen/unified/20241209.090225 accepted/tizen/unified/x/20241218.032449 accepted/tizen/unified/x/asan/20241224.004211
Changyeon Lee [Wed, 4 Dec 2024 08:03:36 +0000 (17:03 +0900)]
Package version up to 0.2.0

Change-Id: I3e17bfa2f005984bd7f1aaa173e08106749448c6

4 months agohal-tdm-types: Remove wrong since tag 53/315853/2
Changyeon Lee [Thu, 5 Dec 2024 07:45:44 +0000 (16:45 +0900)]
hal-tdm-types: Remove wrong since tag

Change-Id: I8740c08f45662fc776ed2e4f1af0e9415bbae70c

4 months agohal-tdm-types: Add HAL_TDM_OUTPUT_CAPABILITY_NO_HW_VBLANK 12/315712/3
Changyeon Lee [Wed, 4 Dec 2024 03:14:39 +0000 (12:14 +0900)]
hal-tdm-types: Add HAL_TDM_OUTPUT_CAPABILITY_NO_HW_VBLANK

Change-Id: I84ba1ea158b816cc805f73b521ad9a87aeaccb8b

4 months agohal-tdm-types: Remove unused capability and define 11/315711/1
Changyeon Lee [Tue, 3 Dec 2024 10:36:06 +0000 (19:36 +0900)]
hal-tdm-types: Remove unused capability and define

Change-Id: Ic19ca155fc6a656fd4a11f1dbbcba90647580a5a

9 months agoPackage version up to 0.2.0 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.234831 accepted/tizen/unified/20240731.160057 accepted/tizen/unified/dev/20240729.000852 accepted/tizen/unified/toolchain/20240812.131520 accepted/tizen/unified/x/20240727.073538 accepted/tizen/unified/x/asan/20240813.225754 tizen_9.0_m2_release
Changyeon Lee [Wed, 24 Jul 2024 03:05:50 +0000 (12:05 +0900)]
Package version up to 0.2.0

Change-Id: Ida1b98d7a3f9ace3973a7bf513a8ce75a935fac7

9 months agoFix the memory leak when hal_common_get_backend is failed
Changyeon Lee [Wed, 24 Jul 2024 07:16:29 +0000 (16:16 +0900)]
Fix the memory leak when hal_common_get_backend is failed

Change-Id: I3877e91f3421f0eff3da3c5ed141534ecb6657f7

9 months agoAllocate backend data and funcs in hal-api 82/314982/1
Changyeon Lee [Tue, 23 Jul 2024 08:28:27 +0000 (17:28 +0900)]
Allocate backend data and funcs in hal-api

Change-Id: Ia95300f2b08ac78bc989b3834de22970db557223

9 months agoAdd support for HAL_MODULE_TDM v1.0 interface 98/313198/2
Chanwoo Choi [Thu, 20 Jun 2024 04:40:56 +0000 (13:40 +0900)]
Add support for HAL_MODULE_TDM v1.0 interface

HAL_MODULE_TDM will support the multiple version of HAL interface.
So that v1.0 is first supported version of HAL_MODULE_TDM.
hal-tdm-interface-1.h contains the v1.0 HAL interface.

Change-Id: I55951bfbe6941cfd9271b0a6b0785502ec16c36d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 months agoAdd new HAL manifest file of HAL_MODULE_TDM 75/313075/7
Chanwoo Choi [Wed, 19 Jun 2024 03:13:28 +0000 (12:13 +0900)]
Add new HAL manifest file of HAL_MODULE_TDM

HAL_MODULE_TDM will support the multiple version of HAL interface.
So that v1.0 is first supported version of HAL_MODULE_TDM.

And HALCC (HAL Compatibility Checker) checks and stores the hal-backend
compatibility result between HAL manifest and hal-backend package
under /opt/etc/hal/ directory. When installing/un-installing hal-api package,
hal-backend compatibility result should be reset.
So that reset the hal-backend compatibility result by executing
'usr/bin/hal-compatibility-checker --reset' command.

Change-Id: I014696dfcf404ef8ff304d257fb7937aea35e339
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 months agoPackage version up to 0.1.3 36/314236/2 accepted/tizen/unified/20240711.011448 accepted/tizen/unified/dev/20240711.085722 accepted/tizen/unified/x/20240711.084559
Changyeon Lee [Tue, 9 Jul 2024 06:11:16 +0000 (15:11 +0900)]
Package version up to 0.1.3

Change-Id: I8e9c63839ae8250fa0a71356f027560afdeff190

9 months agoGet ownership of acquire_fence fd when fd is set to tdm 35/314235/2
Changyeon Lee [Tue, 9 Jul 2024 06:04:36 +0000 (15:04 +0900)]
Get ownership of acquire_fence fd when fd is set to tdm

It is better to transfer ownership when fd is set in tdm for fd management.

Change-Id: I1388bbd62fb22277541761d1358cf6edaa80d0ac

10 months agoPackage version up to 0.1.2 44/311844/1 accepted/tizen/unified/20240603.161012 accepted/tizen/unified/dev/20240620.010458 accepted/tizen/unified/toolchain/20240624.121241 accepted/tizen/unified/x/20240605.012714 accepted/tizen/unified/x/asan/20240625.091820
Junkyeong Kim [Wed, 29 May 2024 02:43:53 +0000 (11:43 +0900)]
Package version up to 0.1.2

Change-Id: Iaa270c6898483973791152718fa2d5c61181c384
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
10 months agodo not use hal_common_get_backend_abi_version 43/311843/1
Junkyeong Kim [Wed, 29 May 2024 02:41:54 +0000 (11:41 +0900)]
do not use hal_common_get_backend_abi_version

hal_common_get_backend_abi_version will be deprecated.
return default version 6.5

Change-Id: Ib5f8e81f8d6a58be84132e434e0521442d2f920e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
17 months agoPackage version up to 0.1.1 08/301708/2 accepted/tizen/unified/20231123.124506
Changyeon Lee [Wed, 22 Nov 2023 04:21:45 +0000 (13:21 +0900)]
Package version up to 0.1.1

Change-Id: Ib4609086c08ac61c04d5a9543a0c233d9367fd75

17 months agoAdd Partial RELRO flags 07/301707/1
Changyeon Lee [Tue, 21 Nov 2023 03:06:37 +0000 (12:06 +0900)]
Add Partial RELRO flags

Change-Id: I3c491ca2cd5a44f0f27f36aaf488e18b4fc17a5b

17 months agoAdd SC(Stack Canary) flags 06/301706/1
Changyeon Lee [Tue, 21 Nov 2023 02:59:17 +0000 (11:59 +0900)]
Add SC(Stack Canary) flags

Change-Id: I843f123640ed29d02bb78280b0396e6093445cdf

3 years agoPackage version up to 0.1.0 30/271230/3 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062528 accepted/tizen/7.0/unified/hotfix/20221116.110342 accepted/tizen/8.0/unified/20231005.094428 accepted/tizen/unified/20220220.211442 submit/tizen/20220218.025831 submit/tizen/20220218.030458 tizen_7.0_m2_release tizen_8.0_m2_release
Changyeon Lee [Thu, 17 Feb 2022 04:54:53 +0000 (13:54 +0900)]
Package version up to 0.1.0

Change-Id: I28a25fea2c425f5e720b48f9dd8f80b5fc50a410

3 years agoadd hal_tdm_hwc_set_client_target_buffer_info 29/271229/4
Changyeon Lee [Thu, 17 Feb 2022 04:28:39 +0000 (13:28 +0900)]
add hal_tdm_hwc_set_client_target_buffer_info

Change-Id: Ie01b4ccd62a0136ac6f09c14ce4be038fa51e550

3 years agoExclude dlog dependency when dlog disabled. 58/262958/4 linux_yocto
Joonbum Ko [Tue, 24 Aug 2021 03:23:08 +0000 (12:23 +0900)]
Exclude dlog dependency when dlog disabled.

Change-Id: I725f9eca80f65cf0016f971259168851e88945a2
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
3 years agoremove the unused functions 42/262042/1
SooChan Lim [Mon, 2 Aug 2021 05:06:56 +0000 (14:06 +0900)]
remove the unused functions

Change-Id: I05e8ca080fc66b65e8284e771786342e87c3c204

3 years agoadd -DDEFAULT_LOG_DLOG=1 79/261979/1
SooChan Lim [Fri, 30 Jul 2021 01:38:09 +0000 (10:38 +0900)]
add -DDEFAULT_LOG_DLOG=1

use the dlog as a default log.

Change-Id: Id26833cddbe4e101c468af5f754050bed91de41a

3 years agoadd hal-tdm-log.c file 78/261978/1
SooChan Lim [Thu, 29 Jul 2021 04:56:39 +0000 (13:56 +0900)]
add hal-tdm-log.c file

This provide the log functions to print logs via
dlog and stdout.

Change-Id: I7eac5f56303cee52d02eba0375e378faf09731f4

3 years agoPackage version up to 0.0.3 03/259403/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.115134 accepted/tizen/unified/20210608.130918 submit/tizen/20210607.091016 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release
SooChan Lim [Mon, 7 Jun 2021 08:15:09 +0000 (17:15 +0900)]
Package version up to 0.0.3

Change-Id: Ia0844ea8e356f51c6171a96684b61c1884f25fd8

3 years agoadd external functions to get the backend information 01/259401/1
SooChan Lim [Thu, 27 May 2021 06:26:00 +0000 (15:26 +0900)]
add external functions to get the backend information

There are three functions below.
char     *hal_tdm_backend_get_name(hal_tdm_backend *backend);
char     *hal_tdm_backend_get_vendor(hal_tdm_backend *backend);
unsigned long   hal_tdm_backend_get_abi_version(hal_tdm_backend *backend);

Change-Id: Idee055920dec63ba722eb9433045caa421573dfa

4 years agoReplace fPIE gcc option with fPIC 90/257290/1
Chanwoo Choi [Thu, 22 Apr 2021 05:54:40 +0000 (14:54 +0900)]
Replace fPIE gcc option with fPIC

The fPIE option is for the executable binary.
It is not proper for shared library files.
So that correct the wrong use-case by using fPIC.

Change-Id: Iaedb10897e72fd94ac4289966dd2b210acb40734
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopackage version up to 0.0.2 68/255568/1 accepted/tizen/unified/20210324.124614 submit/tizen/20210319.090109 submit/tizen/20210319.090617 submit/tizen/20210323.100158
SooChan Lim [Fri, 19 Mar 2021 07:52:31 +0000 (16:52 +0900)]
package version up to 0.0.2

Change-Id: I62eddcaeb0411fed25ad58eefa2f3bafb906662c

4 years agoremove output_commit backend api 54/255554/1
SooChan Lim [Fri, 19 Mar 2021 06:59:01 +0000 (15:59 +0900)]
remove output_commit backend api

these api will be deprecated.

Change-Id: Ib65c2c83dad1c540e119bf9616908c59e7f330e0

4 years agoerase not supported apis 85/253985/1 accepted/tizen/unified/20210302.131055 submit/tizen/20210222.081757 submit/tizen/20210225.073439 submit/tizen/20210302.014712
Junkyeong Kim [Mon, 22 Feb 2021 03:47:21 +0000 (12:47 +0900)]
erase not supported apis

Change-Id: If01621f19f3a1b3e07a048fa0c4b444df0a427d6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoadd drm information from backend and to libtdm 49/253749/1
SooChan Lim [Mon, 8 Feb 2021 08:26:05 +0000 (17:26 +0900)]
add drm information from backend and to libtdm

When tdm backend has master_drm_fd, hal-api-tdm sends it to libtdm.
when tdm backend has no master_drm_fd, hal-api-tdm gets the master_drm_fd from libtdm.

Change-Id: Ifcb7080bb70de1556a8a73205df752230d0a6408

4 years agoremove backend register functions 48/253748/1
SooChan Lim [Tue, 16 Feb 2021 04:32:59 +0000 (13:32 +0900)]
remove backend register functions

Change-Id: I4eeb0543c86eb5d585e40e9395b7b316088bfc77

4 years agofix dereferencing null error 70/253670/1
Junkyeong Kim [Tue, 16 Feb 2021 08:06:52 +0000 (17:06 +0900)]
fix dereferencing null error

Change-Id: I98bddf5e60782b7680dfea7a52541364e68e4b16
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agochange HAL_TDM_EVENT_SOURCE_MAX define position 44/253344/1 accepted/tizen/unified/20210209.124255 submit/tizen/20210209.075539
Junkyeong Kim [Tue, 9 Feb 2021 04:35:03 +0000 (13:35 +0900)]
change HAL_TDM_EVENT_SOURCE_MAX define position

Change-Id: Ided84e5cd9b0cf158beb5329173e055e6ecefd4f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoset event source number 84/253284/1
Junkyeong Kim [Mon, 8 Feb 2021 09:38:50 +0000 (18:38 +0900)]
set event source number

Change-Id: I4fd98c13155b66a0ba5b76783ebc51ffd62232f3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agofix syntax error 43/253243/1 accepted/tizen/unified/20210208.032901 submit/tizen/20210207.101653
Junkyeong Kim [Sun, 7 Feb 2021 07:55:38 +0000 (16:55 +0900)]
fix syntax error

Change-Id: Ic749a3c414754e19edc0d892f439487d3f01e6df
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agofix syntax error 96/253196/1
Junkyeong Kim [Fri, 5 Feb 2021 10:30:57 +0000 (19:30 +0900)]
fix syntax error

Change-Id: I63cf5325dba0bbd026715caf3c590738add3d873
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agosecond implementation 00/253100/2
SooChan Lim [Thu, 4 Feb 2021 06:42:39 +0000 (15:42 +0900)]
second implementation

Change-Id: Idc619c05f464c5e6069978c512a50e39b8a648df

4 years agoinit hal-api-tdm 41/252641/2
Junkyeong Kim [Mon, 1 Feb 2021 05:31:18 +0000 (14:31 +0900)]
init hal-api-tdm

Change-Id: I59d627b409b743a97c08535ecbc2de84b0e9d88e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoInitial empty repository master
Tizen Infrastructure [Thu, 17 Dec 2020 00:17:19 +0000 (00:17 +0000)]
Initial empty repository