platform/core/uifw/libtbm.git
2 years agotbm_module: add tbm_module.c file 97/259697/1
SooChan Lim [Thu, 10 Jun 2021 01:25:26 +0000 (10:25 +0900)]
tbm_module: add tbm_module.c file

Change-Id: I5e8d4d9454f453d66381dacba1905817e04db245

2 years agotbm_bufmgr: define tbm_module structure. 96/259696/1
SooChan Lim [Thu, 10 Jun 2021 01:21:13 +0000 (10:21 +0900)]
tbm_bufmgr: define tbm_module structure.

The tbm_module manages the backend modules of tbm.
1. manage the backend types.
2. manage the backend resources.
2. control the backend functions.

Change-Id: I4c59c10b291acce91b98fe6013398b0c501011c2

2 years agoPackage version up to 4.1.1 70/259570/1 accepted/tizen/unified/20210611.013538 submit/tizen/20210610.005840 submit/tizen/20210621.000838
SooChan Lim [Thu, 10 Jun 2021 00:53:13 +0000 (09:53 +0900)]
Package version up to 4.1.1

Change-Id: Ia0b360300f1ae0734a87dfacc7759656277058ff

2 years agotbm_bo: add get_from_hal_surface flag at tbm_bo 69/259569/1
SooChan Lim [Thu, 10 Jun 2021 00:36:08 +0000 (09:36 +0900)]
tbm_bo: add get_from_hal_surface flag at tbm_bo

The bo_data has to be freed at hal backend when
the get_from_hal_surface flag at tbm_bo is set.
Otherwise, the bo_data is freed at libtbm.
hal_tbm_surface has to deal with the life-cycle
of the hal_tbm_bo created by hal_tbm_surface.

Change-Id: I9342e5990796543bf6cf4a366fce6753a279f1e2
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
2 years agoPackage version up to 4.1.0 38/258938/1 submit/tizen/20210531.033615 submit/tizen/20210602.040040 submit/tizen/20210603.042328 submit/tizen/20210608.000531 submit/tizen/20210608.232051
SooChan Lim [Fri, 28 May 2021 06:10:33 +0000 (15:10 +0900)]
Package version up to 4.1.0

Change-Id: Ibbeb5b4679f4d691e2ff127a4f7bc97864d44db4

2 years agotbm_bo: check the bo which has the same bo_data 75/258175/1
SooChan Lim [Tue, 11 May 2021 23:42:01 +0000 (08:42 +0900)]
tbm_bo: check the bo which has the same bo_data

There is just one bo with a bo_data, so increase the
reference count when it has the same bo_data.

Change-Id: I6258a6a8bf1f8a268619c70278f7b0d57a20b9ac

2 years agotbm_surface_internal: tbm_surface_internal_import 74/258174/1
SooChan Lim [Tue, 11 May 2021 23:40:45 +0000 (08:40 +0900)]
tbm_surface_internal: tbm_surface_internal_import

It returns tbm_surface_h from buffer_data.

Change-Id: Ib7f91c092d0c73cc9b707ad6ad3d8262d365b4cd

2 years agotbm_surface_internal: implement tbm_surface_internal_export 73/258173/1
SooChan Lim [Tue, 11 May 2021 23:39:07 +0000 (08:39 +0900)]
tbm_surface_internal: implement tbm_surface_internal_export

It returns a buffer_data.

Change-Id: I4cb6cdfd86815abe478429e5cfb792b9b9d66594

2 years agotbm_surface_internal: add some error log macros 72/258172/1
SooChan Lim [Tue, 11 May 2021 23:37:40 +0000 (08:37 +0900)]
tbm_surface_internal: add some error log macros

this macros deals with the tbm_error types when a condition is failed.

Change-Id: Ie458e7b84b3d39565a5b535dac7beac111330e51

3 years agotc: add tcs for tbm_surface_internal_export/import 71/258171/1
SooChan Lim [Mon, 10 May 2021 12:50:14 +0000 (21:50 +0900)]
tc: add tcs for tbm_surface_internal_export/import

Change-Id: Id65e71408a5a165db99d693325f118c2d22c54b0

3 years agotbm_bo: free hal_tbm_bo when it is allocated by tbm_bo_alloc 42/257742/6 submit/tizen/20210608.001159
SooChan Lim [Fri, 30 Apr 2021 07:03:46 +0000 (16:03 +0900)]
tbm_bo: free hal_tbm_bo when it is allocated by tbm_bo_alloc

The hal_tbm_do which is allocated by tbm_bo_alloc_with_tbm_backend_data
is not freed at this _tbm_bo_free. The hal_tbm_bo from hal_tbm_surface
will be and should be freed at the hal-tbm-api backend module.

