platform/core/uifw/libtbm.git
5 days agoPackage version up to 4.5.0 67/317667/2 tizen
Changyeon Lee [Fri, 13 Sep 2024 02:55:03 +0000 (11:55 +0900)]
Package version up to 4.5.0

Change-Id: I037c51139551be74c91925f5f06f44a778d139fd

5 days agotbm_sync: Add tbm_sync_fence_is_signaled 66/317666/2
Changyeon Lee [Fri, 13 Sep 2024 02:52:23 +0000 (11:52 +0900)]
tbm_sync: Add tbm_sync_fence_is_signaled

Change-Id: I7140aa69ee9553801e3e513f59a67580543978cf

5 days agotbm_sync: Inlucde linux/sync_file.h 65/317665/1
Changyeon Lee [Fri, 13 Sep 2024 02:17:56 +0000 (11:17 +0900)]
tbm_sync: Inlucde linux/sync_file.h

Change-Id: If4b24f2c9cc0f7906f6ce13e71b6d798648b8782

8 days agoPackage version up to 4.4.0 21/317421/1 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x accepted/tizen/unified/20240911.104725 accepted/tizen/unified/dev/20240913.055600 accepted/tizen/unified/x/20240911.133507
Changyeon Lee [Tue, 10 Sep 2024 04:52:41 +0000 (13:52 +0900)]
Package version up to 4.4.0

Change-Id: I2343f849d35ef52e7da6cdfcd5b864c39a66e6cf

8 days agotbm_bufmgr: Remove temporary api declaration 20/317420/1
Changyeon Lee [Thu, 5 Sep 2024 02:31:41 +0000 (11:31 +0900)]
tbm_bufmgr: Remove temporary api declaration

Change-Id: I6bc1cc1c36f88da26138bfea2122719417b73933

2 weeks agocorrect tbm_bufmgr_internal_alloc_bo_with_format() prototype 29/312529/2
Marek Szyprowski [Tue, 11 Jun 2024 07:30:35 +0000 (09:30 +0200)]
correct tbm_bufmgr_internal_alloc_bo_with_format() prototype

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I7fba8c0bbf6a146d82a0f878a4acb9c4aff473f8

3 weeks agoPackage version up to 4.3.0 63/316663/1 accepted/tizen/unified/20240827.042038 accepted/tizen/unified/dev/20240828.023800 accepted/tizen/unified/x/20240827.053128
Changyeon Lee [Mon, 26 Aug 2024 10:32:33 +0000 (19:32 +0900)]
Package version up to 4.3.0

Change-Id: If69189c4152c2be52778da41f7ace420d8d74a09

3 weeks agotbm_surface_queue: Add tbm_surface_queue_get_next_dequeue 62/316662/1
Changyeon Lee [Mon, 26 Aug 2024 10:11:53 +0000 (19:11 +0900)]
tbm_surface_queue: Add tbm_surface_queue_get_next_dequeue

Change-Id: I39c5d2c02ef12f566db2e55f99d98cb1cbd7ed47

5 weeks agoPackage version up to 4.2.0 60/315760/5 accepted/tizen/unified/20240809.055134 accepted/tizen/unified/dev/20240812.223126 accepted/tizen/unified/x/20240813.112403
Changyeon Lee [Wed, 7 Aug 2024 05:37:38 +0000 (14:37 +0900)]
Package version up to 4.2.0

Change-Id: I1d86939930342e9bc0b6c91980af4aeacb2022b7

5 weeks agoAdd temporary internal function in header 59/315759/5
Changyeon Lee [Wed, 7 Aug 2024 04:18:07 +0000 (13:18 +0900)]
Add temporary internal function in header

Change-Id: If1a8d45bfc8ab9a60456829e1d12025193e2ecfa

5 weeks agoRemove debug and deprecated header in tbm_type_common.h 58/315758/5
Changyeon Lee [Wed, 7 Aug 2024 07:09:14 +0000 (16:09 +0900)]
Remove debug and deprecated header in tbm_type_common.h

Change-Id: I0523a9bf5d3e549d8e2be116b39ee2a6f2265890

5 weeks agoAdd tbm_debug header 57/315757/5
Changyeon Lee [Wed, 7 Aug 2024 03:48:24 +0000 (12:48 +0900)]
Add tbm_debug header

Change-Id: I933ee18a2458f9d97fc0f7a4fe8dad18a28bb501

6 weeks agotbm_surface_queue: Add tbm_surface_queue_internal header 56/315756/3
Changyeon Lee [Tue, 6 Aug 2024 11:07:06 +0000 (20:07 +0900)]
tbm_surface_queue: Add tbm_surface_queue_internal header

Change-Id: I341d4a3eabb58d9bdc09600ea1efffce1a343f53

