platform/hal/api/tbm.git
11 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

11 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

11 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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>
3 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

3 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

3 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

3 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

3 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>
3 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

3 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

3 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>
3 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>
3 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>
3 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>
3 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

3 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

3 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>
3 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

3 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>
3 years agoInitial empty repository master
Tizen Infrastructure [Thu, 17 Dec 2020 00:15:18 +0000 (00:15 +0000)]
Initial empty repository