Change-Id: Ie10ecc370d1365a2c4a1067d3295d3fb632d7a0d

3 years agoallocate the tbm_surface when it has hal_tbm. 41/257741/5 submit/tizen/20210608.001246
SooChan Lim [Fri, 30 Apr 2021 04:35:43 +0000 (13:35 +0900)]
allocate the tbm_surface when it has hal_tbm.

When libtbm uses hal-tbm-api, it creates a tbm_surface_h with a new
hal_tbm_surface.

Change-Id: Ic3aeb3d0d3b2b1a11b02b8f61ca57858a57ddbc9

3 years agoadd tbm_bo_alloc_with_bo_data 40/257740/1 submit/tizen/20210608.001222
SooChan Lim [Fri, 30 Apr 2021 04:33:54 +0000 (13:33 +0900)]
add tbm_bo_alloc_with_bo_data

The tbm_bo_alloc_with_bo_data allocate tbm_bo with tbm_backend_bo_data.

Change-Id: I2980170d99e907e64c263468ade10be8bf40fe17

3 years agotbm_surface_internal: set an error when the refcnt of a surface is less than 0 39/257739/1
SooChan Lim [Thu, 29 Apr 2021 07:49:23 +0000 (16:49 +0900)]
tbm_surface_internal: set an error when the refcnt of a surface is less than 0

Only at TW3, we can watch that the refcnt of a surface is less than 0
when we run tbm-haltests all.

Change-Id: I614c48c412783bbbe7a21cca905da3440e7057f0

3 years agotbm_surface_internal: make an internal function for creating a surface 38/257738/1
SooChan Lim [Thu, 29 Apr 2021 07:32:24 +0000 (16:32 +0900)]
tbm_surface_internal: make an internal function for creating a surface

refoctor the creation of a surface.

Change-Id: I4f798a361791b9f2f354c44cae6e92a21c88568e

3 years agoadd the definitions of export/import surface 40/257540/1 submit/tizen/20210608.000609
SooChan Lim [Tue, 27 Apr 2021 10:16:56 +0000 (19:16 +0900)]
add the definitions of export/import surface

add tbm_surface_buffer_data and define two surface_internal api below
 - tbm_surface_internal_export
 - tbm_surface_internal_import

Change-Id: Ib098d8799e8f61aa20c1ee71af4ffa6b0a27b182

3 years agofix the memory allocation failed. 81/255581/1 accepted/tizen/unified/20210324.124652 submit/tizen/20210319.090109 submit/tizen/20210319.090617 submit/tizen/20210323.100158
SooChan Lim [Fri, 19 Mar 2021 08:52:57 +0000 (17:52 +0900)]
fix the memory allocation failed.

libtbm must calls tbm_bo_alloc function when tbm_bo_alloc_with_format is not supported at the backend module.

Change-Id: Ie2c3e161b278b88c724d2be7023399895574298b

3 years agoPackage version up to 4.0.2 71/255471/1 submit/tizen/20210319.034626
SooChan Lim [Fri, 19 Mar 2021 01:32:17 +0000 (10:32 +0900)]
Package version up to 4.0.2

Change-Id: I668aba67c6990509578569b13403e12ee24d4182

3 years agotbm_bo : use hal_tbm_bufmgr_alloc_bo_with_format instead of hal_tbm_bufmgr_alloc_bo_w... 70/255470/1
SooChan Lim [Fri, 19 Mar 2021 01:27:13 +0000 (10:27 +0900)]
tbm_bo : use hal_tbm_bufmgr_alloc_bo_with_format instead of hal_tbm_bufmgr_alloc_bo_with_tiled_format

At hal_tbm, the backend consider if this tbm_bo is the tiled memory or not with hal_tbm_bo_memory_type.
Therefore, remove the use of hal_tbm_bufmgr_alloc_bo_with_tiled_format api. This api is deprecated at hal tbm.

Change-Id: I86a7561845312a0a5fccfddf9fce9ca39593a50c

3 years agohaltests: modify Makefile.am in order to support out of source build 95/255095/2
Jongmin Lee [Fri, 12 Mar 2021 03:45:44 +0000 (12:45 +0900)]
haltests: modify Makefile.am in order to support out of source build

Change-Id: I432235975f7c232f22eebbb89666431681dc8e6c

3 years agoPackage version up to 4.0.1 25/255025/1 submit/tizen/20210316.103642
Junkyeong Kim [Thu, 11 Mar 2021 08:49:18 +0000 (17:49 +0900)]
Package version up to 4.0.1

Change-Id: I4d1573c2f1d12d8a41c46bd2156424357b020100
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoTdm_bo: Add null checking before use 23/255023/1
Junkyeong Kim [Thu, 11 Mar 2021 08:42:42 +0000 (17:42 +0900)]
Tdm_bo: Add null checking before use

