platform/hal/api/tbm.git
5 months agoPackage version up to 1.0 26/317226/4 accepted/tizen_9.0_unified tizen_9.0 accepted/tizen/9.0/unified/20250107.160051
jinbong.lee [Mon, 23 Dec 2024 04:55:34 +0000 (13:55 +0900)]
Package version up to 1.0

Change-Id: I8b0c9714a3dc7d996de3334ce1512e62168ddc78
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
5 months agoChange position and sequence of header including 25/317225/4
jinbong.lee [Fri, 13 Dec 2024 12:34:16 +0000 (21:34 +0900)]
Change position and sequence of header including

Change-Id: Iaddd423ecd3488f7c0b6dfdec353c641f488d9e6
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
5 months agoAdd description for doxygen 24/317224/4
jinbong.lee [Fri, 13 Dec 2024 12:30:41 +0000 (21:30 +0900)]
Add description for doxygen

Change-Id: I2b88e710377b8a8d9a29a5294607367a329c060e
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
5 months agoAdd document file 23/317223/1
jinbong.lee [Tue, 10 Dec 2024 12:03:46 +0000 (21:03 +0900)]
Add document file

Change-Id: Ibf3b372910dfca2f6547ea3e4b99bac53f135342
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
5 months agoChange License File name from COPYING to LICENSE 22/317222/1
jinbong.lee [Tue, 10 Dec 2024 12:02:41 +0000 (21:02 +0900)]
Change License File name from COPYING to LICENSE

Change-Id: Ica75121d302f811e70902aea1f2be061c6d26783
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
5 months agoPackage version up to 0.1.2 58/316658/1 accepted/tizen/9.0/unified/20241218.022025
Changyeon Lee [Mon, 16 Dec 2024 09:45:24 +0000 (18:45 +0900)]
Package version up to 0.1.2

Change-Id: I956839701ab3be9083dd72ac08526a43af6076b2

5 months agoAdd log before/after hal_common_put/get_backend 57/316657/1
Changyeon Lee [Mon, 16 Dec 2024 09:44:53 +0000 (18:44 +0900)]
Add log before/after hal_common_put/get_backend

Change-Id: Idba4c0827f2a77da0f97418bf8c502a3f4f4be1b

7 months agopackaging/Package version up to 0.1.1 42/319742/1 accepted/tizen/9.0/unified/20241107.020120
Junkyeong Kim [Thu, 31 Oct 2024 06:27:11 +0000 (15:27 +0900)]
packaging/Package version up to 0.1.1

Change-Id: I8f0942c837fcbbe8ed64aa6c059e2f9a365cc340
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 months agoAdd capi-base-common require for dlog 41/319741/1
Junkyeong Kim [Wed, 23 Oct 2024 06:10:18 +0000 (15:10 +0900)]
Add capi-base-common require for dlog

Change-Id: I3ab33486e85ef546830fb66b506bbd3b7df60477
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
10 months agoPackage version up to 0.1.0 81/314981/1 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.234427 accepted/tizen/unified/20240726.010957 accepted/tizen/unified/dev/20240729.000850 accepted/tizen/unified/toolchain/20240812.133400 accepted/tizen/unified/x/20240727.073555 accepted/tizen/unified/x/asan/20240813.231840 tizen_9.0_m2_release
Changyeon Lee [Wed, 24 Jul 2024 03:05:33 +0000 (12:05 +0900)]
Package version up to 0.1.0

Change-Id: Ia77cbe9f4a83e27127a484032de07dbb85afc0ca

10 months agoAllocate backend data and funcs in hal-api 80/314980/1
Changyeon Lee [Tue, 23 Jul 2024 08:14:00 +0000 (17:14 +0900)]
Allocate backend data and funcs in hal-api

Change-Id: Ib9c285c9e6e41053a96f716c9d48c30fa09acd47

11 months agoAdd support for HAL_MODULE_TBM v1.0 interface 95/313195/1
Chanwoo Choi [Thu, 20 Jun 2024 04:24:00 +0000 (13:24 +0900)]
Add support for HAL_MODULE_TBM v1.0 interface

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