6 weeks agotbm_bufmgr: Add tbm_bufmgr_internal header 55/315755/2
Changyeon Lee [Tue, 6 Aug 2024 11:40:00 +0000 (20:40 +0900)]
tbm_bufmgr: Add tbm_bufmgr_internal header

Change-Id: I69e19fc99ca63466b6ac2daf9ce878acc5ecd713

3 months agoPrevent spurious restarts 68/313168/1 accepted/tizen_unified_toolchain accepted/tizen_unified_x_asan accepted/tizen/unified/20240705.082043 accepted/tizen/unified/dev/20240708.053941 accepted/tizen/unified/toolchain/20240812.131843 accepted/tizen/unified/x/20240705.112619 accepted/tizen/unified/x/asan/20240813.230119
Łukasz Stelmach [Wed, 19 Jun 2024 14:32:10 +0000 (16:32 +0200)]
Prevent spurious restarts

Due to a fix to path units in systemd in commit 708961c701 ("core/path:
recheck path specs when triggered unit changes state"), service units
that aren't supposed to run repeatedly and are triggered by path units
need to set RemainAfterExit=yes.

Change-Id: Ibf47c6e384b45555c5a081e918e37791219cb15c
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
5 months agoPackage version up to 4.1.31 20/308420/3 accepted/tizen/unified/20240328.123403 accepted/tizen/unified/dev/20240620.010305 accepted/tizen/unified/x/20240401.142327
Changyeon Lee [Mon, 25 Mar 2024 07:46:13 +0000 (16:46 +0900)]
Package version up to 4.1.31

Change-Id: If7e69a079d4db1e73b7d7522ada0e94c6782efc8

5 months agotbm_module: Do not initialize auth server if module has no master drm_fd 19/308419/3
Changyeon Lee [Mon, 25 Mar 2024 07:11:13 +0000 (16:11 +0900)]
tbm_module: Do not initialize auth server if module has no master drm_fd

the display server has no master drm_fd when it is launched in container
environment and it connect with host display server.

Change-Id: I14942c7e9a63f1b3472bdb961b08bf7fa198e40b

6 months agoPackage version up to 4.1.30 59/308159/1 accepted/tizen/unified/20240321.142339 accepted/tizen/unified/20240321.155940 accepted/tizen/unified/x/20240326.073148
Junkyeong Kim [Tue, 19 Mar 2024 02:12:17 +0000 (11:12 +0900)]
Package version up to 4.1.30

Change-Id: Icc4a99a5075a3127490b96452bc37dfa78ce1e9c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 months agohaltest: Fix test execution error 58/308158/1
Junkyeong Kim [Tue, 19 Mar 2024 02:10:39 +0000 (11:10 +0900)]
haltest: Fix test execution error

The gtest version up to 1.14.
Have to match test build version to 1.14.

Change-Id: I3689f6e6fb5835ba03ea5feb9844571455a77bc3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 months agoPackage version up to 4.1.29 45/307445/2 accepted/tizen/unified/20240311.170443 accepted/tizen/unified/x/20240313.092051
Junkyeong Kim [Fri, 8 Mar 2024 09:23:52 +0000 (18:23 +0900)]
Package version up to 4.1.29

Change-Id: I4cb1fa6415c1434eb5809dce752b202d6bd29ec8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 months agoFix lcov pair error 44/307444/2
Junkyeong Kim [Fri, 8 Mar 2024 09:20:16 +0000 (18:20 +0900)]
Fix lcov pair error

New lcov version do not allow start stop comment pair error.
It makes lcov generating failed.

Change-Id: Ie4b29ca4d6687d512231137e25794275ebfd9cc0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 months agoPackage version up to 4.1.28 31/307231/3 accepted/tizen/unified/20240307.171826 accepted/tizen/unified/x/20240311.095928
Changyeon Lee [Wed, 6 Mar 2024 07:34:53 +0000 (16:34 +0900)]
Package version up to 4.1.28

Change-Id: I6f5dd6404d27b229c4b0420f512b56c43a82d805

6 months agosurface_queue: Fix missing lock 93/307193/4
Changyeon Lee [Wed, 6 Mar 2024 03:52:02 +0000 (12:52 +0900)]
surface_queue: Fix missing lock

Change-Id: Ie58e1cf3cb8a6873a1b45196a6b52e18e6b70f4c

6 months agobufmgr: Fix missing lock 92/307192/3
Changyeon Lee [Wed, 6 Mar 2024 03:36:07 +0000 (12:36 +0900)]
bufmgr: Fix missing lock

Change-Id: I9efdaa913f9ad24daf35a51c4ccba3e72a26e246

7 months agopackaging: Update version up to 4.1.27 35/305335/1 accepted/tizen/unified/20240201.165102 accepted/tizen/unified/toolchain/20240311.065753 accepted/tizen/unified/x/20240205.063744
Junseok Kim [Wed, 31 Jan 2024 09:02:24 +0000 (18:02 +0900)]
packaging: Update version up to 4.1.27

Change-Id: I99b060cfcc79e96ef5698199f9ee5ea486528751

7 months agoheaders: Remove version branching by profile 32/305332/1
Junseok Kim [Wed, 31 Jan 2024 08:58:47 +0000 (17:58 +0900)]
headers: Remove version branching by profile

Change-Id: Ib401f650a0703eddf74975f2559bf860e8cb3a32

11 months agotbm_surface_queue: Fix bug that can_dequeue does not wait when using 1000ms 18/299518/1 accepted/tizen/unified/20231006.044440
Changyeon Lee [Wed, 4 Oct 2023 03:17:23 +0000 (12:17 +0900)]
tbm_surface_queue: Fix bug that can_dequeue does not wait when using 1000ms

Change-Id: I690deef54400ce54bb27febcca06b0cf15ac94ad

13 months agoRemove unnecessary new line 29/297329/1 accepted/tizen/8.0/unified/20231005.094222 accepted/tizen/unified/20230818.054607 tizen_8.0_m2_release
Changyeon Lee [Thu, 17 Aug 2023 03:22:20 +0000 (12:22 +0900)]
Remove unnecessary new line

Change-Id: Id5e39d8dd60ee1c145efe11adc95f67ef1a2510d

13 months agotbm_module: Remove unused argument of log 97/297297/1
Changyeon Lee [Wed, 16 Aug 2023 11:48:42 +0000 (20:48 +0900)]
tbm_module: Remove unused argument of log

Change-Id: I5c1bdfa3f91663d29d7471036d1269dd27f53df9

13 months agoFix bpp of 4:2:2 YUV format 40/296640/2 accepted/tizen/unified/20230803.174814
Changyeon Lee [Wed, 2 Aug 2023 10:07:17 +0000 (19:07 +0900)]
Fix bpp of 4:2:2 YUV format

YUYV, YVYU, UYVY, VYUY format each four bytes is two pixels

Change-Id: Ie125734677512eb26f01063ed61b92f51ff47646

13 months agomodule: Add log before hal_tbm_get_backend 78/296578/1 accepted/tizen/unified/20230803.034106
Changyeon Lee [Tue, 1 Aug 2023 09:30:32 +0000 (18:30 +0900)]
module: Add log before hal_tbm_get_backend

Change-Id: Ide277a55eb7ef448afd2226297475d8113a9c452

16 months agoPackage version up to 4.1.26 06/292106/1 accepted/tizen/unified/20230531.151926
Junkyeong Kim [Thu, 27 Apr 2023 07:51:46 +0000 (16:51 +0900)]
Package version up to 4.1.26

Change-Id: I8c6cf089d5e53db62f4e2fe67a7daa78e735f77a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
16 months agotbm_drm_helper_server: Set tbm drm server thread name 99/292099/1
Junkyeong Kim [Thu, 27 Apr 2023 07:28:27 +0000 (16:28 +0900)]
tbm_drm_helper_server: Set tbm drm server thread name

Change-Id: I0f025a31408c370d0eee48b62185b267e4666891
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
18 months agotbm_bufmgr: Use unsigned int temp value to get pid 60/289960/1
Junkyeong Kim [Thu, 16 Mar 2023 07:58:53 +0000 (16:58 +0900)]
tbm_bufmgr: Use unsigned int temp value to get pid

Change-Id: Iaa1179055366873e2b5d77e9ead3551fae790328
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
20 months agoRevert "[temporary] add debug log in tbm_bo_unmap" 62/286862/2
Changyeon Lee [Mon, 16 Jan 2023 03:20:14 +0000 (12:20 +0900)]
Revert "[temporary] add debug log in tbm_bo_unmap"

This reverts commit 67fca7109e3e43a58d0fd84def66dfcdc7167b56.

Change-Id: Ifcafbd7af0ec503c12e5893e4432077e58e09469

20 months agoPackage version up to 4.1.25 83/286283/1 accepted/tizen/unified/20230105.154654
Junkyeong Kim [Tue, 3 Jan 2023 06:04:44 +0000 (15:04 +0900)]
Package version up to 4.1.25

Change-Id: Id53104b5b1cbf4492dfa19b46d6975bb71acbe02
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
20 months agopackage: change run-unittest.sh execution method 82/286282/1
Junkyeong Kim [Tue, 3 Jan 2023 06:03:26 +0000 (15:03 +0900)]
package: change run-unittest.sh execution method

Change-Id: I8cb6b55ac0c49a3b02d9056016609996db8a0537
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
20 months agoPackage version up to 4.1.24 64/286064/3 accepted/tizen/unified/20221229.165933
Changyeon Lee [Tue, 27 Dec 2022 05:19:14 +0000 (14:19 +0900)]
Package version up to 4.1.24

Change-Id: I27e8a882f377c5c4ca0c392ed63d5d1ade092a23

20 months agotbm_surface_internal: change millisecond to second in file name of dump_buffer 27/286027/3
Changyeon Lee [Mon, 26 Dec 2022 10:50:58 +0000 (19:50 +0900)]
tbm_surface_internal: change millisecond to second in file name of dump_buffer

Change-Id: I1c78d171e2a59cfeeb6a8c15e5277177f4ecce88

20 months agoPackage version up to 4.1.23 05/285905/1
Junkyeong Kim [Thu, 22 Dec 2022 06:47:40 +0000 (15:47 +0900)]
Package version up to 4.1.23

Change-Id: I79a1d980e12d50845332a723c8f30295f354f27d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
20 months agoadd tbm-unittest package 02/285902/1
Junkyeong Kim [Thu, 22 Dec 2022 06:44:16 +0000 (15:44 +0900)]
add tbm-unittest package

Change-Id: I609dfc35ea3ad853c29cf6f291be0ca4edf7f6df
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
21 months agoPackage version up to 4.1.22 22/285522/2
Changyeon Lee [Wed, 14 Dec 2022 04:22:07 +0000 (13:22 +0900)]
Package version up to 4.1.22

Change-Id: Iff22ebbd2da800fdf8b3855bf6797e5b8d2b07bd

21 months agotbm_drm_helper_server: separate tbm-drm-auth server from main thread 91/285491/3
Changyeon Lee [Tue, 13 Dec 2022 12:10:55 +0000 (21:10 +0900)]
tbm_drm_helper_server: separate tbm-drm-auth server from main thread

if main thread is busy, initializing tbm_bufmgr of client is delayed
because wl_display_roundtrip is called twice to get authenticated
DRM fd.

this patch creates a new wl_display and runs thread of tbm-drm-auth
socket.

Change-Id: I5db513f2ab97a8ef81c8e621e9f27f455b4f6355

21 months agotbm_drm_helper_server: print errno string when open drm fd is failed 40/285040/1
Changyeon Lee [Mon, 5 Dec 2022 04:27:34 +0000 (13:27 +0900)]
tbm_drm_helper_server: print errno string when open drm fd is failed

Change-Id: I1e5734813a384fcf8264fb2fa349f05cbcdbfdb5

22 months ago[temporary] add debug log in tbm_bo_unmap 55/284455/1 accepted/tizen/unified/20221118.021724
Changyeon Lee [Thu, 17 Nov 2022 09:26:16 +0000 (18:26 +0900)]
[temporary] add debug log in tbm_bo_unmap

Change-Id: Ic042223ab48162cebaa70fa76b2f640d018da90d

22 months agoPackage version up to 4.1.21 22/283522/2 accepted/tizen/unified/20221102.020555
Changyeon Lee [Fri, 28 Oct 2022 02:37:44 +0000 (11:37 +0900)]
Package version up to 4.1.21

Change-Id: I7cbe86dbda3d2643c5f940c6ffdc5175b082f338

22 months agotbm_surface_queue: add tbm_surface_queue_set_alloc_cb2 21/283521/2
Changyeon Lee [Fri, 28 Oct 2022 07:20:42 +0000 (16:20 +0900)]
tbm_surface_queue: add tbm_surface_queue_set_alloc_cb2

surface queue infomation can be mismatched when tbm_surface_queue_reset and
tbm_surface_queue_can_dequeue_wait_timeout are called in different thread.

1. tbm_surface_queue_can_dequeue_wait_timeout is called in thread1
   and it wait free buffer
2. tbm_surface_queue_reset is called in thread2
3. waiting of thread1 is finished but wayland_tbm create surface with queue_info
4. _handle_tbm_surface_queue_reset_notify is called and queue_info is updated

for resolving this problem, libtbm add queue infomation in alloc callback
and wayland_tbm create surface with argument of alloc callback.

Change-Id: Ie3274ee8380f0073445b7116c5e26cfbe86f60a2

23 months agoFix invalid assignment with unsigned values 57/283357/1
Changyeon Lee [Tue, 18 Oct 2022 08:01:37 +0000 (17:01 +0900)]
Fix invalid assignment with unsigned values

Change-Id: I1c2f60ed591d66381e1323f361bebbe476708cd1

2 years agoPackage version up to 4.1.20 85/280885/2 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060809 accepted/tizen/7.0/unified/hotfix/20221116.110143 accepted/tizen/unified/20220908.013359 tizen_7.0_m2_release
Changyeon Lee [Tue, 6 Sep 2022 07:52:40 +0000 (16:52 +0900)]
Package version up to 4.1.20

Change-Id: I3d536565abe6214bdf3da74184b535e81a11237d

2 years agotbm_module: Fix leak of fd 84/280884/2
Changyeon Lee [Tue, 6 Sep 2022 07:52:11 +0000 (16:52 +0900)]
tbm_module: Fix leak of fd

Change-Id: I8e2fc72c07bba9035e8cf9f9b6e07d2ac9ff1fcb

2 years agotbm_bufmgr: Fix wrong checking error 83/280883/2
Changyeon Lee [Tue, 6 Sep 2022 07:38:16 +0000 (16:38 +0900)]
tbm_bufmgr: Fix wrong checking error

Change-Id: Ibf8079ab0a6ca34258e6b64b0cb8824d4a974060

2 years agoPackage version up to 4.1.19 89/279989/1 accepted/tizen/unified/20220829.062539 submit/tizen/20220822.074506 submit/tizen/20220823.062629 submit/tizen/20220824.013616 submit/tizen/20220825.034024 submit/tizen/20220826.010009
Changyeon Lee [Mon, 22 Aug 2022 05:35:59 +0000 (14:35 +0900)]
Package version up to 4.1.19

Change-Id: Ie38af8f757eda89b5d7134a41f377226307eab53

2 years agomodule: Fix failure bind_native_display when drm fd is render node 88/279988/1
Changyeon Lee [Mon, 22 Aug 2022 05:32:00 +0000 (14:32 +0900)]
module: Fix failure bind_native_display when drm fd is render node

if drm fd is render node, tbm_drm_helper_wl_auth_server_init is not required.

Change-Id: I46921fafc3c911dc9b35be2e6fd4284440d6fc05

2 years agoPackage version up to 4.1.18 44/276144/1 accepted/tizen/unified/20220615.135340 submit/tizen/20220610.064105 submit/tizen/20220613.103054 submit/tizen/20220614.023836
Junkyeong Kim [Fri, 10 Jun 2022 05:42:55 +0000 (14:42 +0900)]
Package version up to 4.1.18

Change-Id: I55f9cfd3908a5885de2fd9da2986a1f5fe4c1f2d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agoapply new gcov policy 43/276143/1
Junkyeong Kim [Fri, 10 Jun 2022 05:41:33 +0000 (14:41 +0900)]
apply new gcov policy

Change-Id: I37c620c9d0555bc34efc403ac683bbd9a46ea7b1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agoPackage version up to 4.1.17 83/274383/1 submit/tizen/20220427.090848 submit/tizen/20220429.005630 submit/tizen/20220502.014827 submit/tizen/20220530.032002
Changyeon Lee [Wed, 27 Apr 2022 08:14:40 +0000 (17:14 +0900)]
Package version up to 4.1.17

Change-Id: I5e19d1d068a516f6eacf195f99cac838dcacd49f

2 years agotbm_bo: return flag of tbm bo from backend 80/274380/3
Changyeon Lee [Wed, 27 Apr 2022 03:14:14 +0000 (12:14 +0900)]
tbm_bo: return flag of tbm bo from backend

backend can change flag of tbm bo
flag should be got from backend

Change-Id: Ib38b15ed2ac051fe2b6a3ed62541726a5b04acd7

2 years agoPackage version up to 4.1.16 84/273884/1
SooChan Lim [Fri, 15 Apr 2022 07:13:33 +0000 (16:13 +0900)]
Package version up to 4.1.16

Change-Id: Ia45d92140b5e3af4be170ab3cfa8884b8ba7be06

2 years agotest: donot use parametized tests 83/273883/1
SooChan Lim [Fri, 15 Apr 2022 07:09:05 +0000 (16:09 +0900)]
test: donot use parametized tests

for fix the testing error message from Gtest module.

There are no TEST_P cases in tbm-haltests yet.
Therefore TBMEnv don't need to inherit the parametized class of Gtest.

Change-Id: I245efc1206a39dd562ae5781be2cf7011f286a0b

2 years agoPackage version up to 4.1.15 12/271812/1 submit/tizen/20220302.020404 submit/tizen/20220302.231150
SooChan Lim [Wed, 2 Mar 2022 01:36:56 +0000 (10:36 +0900)]
Package version up to 4.1.15

Change-Id: Idbd00220045923425ef994d1459399ba77dbb922

2 years agodo not use "+" at configure.ac 11/271811/1
SooChan Lim [Wed, 2 Mar 2022 01:36:10 +0000 (10:36 +0900)]
do not use "+" at configure.ac

fix the build break due to upgrade pkg-config 0.29.2.

Change-Id: I0241732143f61c2617d42a9d12022d61517a6aa8

2 years agoPackage version up to 4.1.14 72/270072/1 accepted/tizen/unified/20220127.133256 submit/tizen/20220125.075554
Junkyeong, Kim [Tue, 25 Jan 2022 05:32:46 +0000 (14:32 +0900)]
Package version up to 4.1.14

Change-Id: Ib04499f36454d5ed7f9eefb368e50c8e750944b1
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoChange gcov package installation path 66/270066/1
Junkyeong, Kim [Tue, 25 Jan 2022 04:49:11 +0000 (13:49 +0900)]
Change gcov package installation path

Change-Id: I12c62fcbd4077aa18caeff7fc51d943e84bc3f67
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoPackage version up to 4.1.13 88/268988/1 submit/tizen/20220106.051935 submit/tizen/20220111.025052 submit/tizen/20220119.024922
Changyeon Lee [Thu, 6 Jan 2022 04:42:26 +0000 (13:42 +0900)]
Package version up to 4.1.13

Change-Id: Id82be2e124992561c12736f7b6573cffddb4dce6

2 years agotbm_surface_internal: fix wrong last result when tbm_bo_map is failed 40/268940/1
Changyeon Lee [Wed, 5 Jan 2022 03:44:52 +0000 (12:44 +0900)]
tbm_surface_internal: fix wrong last result when tbm_bo_map is failed

tbm_bo_unmap set ERROR NONE to last result in case of tbm_bo_map is failed

Change-Id: I160d38ebd07020b7b1a5766eacaab7d40c8bb69e

2 years agoPackage version up to 4.1.12 19/268119/1 submit/tizen/20211220.023321
Changyeon Lee [Thu, 16 Dec 2021 09:02:20 +0000 (18:02 +0900)]
Package version up to 4.1.12

Change-Id: I68cef585bdaf78a1143763613f7587186e648990

2 years agotbm_bufmgr: fix leak of bo data 18/268118/1
Changyeon Lee [Thu, 16 Dec 2021 09:01:30 +0000 (18:01 +0900)]
tbm_bufmgr: fix leak of bo data

Change-Id: I8eb535679f451f0fb64f3f30094cf7801a121184

2 years agoPackage version up to 4.1.11 63/265863/1 accepted/tizen/unified/20211102.133806 submit/tizen/20211101.080403
Changyeon Lee [Mon, 1 Nov 2021 03:44:04 +0000 (12:44 +0900)]
Package version up to 4.1.11

Change-Id: I455af528f2b5e8607b1639c0689d9a8b629f8334

2 years agotbm_bo: fix wrong last error when tbm_bo_map is failed 85/265285/1
Changyeon Lee [Thu, 14 Oct 2021 05:29:10 +0000 (14:29 +0900)]
tbm_bo: fix wrong last error when tbm_bo_map is failed

Change-Id: I85b46f18be8b1850c83c10c0c298ea5cc7c3e780

3 years agoExclude dlog dependency when dlog disabled. 69/262969/2 linux_yocto
Joonbum Ko [Tue, 24 Aug 2021 05:47:04 +0000 (14:47 +0900)]
Exclude dlog dependency when dlog disabled.

Change-Id: I89e63e372ea77d12c77eae2cbf555421adc2ed9d
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
3 years agoPackage version up to 4.1.10 38/262538/1 accepted/tizen/6.5/unified/20211028.121235 accepted/tizen/unified/20210816.122902 submit/tizen/20210813.050436 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
SooChan Lim [Fri, 13 Aug 2021 04:34:50 +0000 (13:34 +0900)]
Package version up to 4.1.10

Change-Id: Ie59eab4857367df5a569f924bada52f8d88caf1f

3 years agotbm_bufmgr: change the paramter type 25/262525/1
SooChan Lim [Fri, 13 Aug 2021 00:10:56 +0000 (09:10 +0900)]
tbm_bufmgr: change the paramter type

change the long type into the unsigned int type.

Change-Id: Ic040b29759f166afcc870030ec49e822e8a3c752

3 years agoPackage version up to 4.1.9 97/262397/1 accepted/tizen/unified/20210813.025732 submit/tizen/20210810.025426 submit/tizen/20210811.044813
Changyeon Lee [Tue, 10 Aug 2021 02:48:41 +0000 (11:48 +0900)]
Package version up to 4.1.9

Change-Id: If6a1e27e16c7ab6ad4b231e4eda31839f3d9b8bb

3 years agoFix missing initalize 77/262377/1
Changyeon Lee [Mon, 9 Aug 2021 11:00:43 +0000 (20:00 +0900)]
Fix missing initalize

Change-Id: I279fc7e005a34d2e70f2e4627d7af47083eb1654

3 years agoadd --with-default-dlog build option 97/261897/1
SooChan Lim [Wed, 28 Jul 2021 10:00:18 +0000 (19:00 +0900)]
add --with-default-dlog build option

The default value of this option is yes.
If this option sets no, the default log is stdout.

Change-Id: I806691bec7c604ff2954f7004907ac0670c43588

3 years agoPackage version up to 4.1.8 98/260998/1
SooChan Lim [Thu, 8 Jul 2021 07:02:56 +0000 (16:02 +0900)]
Package version up to 4.1.8

Change-Id: Idab9f0446feaa1dbb436dcd078ed59f4c858e1f9

3 years agotbm_bufmgr: set TBM_ERROR_INVALID_PARAMETER 97/260997/1
SooChan Lim [Thu, 8 Jul 2021 06:55:31 +0000 (15:55 +0900)]
tbm_bufmgr: set TBM_ERROR_INVALID_PARAMETER

when the parameter is not vaild.

Change-Id: I58e2ca583e4ab868f838a1a3bbb85a6c50b82907

3 years agotbm_surface_internal: check the bufmgr capabililiy 96/260996/1
SooChan Lim [Wed, 7 Jul 2021 04:53:56 +0000 (13:53 +0900)]
tbm_surface_internal: check the bufmgr capabililiy

check the bufmgr capability instead of calling the
tbm_module_support_surface_data

Change-Id: I41621f4315a21c9e8cb6ee6373beadf23d85350f

3 years agotbm_bufmgr: add tbm_bufmgr_internal_support_capabilites 95/260995/1
SooChan Lim [Wed, 7 Jul 2021 04:53:11 +0000 (13:53 +0900)]
tbm_bufmgr: add tbm_bufmgr_internal_support_capabilites

this function checks if the bufmgr has the given capabilites at the same
time.

Change-Id: I099dc2145e7e7bb01ed2acfe49e1a134f0058b0c

3 years agotbm_bufmgr: add TBM_BUFMGR_CAPABILITY_SHARE_SURFACE 94/260994/1
SooChan Lim [Wed, 7 Jul 2021 02:22:23 +0000 (11:22 +0900)]
tbm_bufmgr: add TBM_BUFMGR_CAPABILITY_SHARE_SURFACE

The backend module can support the function of sharing the surface
resource when this capability is set.

Change-Id: Ib80447441011071d5794b370f3ab37fcf7ac86b7

3 years agoPackage version up to 4.1.7 34/260734/1 accepted/tizen/unified/20210705.125208 submit/tizen/20210702.072025
SooChan Lim [Fri, 2 Jul 2021 02:49:14 +0000 (11:49 +0900)]
Package version up to 4.1.7

Change-Id: I613b5459b42eb1c444541a077a7a749261e87607

3 years agotbm_module: donot print the error message 33/260733/1
SooChan Lim [Fri, 2 Jul 2021 02:22:31 +0000 (11:22 +0900)]
tbm_module: donot print the error message

Donot print the error message when the backend does not support
hal_tbm_bufmgr_alloc_surface.

Change-Id: Iaeb5a9dc5d0348e7ce4fe51c996a65951b02f29e

3 years agotbm_surface_internal: do not print the error message 32/260732/1
SooChan Lim [Fri, 2 Jul 2021 02:08:18 +0000 (11:08 +0900)]
tbm_surface_internal: do not print the error message

If the tbm_module does not support the surface_data, the libtbm prints nothing.

Change-Id: Ibbe628d66a6ff1a1d56a9e578a38e8101e84530e

3 years agotbm_module: donot print failed message. 31/260731/1
SooChan Lim [Fri, 2 Jul 2021 02:01:24 +0000 (11:01 +0900)]
tbm_module: donot print failed message.

libtbm calls the bufmgr_alloc_bo if bufmgr_alloc_bo_with_format.
So we don't need to print the failed message.

Change-Id: Ic87149028dddb3e9537d70240fb2e5aa98298e3d

3 years agoPackage version up to 4.1.6 75/260375/1 accepted/tizen/unified/20210625.170433 submit/tizen/20210624.054931
SooChan Lim [Thu, 24 Jun 2021 05:20:58 +0000 (14:20 +0900)]
Package version up to 4.1.6

Change-Id: Ib7871207cf550b17169e94fc92f048430161c7a7

3 years agotbm_bufmgr: lock the gLock before locking tbm_bufmgr_mutex 70/260370/1
SooChan Lim [Thu, 24 Jun 2021 04:21:43 +0000 (13:21 +0900)]
tbm_bufmgr: lock the gLock before locking tbm_bufmgr_mutex

The order of locking mutex makes deadlock. So this patch
will start to fix.

Change-Id: I47a537f41ad19cac3bb1a31fc75a88bae5cda21d

3 years agotbm_bufmgr: call _tbm_bufmgr_debug_tbm_info_get at _tbm_bufmgr_check_bo_cnt 67/260367/1
SooChan Lim [Thu, 24 Jun 2021 03:29:44 +0000 (12:29 +0900)]
tbm_bufmgr: call _tbm_bufmgr_debug_tbm_info_get at _tbm_bufmgr_check_bo_cnt

To avoid the deadlock, _tbm_bufmgr_debug_tbm_info_get is added and
_tbm_bufmgr_check_bo_cnt uses _tbm_bufmgr_debug_tbm_info_get function.

Change-Id: Ia17077144c8973d4d673994d407a669b3dd3496d

3 years agotbm_bufmgr: lock the gLock before locking tbm_bufmgr_mutex 66/260366/1
SooChan Lim [Thu, 24 Jun 2021 03:01:12 +0000 (12:01 +0900)]
tbm_bufmgr: lock the gLock before locking tbm_bufmgr_mutex

The order of locking mutex makes deadlock. So this patch
will start to fix.

Change-Id: Ic7b866eb5b6826239e1b671c059d0393c47ac4f1

3 years agotbm_surface_internal: fix the memory leak 61/260361/1
SooChan Lim [Thu, 24 Jun 2021 01:56:54 +0000 (10:56 +0900)]
tbm_surface_internal: fix the memory leak

Change-Id: I0579184c8ebb4215ad27fc6f43f64bd46bbff494

3 years agotbm_module: align the line 60/260360/3
SooChan Lim [Thu, 24 Jun 2021 01:36:53 +0000 (10:36 +0900)]
tbm_module: align the line

Change-Id: I861b1930a89b8d122b2dc053a83d50b6d0268c23

3 years agotbm_module: handle the memory leak of the bo_data_array 59/260359/3
SooChan Lim [Thu, 24 Jun 2021 01:08:01 +0000 (10:08 +0900)]
tbm_module: handle the memory leak of the bo_data_array

deal with the memory free when it operates to be failed.

Change-Id: Ifdf99fca1f1b056139ff3c63e72fb08ab15faed2

3 years agotbm_module: remove the static variable 58/260358/1
SooChan Lim [Thu, 24 Jun 2021 01:05:51 +0000 (10:05 +0900)]
tbm_module: remove the static variable

assign the checking variable of the surface_data to tbm_module structure

Change-Id: Ied5a89e68b63ed799d707a4dd2f94b3737e56486

3 years agotbm_module: fix MEAMORY_LEAK.EX 31/260331/1
SooChan Lim [Wed, 23 Jun 2021 09:02:31 +0000 (18:02 +0900)]
tbm_module: fix MEAMORY_LEAK.EX

fix the memory leak

Change-Id: Ib357b8e3807e605eec812cf3ce78418086390ba4

3 years agotbm_bufmgr: remove the duplicated code 21/260321/1
SooChan Lim [Wed, 23 Jun 2021 05:36:37 +0000 (14:36 +0900)]
tbm_bufmgr: remove the duplicated code

Change-Id: I6feb7f196d7a3ab93a32f8de6e9797de5bf5ccc5

3 years agotbm_bufmgr: donot call _tbm_set_last_result 20/260320/1
SooChan Lim [Wed, 23 Jun 2021 05:26:14 +0000 (14:26 +0900)]
tbm_bufmgr: donot call _tbm_set_last_result

The caller of tbm_bufmgr_internal_alloc_bo_with_format calls
_tbm_set_last_result with the error value.

Change-Id: If64031796a5a35b5c811ba2da614674ea6510ef3

3 years agotbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function 19/260319/1
SooChan Lim [Wed, 23 Jun 2021 05:16:52 +0000 (14:16 +0900)]
tbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function

move the lock/unlock code from tbm_bo_alloc to
tbm_bufmgr_internal_alloc_bo

Change-Id: Ic4ac270049b30a3859784363d56961a080de53c9

3 years agotbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function 18/260318/1
SooChan Lim [Wed, 23 Jun 2021 04:56:55 +0000 (13:56 +0900)]
tbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function

move the lock/unlock code from tbm_bo_import_fd to
tbm_bufmgr_internal_import_with_fd

Change-Id: I9784f421e91ce3da6a702829c67a08be937b1d22

3 years agotbm_bo: initialize the bo->user_data_list at bo_free 17/260317/1
SooChan Lim [Wed, 23 Jun 2021 04:52:54 +0000 (13:52 +0900)]
tbm_bo: initialize the bo->user_data_list at bo_free

instead of LIST_INITHEAD at tbm_bo_import_fd

Change-Id: I97550425189bcf596614baf7dabca66866478af3

3 years agotbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function 16/260316/1
SooChan Lim [Wed, 23 Jun 2021 04:10:19 +0000 (13:10 +0900)]
tbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function

move the lock/unlock code from tbm_bo_import to
tbm_bufmgr_internal_import_with_key

Change-Id: I10969db4deea995ab206148f3ea2e3affa030c0e

3 years agotbm_surface_internal: refactor the creation of a surface 15/260315/1
SooChan Lim [Wed, 23 Jun 2021 02:54:10 +0000 (11:54 +0900)]
tbm_surface_internal: refactor the creation of a surface

Reduce the duplicated codes and Be easy to handle an error
at the time of the surface creation.

Change-Id: I0327d332d8c7ec1a4b0919f562826a7ff5476b83