Change-Id: I1b780b2eaeaac3cbf316156475a217f0628bef26
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agochange bin file position to /usr/bin/hal 77/254077/2
Junkyeong Kim [Tue, 23 Feb 2021 06:59:17 +0000 (15:59 +0900)]
change bin file position to /usr/bin/hal

Change-Id: Iec5ed001b0d78b4c17c962902b87192941998b07
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agotbm_surface_internal: check bufmgr init success before list init 80/254380/2
Junkyeong Kim [Tue, 2 Mar 2021 01:15:27 +0000 (10:15 +0900)]
tbm_surface_internal: check bufmgr init success before list init

Change-Id: I4b18a5b8375146d7518665d871585d8b8613027a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoPackage version up to 4.0.0 87/253987/2 accepted/tizen/unified/20210302.131108 submit/tizen/20210222.081804 submit/tizen/20210225.073439 submit/tizen/20210302.014712
SooChan Lim [Mon, 22 Feb 2021 03:53:43 +0000 (12:53 +0900)]
Package version up to 4.0.0

libtbm uses hal-api-tbm from v4.0.0 at Tizen 6.5

Change-Id: I0605930ed9bdd10371266a588dfaf0df69a13e74

3 years agoadd surface destroy callback add/remove api 48/253948/4
Junkyeong Kim [Sat, 20 Feb 2021 08:36:10 +0000 (17:36 +0900)]
add surface destroy callback add/remove api

Change-Id: I1e94f5e33599f074f423f3ad81ad2964aeb5c56d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agohal: deal with auth drm_fd 84/253984/2
SooChan Lim [Tue, 16 Feb 2021 10:41:25 +0000 (19:41 +0900)]
hal: deal with auth drm_fd

tbm backend must have the authenticated drm_fd when it has a drm_device.
If master_fd set from libtdm exists, libtbm sets the authencated drm_fd to the backend.
If there is no master_fd, libtbm get the authenticated drm_fd from the process(display server)
which has a master fd.

Change-Id: I0111976a26dc1f26191439517e5d8869a8955a36
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agotbm_bo: do not print error if return value is NOT_SUPPORTED 83/253983/2
Junkyeong Kim [Mon, 8 Feb 2021 09:52:37 +0000 (18:52 +0900)]
tbm_bo: do not print error if return value is NOT_SUPPORTED

Change-Id: Iaf4aaab751d09c2a3aa1da873fc113a8fa80e2f9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoNOT_SUPPORTED return ture at lock/unlock 82/253982/2
SooChan Lim [Sun, 7 Feb 2021 06:47:03 +0000 (15:47 +0900)]
NOT_SUPPORTED return ture at lock/unlock

Change-Id: I64abc4f9c942d10d0830f2ca647276a02f54b0f3

3 years agotc_tbm_backend: do not check symbol if using hal-tbm 81/253981/2
Junkyeong Kim [Sun, 7 Feb 2021 06:27:41 +0000 (15:27 +0900)]
tc_tbm_backend: do not check symbol if using hal-tbm

Change-Id: I9b876de02b326a59a74298df92332b08205d93ce
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoadd return value 80/253980/2
SooChan Lim [Sun, 7 Feb 2021 06:15:48 +0000 (15:15 +0900)]
add return value

Change-Id: I17763b2c40ba3914231ea5135cfad57707a4d3d9

3 years agotbm_bo: do not use error log parameter 79/253979/2
Junkyeong Kim [Sun, 7 Feb 2021 06:00:00 +0000 (15:00 +0900)]
tbm_bo: do not use error log parameter

Change-Id: I2884953db2effa50dba896973c7110523944e832
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoadapt hal-api-tbm 78/253978/2
Junkyeong Kim [Thu, 4 Feb 2021 04:51:27 +0000 (13:51 +0900)]
adapt hal-api-tbm

libtbm uses hal-api-tbm from Tizen 6.5.
Therefore, libtbm links libhal-api-tbm library and libtbm work with
hal-api-tbm when the hal-backend-tbm backend library at /hal/lib directory.
If not, libtbm works with the legacy tbm backend so file at /usr/lib/bufmgr
directory.

Change-Id: I6428b3cddf8914f38c4b2ca55b5f731440846e2f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoPackage version up to 3.3.16 46/252246/1 accepted/tizen/unified/20210127.144834 submit/tizen/20210126.060057
Changyeon Lee [Tue, 26 Jan 2021 04:45:16 +0000 (13:45 +0900)]
Package version up to 3.3.16

Change-Id: Ieb1219819dfd004df557194f718126ecb5ca8755