Change-Id: I32a25acd41e6c5f19e21b65f368bca870a1fc06e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 months agoAdd new HAL manifest of HAL_MODULE_TBM 74/313074/7
Chanwoo Choi [Wed, 19 Jun 2024 03:07:23 +0000 (12:07 +0900)]
Add new HAL manifest of HAL_MODULE_TBM

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

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: Ib4cb733c1430db30049c65200c406eed1b957a56
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
18 months agoPackage version up to 0.0.7 05/301705/1 accepted/tizen/unified/20231123.124504 accepted/tizen/unified/dev/20240620.010456
Changyeon Lee [Wed, 22 Nov 2023 04:20:41 +0000 (13:20 +0900)]
Package version up to 0.0.7

Change-Id: I01fb3360b4990083c8480f7bcb057d126861bf6a

18 months agoAdd Partial RELRO flags 04/301704/1
Changyeon Lee [Tue, 21 Nov 2023 03:09:23 +0000 (12:09 +0900)]
Add Partial RELRO flags

Change-Id: I416cc16dcbf6fe9d488fe60c43b9ce010fba7171

18 months agoAdd SC(Stack Canary) flags 03/301703/1
Changyeon Lee [Tue, 21 Nov 2023 02:58:52 +0000 (11:58 +0900)]
Add SC(Stack Canary) flags

Change-Id: I3ef5ca46571d5bfd284d3883cca2da474584fb01

3 years agoExclude dlog dependency when dlog disabled. 57/262957/4 linux_yocto
Joonbum Ko [Tue, 24 Aug 2021 03:21:01 +0000 (12:21 +0900)]
Exclude dlog dependency when dlog disabled.

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

Change-Id: Ie18ad7ff84b2476fe846eb7e2b2372736a77208a

3 years agoadd -DDEFAULT_LOG_DLOG=1 77/261977/1
SooChan Lim [Fri, 30 Jul 2021 01:30:35 +0000 (10:30 +0900)]
add -DDEFAULT_LOG_DLOG=1

use the dlog as a default log.

Change-Id: I0007619eb2efe4b0fe35950306a48555ba26ab37

3 years agomove the declaration of the log level 76/261976/1
SooChan Lim [Thu, 29 Jul 2021 04:54:18 +0000 (13:54 +0900)]
move the declaration of the log level

from hal-tbm-types.h to common.h

Change-Id: I05c1dee22cb1b660165000f25b5dbb3b8547924b

3 years agouse HAL_TBM_ prefix macro at log message 75/261975/1
SooChan Lim [Wed, 28 Jul 2021 23:00:51 +0000 (08:00 +0900)]
use HAL_TBM_ prefix macro at log message

Change-Id: I17c778b96c5c8d546b4cee870d4891483dff487f

3 years agoadd the function to print stdout 74/261974/1
SooChan Lim [Wed, 28 Jul 2021 22:51:31 +0000 (07:51 +0900)]
add the function to print stdout

Change-Id: Id4273129fec5bcec73fdece98be0268cb5e26318

3 years agopackage version up to 0.0.6 93/260993/1
SooChan Lim [Wed, 7 Jul 2021 02:17:09 +0000 (11:17 +0900)]
package version up to 0.0.6

Change-Id: I6175685112f90d89d04ae627e14d57e0118d3ed0

3 years agohal-api-tbm: check the bufmgr capabilities 92/260992/1
SooChan Lim [Wed, 7 Jul 2021 02:12:41 +0000 (11:12 +0900)]
hal-api-tbm: check the bufmgr capabilities

check the bufmgr capabilities at hal_tbm_bufmgr_get_capabilites.

Change-Id: Ib1781095c33a5de86dbc27b66ab3f89db8191738

3 years agohal-tbm-types: add HAL_TBM_BUFMGR_CAPABILITY_SHARE_SURFACE 91/260991/1
SooChan Lim [Wed, 7 Jul 2021 02:10:54 +0000 (11:10 +0900)]
hal-tbm-types: add HAL_TBM_BUFMGR_CAPABILITY_SHARE_SURFACE

This capability stands for the backend module which has
bufmgr_alloc_surface and bufmgr_import_surface functions.

Change-Id: I7aba42d26022d23ba488c2ea062d9004a23b4238

4 years agopackage version up to 0.0.5 11/257911/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.115115 accepted/tizen/7.0/unified/20221110.062237 accepted/tizen/7.0/unified/hotfix/20221116.110340 accepted/tizen/8.0/unified/20231005.094425 accepted/tizen/unified/20210507.010004 submit/tizen/20210506.071136 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
SooChan Lim [Thu, 6 May 2021 08:18:05 +0000 (17:18 +0900)]
package version up to 0.0.5

