platform/core/uifw/libtbm.git
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

4 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

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

5 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

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

5 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

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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 years agoPackage version up to 3.2.0 35/202035/2 accepted/tizen/unified/20190325.070821 submit/tizen/20190322.045511
SooChan Lim [Fri, 22 Mar 2019 04:52:07 +0000 (13:52 +0900)]
Package version up to 3.2.0

Change-Id: I4ba97fff20c5cee02b13248fcf5c09a6234c74ee

5 years agoAdd backend function for vendor supported tiled format. 41/198841/6
Xuelian Bai [Wed, 30 Jan 2019 16:53:05 +0000 (00:53 +0800)]
Add backend function for vendor supported tiled format.

Change-Id: I3a8fcdd5e1c195483f46135b471b73479bc4e9bf
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
5 years agoadd TBM_BO_TILED flags 03/201003/3
SooChan Lim [Thu, 7 Mar 2019 05:05:44 +0000 (14:05 +0900)]
add TBM_BO_TILED flags

This flags is for creating the bo and surface with tiled memory.

Change-Id: I19c78581573f1ea6479febf27169d3fe3de7a716
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agopackage version up to 3.1.5 55/201855/1 accepted/tizen/unified/20190321.062458 submit/tizen/20190320.072431
Changyeon Lee [Wed, 20 Mar 2019 06:52:53 +0000 (15:52 +0900)]
package version up to 3.1.5

Change-Id: I693be3681f0743ed78fb50738193052d1b572654

5 years agosurface_queue: use MONOTOINIC timer in pthread_cond 54/201854/1
Changyeon Lee [Wed, 20 Mar 2019 02:47:12 +0000 (11:47 +0900)]
surface_queue: use MONOTOINIC timer in pthread_cond

Change-Id: I94b54cc2ca8c2d0a3ebaf1ac7f0f31477d992614

5 years agoRevert "surface_queue: use MONOTOINIC timer in pthread_cond" 53/201853/1
Changyeon Lee [Wed, 20 Mar 2019 06:52:24 +0000 (15:52 +0900)]
Revert "surface_queue: use MONOTOINIC timer in pthread_cond"

This reverts commit 7aca14d80aeab3cd919dee892f7acc4394287394.

Change-Id: Ic27993d46b21b8a245f1d461dc4668d98439b7b8

5 years agopackage version up to 3.1.4 32/201832/1
Changyeon Lee [Wed, 20 Mar 2019 04:15:37 +0000 (13:15 +0900)]
package version up to 3.1.4

Change-Id: I71d4f7a6f2eb1061d4c29b2adc6b4b6e9300696b

5 years agosurface_queue: use MONOTOINIC timer in pthread_cond 28/201828/3
Changyeon Lee [Wed, 20 Mar 2019 02:47:12 +0000 (11:47 +0900)]
surface_queue: use MONOTOINIC timer in pthread_cond

Change-Id: Id9e1d5c64b6b7cc0fdb7106178b0d781f153b478

5 years agoPackage version up to 3.1.3 29/201029/1 accepted/tizen/unified/20190311.072616 submit/tizen/20190307.083826
SooChan Lim [Thu, 7 Mar 2019 08:20:56 +0000 (17:20 +0900)]
Package version up to 3.1.3

Change-Id: Iac44308043d64809dc23468dcbcf652bd96944c4

5 years agoadd systemd unit before option 43/200943/1
Junkyeong Kim [Wed, 6 Mar 2019 09:15:21 +0000 (18:15 +0900)]
add systemd unit before option

Change-Id: Ia43a86acbe84bdd0956bdcf8dbaf2ff21adc70b7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoPackage version up to 3.1.2 accepted/tizen/unified/20190208.061608 submit/tizen/20190207.054617
SooChan Lim [Thu, 7 Feb 2019 05:45:57 +0000 (14:45 +0900)]
Package version up to 3.1.2

Change-Id: I6daf68c5dee61ad7ce2f4a040df7efdd12d829e3

5 years agoadd TBM_BUFMGR_CAPABILITY_TILED_MEMORY 66/198866/1
SooChan Lim [Wed, 30 Jan 2019 11:23:31 +0000 (20:23 +0900)]
add TBM_BUFMGR_CAPABILITY_TILED_MEMORY