3 years agohaltest: use memory pointer intead TBM_UT_INVALID_UINT_VALUE 45/252245/1
Changyeon Lee [Tue, 26 Jan 2021 04:40:53 +0000 (13:40 +0900)]
haltest: use memory pointer intead TBM_UT_INVALID_UINT_VALUE

Change-Id: I9e114a1e4c472a8db8a463d8d2868d22e4aa3a19

3 years agopackage version up to 3.3.15 60/251360/2 accepted/tizen/unified/20210115.125753 submit/tizen/20210114.082939
Changyeon Lee [Wed, 13 Jan 2021 04:50:58 +0000 (13:50 +0900)]
package version up to 3.3.15

Change-Id: I6bfac4c03367f56c020911c8c7eaa50cd02301c4

3 years agofix typo 05/250805/3
Shinwoo Kim [Tue, 5 Jan 2021 01:37:08 +0000 (10:37 +0900)]
fix typo

Change-Id: I07584c7153e4f4a4faf752ba78aef54ce7e10489
Signed-off-by: Shinwoo Kim <cinoo.kim@samsung.com>
3 years agosurface: clean up tbm_surface_internal_set_debug_data 00/251100/3
Changyeon Lee [Fri, 8 Jan 2021 04:17:46 +0000 (13:17 +0900)]
surface: clean up tbm_surface_internal_set_debug_data

Change-Id: I08b2994f273f6ac3413d4a8bcb2216bc884f0442

3 years agosurface: move function of allocating for surface to tbm_bo 99/251099/2
Changyeon Lee [Thu, 7 Jan 2021 10:36:50 +0000 (19:36 +0900)]
surface: move function of allocating for surface to tbm_bo

Change-Id: Ic71bf090a534da9cb7ffd4c086c34c268b60f67e

3 years agobo: use magic number for checking valid of bo 98/251098/1
Changyeon Lee [Thu, 7 Jan 2021 08:22:00 +0000 (17:22 +0900)]
bo: use magic number for checking valid of bo

Change-Id: I4bb5a73da0c9afc3fb6040e9063f5c1d92d87df2

3 years agosurface: use magic number for checking valid of surface 97/251097/1
Changyeon Lee [Thu, 7 Jan 2021 08:02:25 +0000 (17:02 +0900)]
surface: use magic number for checking valid of surface

Change-Id: If6c987d276c97d2a21ba38c76d0a01e66cbdcfe5

3 years agosurface_queue: use magic number for checking valid of surface_queue 57/250757/2
Changyeon Lee [Mon, 4 Jan 2021 09:13:50 +0000 (18:13 +0900)]
surface_queue: use magic number for checking valid of surface_queue

Change-Id: Ie244b00d8c03b6b56815b1506270ea99b4be76cf

3 years agopackage version up to 3.3.14 86/244786/2 accepted/tizen/unified/20210104.130317 submit/tizen/20200924.074306 submit/tizen/20201231.043706
Changyeon Lee [Thu, 24 Sep 2020 07:19:18 +0000 (16:19 +0900)]
package version up to 3.3.14

Change-Id: Id3c861e3ff2a2b7874bd56ca1f1e6a770b5d5e56

3 years agotbm_surface_queue: notify reset callback in free_flush 78/244778/4
Changyeon Lee [Thu, 24 Sep 2020 06:16:55 +0000 (15:16 +0900)]
tbm_surface_queue: notify reset callback in free_flush

ddk should know that free buffer is destroyed

Change-Id: Id9031a0cdcc167fb89ce0d9c0c53f1ef68478917

3 years agopackage version up to 3.3.13 22/239622/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114332 accepted/tizen/6.0/unified/hotfix/20201103.002627 accepted/tizen/unified/20200729.165648 submit/tizen/20200728.082326 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
SooChan Lim [Tue, 28 Jul 2020 07:57:55 +0000 (16:57 +0900)]
package version up to 3.3.13

Change-Id: I385d21ebb6dfa597ac0edef9693eca4839f874e2

3 years agochange the _tmpfilesdir to /usr/lib 21/239621/1
SooChan Lim [Tue, 28 Jul 2020 07:57:04 +0000 (16:57 +0900)]
change the _tmpfilesdir to /usr/lib

Change-Id: I5b7d4a2f23591a7c6c3a32cd15767fe6d8c97924

3 years agopackage version up to 3.3.12 26/237626/1 accepted/tizen/unified/20200703.014551 submit/tizen/20200702.040708 submit/tizen/20200702.040745
SooChan Lim [Thu, 2 Jul 2020 02:39:20 +0000 (11:39 +0900)]
package version up to 3.3.12

Change-Id: I980eb0eeec6077a639ec9ea9c04c2bfe87bfa5cd

3 years agobufmgr: do not print backend information on stdout 15/237615/1
SooChan Lim [Thu, 2 Jul 2020 01:33:53 +0000 (10:33 +0900)]
bufmgr: do not print backend information on stdout