Change-Id: I1707b1f7292d00b96383d1fe66da312ca88914b7

4 years agoadd mem_types as parameter of hal_tbm_bufmgr_alloc_surface 10/257910/1
SooChan Lim [Thu, 6 May 2021 08:17:00 +0000 (17:17 +0900)]
add mem_types as parameter of hal_tbm_bufmgr_alloc_surface

Change-Id: I350fbb902c5a4fb2b073ad1daf63e11567c68f50

4 years agopackage version up to 0.0.4 02/257902/1
SooChan Lim [Thu, 6 May 2021 06:50:22 +0000 (15:50 +0900)]
package version up to 0.0.4

Change-Id: Ib43c96e87701982d22e895d6f5e4bcb74d350e5f

4 years agochange the args for hal_tbm_surface api 01/257901/1
SooChan Lim [Thu, 6 May 2021 06:48:54 +0000 (15:48 +0900)]
change the args for hal_tbm_surface api

add modifiers information to hal_tbm_bufmgr_alloc_surface
change integer to uint32_t

Change-Id: Idef78db35848e1a3236ea25d96435fb6ef3b7c4a

4 years agopackage version up to 0.0.3 52/257752/2 submit/tizen/20210505.235250
SooChan Lim [Fri, 30 Apr 2021 07:47:43 +0000 (16:47 +0900)]
package version up to 0.0.3

Change-Id: I109d131d3f6107fe138e953705f44242f62f3cd4

4 years agoadd front-end interfaces for hal_tbm_surface 19/257719/3
SooChan Lim [Thu, 29 Apr 2021 04:56:17 +0000 (13:56 +0900)]
add front-end interfaces for hal_tbm_surface

Add apis for managing the hal_tbm_surface

Change-Id: I4b498c436db37b0dd87b5b475969754e706703ef

4 years agoadd hal_tbm_surface and backend functions for it. 41/257541/4
SooChan Lim [Tue, 27 Apr 2021 10:21:43 +0000 (19:21 +0900)]
add hal_tbm_surface and backend functions for it.

The hal-tbm backend can manage the hal_tbm_surface resource now.
The hal-tbm backend can allocate a hal_tbm_surface,
export hal_tbm_surface_buffer_data with hal_tbm_surface
and import a hal_tbm_surface with hal_tbm_surface_buffer_data.

Change-Id: I0d828ebb351ffa5fccaff9c161a47a37b80c0279