The tbm backend has to set this capability
when it supports the tiled memory.

Change-Id: Ib03d63cca5efed274acd5b1adc6f56d92a78e8d5

5 years agoPackage version up to 3.1.1 27/196727/1 accepted/tizen/unified/20190107.065427 submit/tizen/20190104.034936
Changyeon Lee [Fri, 4 Jan 2019 03:39:16 +0000 (12:39 +0900)]
Package version up to 3.1.1

Change-Id: I481bfaf2c5cef48ab8995f5209bbcaf34ecf8058

5 years agotbm_surface: use lock of global bufmgr lock intead lock of bufmgr 26/196726/1
Changyeon Lee [Thu, 3 Jan 2019 07:18:28 +0000 (16:18 +0900)]
tbm_surface: use lock of global bufmgr lock intead lock of bufmgr

Change-Id: I716abf065c650fa400062947369443b6e093eb15

5 years agointroduce tbm_surface_queue_can_dequeue_wait_timeout 28/194228/5
Changyeon Lee [Fri, 30 Nov 2018 06:42:30 +0000 (15:42 +0900)]
introduce tbm_surface_queue_can_dequeue_wait_timeout

Change-Id: I6761775bf105b9b6fff8ee1a4af64562b1fdea88

5 years agoPackage version up to 3.1.0 26/196226/1
SooChan Lim [Wed, 26 Dec 2018 10:13:34 +0000 (19:13 +0900)]
Package version up to 3.1.0

Change-Id: I690b7e2a7b47cf876c1286fda4165d58d86cdbe5

5 years agoPackage version up to 3.0.8 28/195028/2 accepted/tizen/5.0/unified/20181211.064530 submit/tizen/20181210.071016 submit/tizen_5.0/20181210.070950
Changyeon Lee [Mon, 10 Dec 2018 06:41:10 +0000 (15:41 +0900)]
Package version up to 3.0.8

Change-Id: I340d3ec22da8db9245de9d94b7b818abd75187de

5 years agotbm_bo: use mutex lock of bufmgr instead bo 36/194836/2
Changyeon Lee [Fri, 7 Dec 2018 07:03:06 +0000 (16:03 +0900)]
tbm_bo: use mutex lock of bufmgr instead bo

it is possible that tbm_bufmgr is deinit when tbm_bo use bufmgr.
so use same mutex lock tbm_bo and tbm_bufmgr.

Change-Id: I4f59123d3ba67897e3be6f1bc0bf3d28145c84d4

5 years agobackend: fix wrong condition 40/194840/1
YoungJun Cho [Fri, 7 Dec 2018 10:03:40 +0000 (19:03 +0900)]
backend: fix wrong condition

This patch fixes wrong condition.

Change-Id: I742786aa5b71aeec5b806ab6acdd558a8bca34a1
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
5 years agoPackage version up to 3.0.7 56/194156/1 accepted/tizen/5.0/unified/20181130.065043 accepted/tizen/unified/20181130.065006 submit/tizen/20181129.102605 submit/tizen_5.0/20181129.102622
SooChan Lim [Thu, 29 Nov 2018 10:19:34 +0000 (19:19 +0900)]
Package version up to 3.0.7

Change-Id: I037c363f1518453f248053a79ba98cc3040e6098

5 years agobufmgr: get the clients's app_name when the process is the root. 55/194155/1
SooChan Lim [Thu, 29 Nov 2018 10:11:53 +0000 (19:11 +0900)]
bufmgr: get the clients's app_name when the process is the root.

Change-Id: Ia3e9d696026865a72e42ed516be9bdc38b9dbd19

5 years agopackage version up to 3.0.6 50/193850/1 accepted/tizen/5.0/unified/20181128.144703 accepted/tizen/unified/20181128.144715 submit/tizen/20181127.070234 submit/tizen_5.0/20181127.070336
Changyeon Lee [Tue, 27 Nov 2018 03:53:55 +0000 (12:53 +0900)]
package version up to 3.0.6

Change-Id: Ib77da3eb28e5b7c036810d4ebff1da5410e53a16