Change-Id: I88d0c80e48cdcb1a2c6023eb9fc9ce10dfb90153

3 years agopackage version up to 3.3.11 33/237233/1 accepted/tizen/unified/20200630.131407 submit/tizen/20200626.065636
Junkyeong Kim [Fri, 26 Jun 2020 06:35:46 +0000 (15:35 +0900)]
package version up to 3.3.11

Change-Id: I0062a5eaede2e3f34ceda164a25a430c83e98624
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agohaltest: erase unnecessary tc 32/237232/1
Junkyeong Kim [Fri, 26 Jun 2020 06:35:02 +0000 (15:35 +0900)]
haltest: erase unnecessary tc

Change-Id: I60f5f303d0cbdebcac2fa723007551dedf213f3b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agopackage version up to 3.3.10 61/236861/3 accepted/tizen/unified/20200624.130238 submit/tizen/20200623.060802
SooChan Lim [Tue, 23 Jun 2020 02:22:19 +0000 (11:22 +0900)]
package version up to 3.3.10

Change-Id: If19ec6edd8cd85c6948cabc54ca4363e71b82957

3 years agoinstall the sw_sync.conf file with the binary package 68/236868/2
SooChan Lim [Tue, 23 Jun 2020 03:55:08 +0000 (12:55 +0900)]
install the sw_sync.conf file with the binary package

Change-Id: I2c589727ce6013f57b05854e4c879baba4216000

3 years agoadd the ownership of the display group to the /dev/sw_sync 60/236860/3
SooChan Lim [Tue, 23 Jun 2020 02:19:58 +0000 (11:19 +0900)]
add the ownership of the display group to the /dev/sw_sync

This is for the users who use the tbm_sync

Change-Id: I5598de1d02f7dd2f1bcd750cc7d88520b2fc1998

3 years agopackage version up to 3.3.9 29/234529/1 accepted/tizen/unified/20200529.124210 submit/tizen/20200527.052147 submit/tizen/20200528.081645
SooChan Lim [Wed, 27 May 2020 05:04:40 +0000 (14:04 +0900)]
package version up to 3.3.9

Change-Id: Ie7b5c120722d7fc92ab1c57e4b4a878dd7fdbdf5

3 years agoremove getenv() function call 28/234528/1
SooChan Lim [Wed, 27 May 2020 05:03:55 +0000 (14:03 +0900)]
remove getenv() function call

Change-Id: Ibe247e64475e2f079768e510c185e2c112fb1a14

3 years agopackage version up to 3.3.8 56/233656/1 accepted/tizen/unified/20200518.211956 submit/tizen/20200518.052354
Seunghun Lee [Mon, 18 May 2020 05:14:13 +0000 (14:14 +0900)]
package version up to 3.3.8

Change-Id: I24c78f736f90a61831422aa7ee1b6b2be4e5a692

3 years agoRevert "remove getenv() function." 55/233655/1
Seunghun Lee [Mon, 18 May 2020 05:13:08 +0000 (14:13 +0900)]
Revert "remove getenv() function."

it needs to be more verified.

This reverts commit df7381bc4111c24cbe7363dd039572332270230b.

Change-Id: If7c555fd0a9ca4159abb5b7de906a0e2b5016eab

3 years ago package version up to 3.3.7 88/233388/1 accepted/tizen/unified/20200515.081418 submit/tizen/20200514.092722 submit/tizen/20200514.120617
SooChan Lim [Thu, 14 May 2020 08:29:25 +0000 (17:29 +0900)]
 package version up to 3.3.7

Change-Id: I99b9f1942a535c44ca16b8226d3d3f236e2d585d

3 years agoremove getenv() function. 87/233387/1
SooChan Lim [Thu, 14 May 2020 08:27:54 +0000 (17:27 +0900)]
remove getenv() function.

The getenv() function does not support multithread.
Therefore libtbm does not use getenv() from now.

Change-Id: Ic0a6cb46bbf60da0d65ceafffccbc1b2ea0f5d4e

3 years agotbm_bufmgr: arrange tbm_bufmgr debug info 31/233031/4
Changyeon Lee [Mon, 11 May 2020 10:29:12 +0000 (19:29 +0900)]
tbm_bufmgr: arrange tbm_bufmgr debug info

Change-Id: Icbac9815e3459d0497ee7f8b7554f948ad639984

4 years agopackage version up to 3.3.6 74/232774/1 accepted/tizen/unified/20200510.220420 submit/tizen/20200508.035915
Junkyeong Kim [Thu, 7 May 2020 10:42:51 +0000 (19:42 +0900)]
package version up to 3.3.6