4 years agoReplace fPIE gcc option with fPIC 89/257289/1
Chanwoo Choi [Thu, 22 Apr 2021 05:52:24 +0000 (14:52 +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: I64dfc54035b198b8d79913d47c51cae4cb8acad8
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopackage version up to 0.0.2 76/255476/1 accepted/tizen/unified/20210324.124454 submit/tizen/20210319.034626 submit/tizen/20210319.090109 submit/tizen/20210319.090617 submit/tizen/20210323.100158
SooChan Lim [Fri, 19 Mar 2021 01:39:19 +0000 (10:39 +0900)]
package version up to 0.0.2

Change-Id: I391af54177271bdccfe3c5f4b14c0643d79ce66f

4 years agoadd a bpp argument at hal_bufmgr_alloc_bo_with_format. 75/255475/1
SooChan Lim [Fri, 19 Mar 2021 01:37:51 +0000 (10:37 +0900)]
add a bpp argument at hal_bufmgr_alloc_bo_with_format.

The backend get to know a bpp at bufmgr_alloc_bo_with_format.

Change-Id: Idce4875a62a78e6cc703a8f24dab79376e84bc8f

4 years agoremove hal_tbm_bufmgr_alloc_bo_with_tiled_format 74/255474/1
SooChan Lim [Fri, 19 Mar 2021 01:33:53 +0000 (10:33 +0900)]
remove hal_tbm_bufmgr_alloc_bo_with_tiled_format

The hal_tbm_bufmgr_alloc_bo_with_tiled_format is deprecated.
The backend get to know the requested bo allocation with hal_tbm_bo_memory_type
through hal_tbm_bufmgr_alloc_bo_with_format.

Change-Id: Iffbd666c8d150b72e643bccfdd37385906313455

4 years agoCorrect CMakeLists.txt to support out of source builds 69/255069/1
Jongmin Lee [Thu, 11 Mar 2021 22:08:05 +0000 (07:08 +0900)]
Correct CMakeLists.txt to support out of source builds

Change-Id: I89f8c7e4bef00edab189d69932f9e3eaa565cda5

4 years agochange cmake build requre to 2.6 73/253873/1 accepted/tizen/unified/20210222.114537 accepted/tizen/unified/20210302.131102 submit/tizen/20210219.030525 submit/tizen/20210225.073439 submit/tizen/20210302.014712
Junkyeong Kim [Fri, 19 Feb 2021 02:53:22 +0000 (11:53 +0900)]
change cmake build requre to 2.6

Change-Id: I45235b50ad48e4d94e9df24c4e765ab716d1b7b0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoremove hal_tbm_drm api and wayland depdency 47/253747/1
SooChan Lim [Wed, 17 Feb 2021 06:50:25 +0000 (15:50 +0900)]
remove hal_tbm_drm api and wayland depdency

Change-Id: I821cb109bed7521af398013d560c855556054ce5

4 years agoadd drm information from backend and to libtbm 46/253746/1
SooChan Lim [Tue, 16 Feb 2021 02:51:22 +0000 (11:51 +0900)]
add drm information from backend and to libtbm

When tbm backend has master_drm_fd, hal-api-tbm sends it to libtbm.
when tbm backend has no master_drm_fd, hal-api-tbm gets the authenticated fd from libtbm.

Change-Id: I5858b8949680230f7f8c218ce3058448a8b88f0e

4 years agofix dereferencing null error 71/253671/1
Junkyeong Kim [Tue, 16 Feb 2021 08:10:42 +0000 (17:10 +0900)]
fix dereferencing null error

Change-Id: I4fdbb9f0d3cb7a1ca687ab740d4fa4a5cc925360
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agofix syntax error 42/253242/1 accepted/tizen/unified/20210208.032901 submit/tizen/20210207.101648
Junkyeong Kim [Sun, 7 Feb 2021 05:21:43 +0000 (14:21 +0900)]
fix syntax error

Change-Id: I0ed55fae250e12bb7a58a3d10c6f79185d114e99
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agofix missing parameter 41/253241/1
Junkyeong Kim [Sun, 7 Feb 2021 05:05:28 +0000 (14:05 +0900)]
fix missing parameter

Change-Id: Iad20d3e7f1853872c20c30bca39c0621745cff8c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoset EXTERN for helper apis 40/253240/1
Junkyeong Kim [Sun, 7 Feb 2021 03:32:06 +0000 (12:32 +0900)]
set EXTERN for helper apis

Change-Id: Ie9f402ded10ae2b05051648bc23d3513611ff137
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agochange name of functions, variables and definitions 75/253075/1
SooChan Lim [Thu, 4 Feb 2021 06:43:09 +0000 (15:43 +0900)]
change name of functions, variables and definitions

Change-Id: If30f87087b3418b9514e8cec94d1a9eb78f6c44c

4 years agochange the function signature of hal_tbm_get_backend and hal_tbm_put_backend 34/252934/2
SooChan Lim [Wed, 3 Feb 2021 07:13:15 +0000 (16:13 +0900)]
change the function signature of hal_tbm_get_backend and hal_tbm_put_backend

hal_tbm_error        hal_tbm_get_backend(hal_tbm_backend_data *backend_data);
void                 hal_tbm_put_backend(void);

Change-Id: I5d4f11eeb62d967c6a77cfb2a5a6dfb3f82e3885

4 years agoadd missing prefix 06/252906/2
Junkyeong Kim [Wed, 3 Feb 2021 05:04:15 +0000 (14:04 +0900)]
add missing prefix

Change-Id: Id0a2c15e550b559a576a4c83df7b5a56b8bd5cc7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agosecond implementation for hal-api-tbm 07/252807/1
SooChan Lim [Mon, 1 Feb 2021 10:57:36 +0000 (19:57 +0900)]
second implementation for hal-api-tbm

add protocol, drm-helper functions and logs and
fix other features, vars and functions

Change-Id: Ie3bac396305abeec51da2c6580d767410de29262

4 years agoinit hal-api-tbm 42/252642/2
Junkyeong Kim [Mon, 1 Feb 2021 05:36:04 +0000 (14:36 +0900)]
init hal-api-tbm

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