Change-Id: I7cbf0f0643a129a512eb13178b510de037d2e2ec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agouse dlog default 73/232773/1
Junkyeong Kim [Thu, 7 May 2020 10:41:03 +0000 (19:41 +0900)]
use dlog default

do not use getenv to check TBM_DLOG environment value to avoid getenv's thread safety problem.

Change-Id: I9a862f2bef4edaba060e3aa3d7123e897dfb3d87
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agopackage version up to 3.3.5 11/230811/1 accepted/tizen/unified/20200415.121412 submit/tizen/20200414.085534
SooChan Lim [Tue, 14 Apr 2020 08:52:39 +0000 (17:52 +0900)]
package version up to 3.3.5

Change-Id: I75fa277c474126963b002c47852081e12aaa1f56

4 years agoassign the display group for the file asscess on sw_sync 87/229687/1
SooChan Lim [Thu, 2 Apr 2020 23:49:29 +0000 (08:49 +0900)]
assign the display group for the file asscess on sw_sync

When the user uses tbm_sync_timeline_xxx api,
SYNC_DEVICE_PATH has to get the display group authority.
The sw_sync.conf file will do that.

Change-Id: I22e221995c58b61a4974b943ba3515dfcb9e0093

4 years agopackage version up to 3.3.4 95/227895/1
Changyeon Lee [Tue, 17 Mar 2020 05:30:38 +0000 (14:30 +0900)]
package version up to 3.3.4

Change-Id: Ie4a2d1608f1a2b0538aedcc82241bfe47b5ef0e2

4 years agotbm_surface_internal: remove padding area of buffer in capture 09/226709/1
Changyeon Lee [Wed, 26 Feb 2020 10:10:57 +0000 (19:10 +0900)]
tbm_surface_internal: remove padding area of buffer in capture

Change-Id: Ia042ab4b9a6f6bc8f761ce1b589799826e512af4

4 years agouse gmock intead of gtest 82/221282/1
SooChan Lim [Tue, 31 Dec 2019 01:11:48 +0000 (10:11 +0900)]
use gmock intead of gtest

The gmock conflict with gtest and gmock contains gtest.
Therefore, haltests uses gmock intead of gtest to use gmock.

Change-Id: I3166caa1991fd38499b816a1cec9d42dc4f2604f

4 years agopackage version up to 3.3.3 66/220866/2 accepted/tizen/unified/20191230.120919 submit/tizen/20191230.024946
Changyeon Lee [Tue, 24 Dec 2019 04:32:49 +0000 (13:32 +0900)]
package version up to 3.3.3

Change-Id: I790d9ccafe78b7722be823732f020db6170c80fa

4 years agofix warning stringop-truncation 94/221094/1
Changyeon Lee [Fri, 27 Dec 2019 05:31:06 +0000 (14:31 +0900)]
fix warning stringop-truncation

Change-Id: I73d11ce3ca4904d307d3764f7c26f40f3de2a8f8

4 years agotbm_sync: support mainline interface of fence 81/220581/3
Changyeon Lee [Thu, 19 Dec 2019 12:44:38 +0000 (21:44 +0900)]
tbm_sync: support mainline interface of fence

1. first try to call maline FENCE_MERGE ioctl in tbm_sync_fence_merge.
2. use poll instead of legacy FENCE_WAIT ioctl in tbm_sync_fence_wait.

Change-Id: I636a99b4f49806c2a6519e44e2675b53ea83d3a5

4 years agopackage version up to 3.3.2 60/219960/1 accepted/tizen/unified/20191213.042456 submit/tizen/20191212.050349
Changyeon Lee [Thu, 12 Dec 2019 04:59:45 +0000 (13:59 +0900)]
package version up to 3.3.2

Change-Id: Ic663295cd9b843a3ac5f718255f8da522c693a14

4 years agotbm_surface_internal: set up error handling when dump png 59/219959/1
Changyeon Lee [Thu, 12 Dec 2019 04:33:07 +0000 (13:33 +0900)]
tbm_surface_internal: set up error handling when dump png

Change-Id: I0ab6cb454021576e1f1308dad5dc67b08a49ecad

4 years agopackage version up to 3.3.1 68/218668/1 accepted/tizen/unified/20191128.161929 submit/tizen/20191127.074502
Changyeon Lee [Tue, 26 Nov 2019 12:39:14 +0000 (21:39 +0900)]
package version up to 3.3.1

Change-Id: I6879cde0084cd168e9ca594d92bb7b7c58e56be4

4 years agotbm_sync: first try to open mainline sw_sync node 67/218667/1
Changyeon Lee [Tue, 26 Nov 2019 12:36:22 +0000 (21:36 +0900)]
tbm_sync: first try to open mainline sw_sync node

Change-Id: If1fc2c7da2d80dfe86cd8229ee8a8e03269809d7

4 years agopackage version up to 3.3.0 accepted/tizen/unified/20191104.115251 submit/tizen/20191104.003215
SooChan Lim [Mon, 30 Sep 2019 01:16:08 +0000 (10:16 +0900)]
package version up to 3.3.0

tizen 6.0 starts here.

Change-Id: Ibcb4471e08409458ac6ae1a9ee33e803f40eb17c

4 years agoRevert "tbm_surface_internal: Removes avoidable malloc() for png dump" 94/214694/1
Junkyeong Kim [Wed, 25 Sep 2019 09:51:57 +0000 (18:51 +0900)]
Revert "tbm_surface_internal: Removes avoidable malloc() for png dump"

This reverts commit 019b0a2750ab389bf26575caf8cbf832b64bc64b.

Change-Id: Iae72cb1137b63fe0e176d3ff80e168d3c09d91ed
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 3.2.8 66/213866/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.021328 accepted/tizen/5.5/unified/mobile/hotfix/20201027.080707 accepted/tizen/unified/20190917.110613 submit/tizen/20190916.062807 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 tizen_5.5.m2_release
Changyeon Lee [Mon, 16 Sep 2019 05:09:47 +0000 (14:09 +0900)]
Package version up to 3.2.8

Change-Id: I3975eb19e196b0aa73fc591d7b3c7b7bb359748d

4 years agotbm_surface_internal: fix null pointer dereference 65/213865/1
Changyeon Lee [Mon, 16 Sep 2019 05:06:06 +0000 (14:06 +0900)]
tbm_surface_internal: fix null pointer dereference

Change-Id: Ibfa51ce01a8168b194752eb10c1d319e4f1fea79

4 years agotbm_surface_internal: Removes avoidable malloc() for png dump 49/213449/2
YoungJun Cho [Thu, 5 Sep 2019 10:06:04 +0000 (19:06 +0900)]
tbm_surface_internal: Removes avoidable malloc() for png dump

This patch removes avoidable malloc() for png dump.

Change-Id: I7e64c7b5d14f752aa5c209138cefad9fe2f6bb3a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
4 years agoPackage version up to 3.2.7 35/213335/2 submit/tizen/20190905.074108
Changyeon Lee [Wed, 4 Sep 2019 08:41:02 +0000 (17:41 +0900)]
Package version up to 3.2.7

Change-Id: Ie5e50a59ddce04f5eca8e3a7d85d4c76d0b2abeb

4 years agouse PTHREAD_MUTEX_INITIALIZER for static mutex 01/213301/3
Changyeon Lee [Wed, 4 Sep 2019 05:52:29 +0000 (14:52 +0900)]
use PTHREAD_MUTEX_INITIALIZER for static mutex

Change-Id: Id9b175c21fe56b744f8e6a27394bcf206e927008

4 years agoPackage version up to 3.2.6 84/213084/1 accepted/tizen/unified/20190902.055241 submit/tizen/20190830.073600
Changyeon Lee [Fri, 30 Aug 2019 06:28:41 +0000 (15:28 +0900)]
Package version up to 3.2.6

Change-Id: Ib66e4d4ea2c4c9976b91b3e8338deac6a569da9e

4 years agotbm_bufmgr: add stdout log before and after load module 10/213010/3
Changyeon Lee [Thu, 29 Aug 2019 07:55:50 +0000 (16:55 +0900)]
tbm_bufmgr: add stdout log before and after load module

Change-Id: Ida6d84efa25aaf900bd469f092a1dbc461bb372f

4 years agoRevert "tizen: Add additional unit for "unified" user session" 83/212483/1 accepted/tizen/unified/20190828.011051 submit/tizen/20190826.053808
Yunmi Ha [Thu, 22 Aug 2019 02:41:23 +0000 (11:41 +0900)]
Revert "tizen: Add additional unit for "unified" user session"

This reverts commit 9a9ec72dffc26405e5770368f782748bf6f8130c.

We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.

Change-Id: I54bc7246f3b675674e0cd86c883ffb4defac5498
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoPackage version up to 3.2.5 08/212008/1 accepted/tizen/unified/20190819.081502 submit/tizen/20190813.090505
Changyeon Lee [Tue, 13 Aug 2019 06:45:56 +0000 (15:45 +0900)]
Package version up to 3.2.5

Change-Id: Ifc12eadc91548dc49876b06a05bad187fdc95059

4 years agotbm_drm_helper: add extern C 07/212007/1
Changyeon Lee [Tue, 13 Aug 2019 06:46:59 +0000 (15:46 +0900)]
tbm_drm_helper: add extern C

Change-Id: I4b7b104eaa5ae5c9ce0eb7ad2dfd1cdfbfb8fefa

4 years agodoc: add the md files for the tbm porting_guide 20/211420/1
SooChan Lim [Sun, 4 Aug 2019 23:42:30 +0000 (08:42 +0900)]
doc: add the md files for the tbm porting_guide

Change-Id: I42cfe8ec0cb364d691afc5fa40798609cdebc749

4 years agochange the comment 29/210829/1
SooChan Lim [Thu, 25 Jul 2019 06:16:20 +0000 (15:16 +0900)]
change the comment

Change-Id: I51e8d6335daa8495f579981b53429875aca7d0d7

4 years agoPackage version up to 3.2.4 82/210182/1 accepted/tizen/unified/20190721.213230 submit/tizen/20190718.064631 submit/tizen/20190725.044739
Changyeon Lee [Mon, 15 Jul 2019 10:56:10 +0000 (19:56 +0900)]
Package version up to 3.2.4

Change-Id: I8be41067fdf62faeacfd7af6502d4cac794342b3

4 years agotbm_surface_queue: attach and check surface when free_cond is awakened 48/209748/1
Changyeon Lee [Mon, 8 Jul 2019 03:09:50 +0000 (12:09 +0900)]
tbm_surface_queue: attach and check surface when free_cond is awakened

Change-Id: I2a2f3efa19c91ec8bc610766cd8aae5d24f6de38

4 years agoPackage version up to 3.2.3 90/209390/1 accepted/tizen/unified/20190708.052452 submit/tizen/20190705.094247
Junkyeong Kim [Fri, 5 Jul 2019 08:41:54 +0000 (17:41 +0900)]
Package version up to 3.2.3

Change-Id: I6d5d8fb9f44ee459a596af107a96e1c0571aa1c6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoadd gcno data for gcov 49/209349/1
Junkyeong Kim [Fri, 5 Jul 2019 05:26:03 +0000 (14:26 +0900)]
add gcno data for gcov

Change-Id: I5f2e0f158027d333b507f03d90041d928828fe4e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotbm_surface: remove trace log in checking valid 21/207621/2
Changyeon Lee [Mon, 10 Jun 2019 05:09:07 +0000 (14:09 +0900)]
tbm_surface: remove trace log in checking valid

Change-Id: I5d32bfa6af3a7057a080099cedb8e37e1d782675

4 years agosurface_queue: remove need_attach interface of sequence and default 16/207616/2
Changyeon Lee [Tue, 4 Jun 2019 07:21:48 +0000 (16:21 +0900)]
surface_queue: remove need_attach interface of sequence and default

Change-Id: Ib1c9bde06a4050f191ef8ffee56d0f9597f8a5b9

4 years agosurface_queue: move flags from impl_data to surface_queue 15/207615/2
Changyeon Lee [Tue, 4 Jun 2019 06:52:10 +0000 (15:52 +0900)]
surface_queue: move flags from impl_data to surface_queue

Change-Id: I7c8f54cd96a849df89408decf494c84c943313aa

4 years agoPackage version up to 3.2.2 65/207665/1 submit/tizen/20190611.040851
SooChan Lim [Tue, 11 Jun 2019 02:18:34 +0000 (11:18 +0900)]
Package version up to 3.2.2

Change-Id: Iadbaf840b7c8d84d62a23b920f756d531fb5b173

4 years agoFix tiled format issue. 65/207365/2
Xuelian Bai [Tue, 4 Jun 2019 11:57:32 +0000 (19:57 +0800)]
Fix tiled format issue.

When flags are not tiled, don't call bufmgr_alloc_bo_with_tiled.
Or, performance down will happen.

Change-Id: Ib15094db7a1d614772f9c161549aa3b63f69d738
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
5 years agoPackage version up to 3.2.1 70/205370/1 accepted/tizen/unified/20190508.111037 submit/tizen/20190503.004212 submit/tizen/20190503.062627 submit/tizen/20190507.022333
SooChan Lim [Thu, 2 May 2019 23:40:49 +0000 (08:40 +0900)]
Package version up to 3.2.1

Change-Id: Ide615411bc2ddb192b6245d0d399741d731e6d47

5 years agotizen: Add additional unit for "unified" user session 96/204796/2
Mateusz Moscicki [Fri, 19 Apr 2019 11:51:42 +0000 (13:51 +0200)]
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* VD requirement to remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: I075f90828960e3c7586330aa6a42820d04f1971b
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
5 years agosurface_queue: remove unnecessary checking of queue valid 58/202358/1
Changyeon Lee [Wed, 27 Mar 2019 11:55:23 +0000 (20:55 +0900)]
surface_queue: remove unnecessary checking of queue valid

Change-Id: I4b4cea36056352870c9496065244a8cee78b6f69