SooChan Lim [Tue, 13 Mar 2018 06:28:08 +0000 (15:28 +0900)]
type: make the definitions into enum values.
for device and option
Change-Id: Ie884c2cb9eb4d2c3a730eba55f68d32eebaba783
SooChan Lim [Tue, 13 Mar 2018 06:25:38 +0000 (15:25 +0900)]
type: add error types.
add two types which are TBM_ERROR_OUT_OF_MEMORY, TBM_ERROR_INVALID_PARAMETER
Change-Id: I962eb1f1b1efbd03e6f2030bd2535f0d98ba348d
SooChan Lim [Tue, 13 Mar 2018 06:24:26 +0000 (15:24 +0900)]
move the position of the codes
Change-Id: I4fbb55e67ca33bf26efc54f60d9a15761243471a
SooChan Lim [Tue, 13 Mar 2018 06:15:11 +0000 (15:15 +0900)]
type: add tbm_native_display type.
Change-Id: I4d589ad7b3752a54ccbf6d560e01e5d12994a363
SooChan Lim [Tue, 13 Mar 2018 10:01:31 +0000 (19:01 +0900)]
utest: change the return type.
Change-Id: I1823602d8b15d53c6731fce5f6ca2d842a30ca62
SooChan Lim [Thu, 8 Mar 2018 06:36:30 +0000 (15:36 +0900)]
package version up to 2.6.0
Change-Id: Ib04f67fff8789ad08d2335681b4652cabca78b01
SooChan Lim [Thu, 8 Mar 2018 05:41:33 +0000 (14:41 +0900)]
bufmgr : add tbm_bufmgr_debug_set_trace_mask
this is to set the mask for trace log
Change-Id: I7b9b9890b1ef256990389b69992499efd74162df
SooChan Lim [Thu, 8 Mar 2018 03:49:11 +0000 (12:49 +0900)]
change the log macro at all files
add tbm_log.c and libtbm_log.h files
change the log macros and use them.
Change-Id: Ib432447a1daa5f2d5b0c2c242e4eaec6a4082031
SooChan Lim [Wed, 7 Mar 2018 04:12:03 +0000 (13:12 +0900)]
package version up to 2.5.0
Change-Id: If8fd58506b0bf78bf987ad3acd4267231b9b6ef0
SooChan Lim [Tue, 6 Mar 2018 10:28:29 +0000 (19:28 +0900)]
backend: change the symbol position at struct _tbm_bufmgr_backend
Change-Id: I22b06df5c25370eff7861f2fd936a8182620af8d
SooChan Lim [Mon, 5 Mar 2018 11:42:02 +0000 (20:42 +0900)]
utest: add tbm_backend utest
Change-Id: I311353eecd1e41c2b218cc470a4006c17da3721f
SooChan Lim [Mon, 5 Mar 2018 03:51:35 +0000 (12:51 +0900)]
utest: redesign the utest
Change-Id: Iaa0d5308b1992c3ef496d3364d21316b5c70d61c
SooChan Lim [Mon, 5 Mar 2018 03:48:58 +0000 (12:48 +0900)]
surface_internal: deinit when it is bufmgr_init at first time.
Change-Id: I15a00357b8590ec8101cf0e4defd8c4cc02e6268
SooChan Lim [Wed, 28 Feb 2018 07:34:33 +0000 (16:34 +0900)]
bo: validate the bo through the gBufMgr, not bo->bufmgr
Change-Id: I6e92775ef19e58594b5792c5bfe24d4b4ab72856
SooChan Lim [Wed, 28 Feb 2018 07:33:58 +0000 (16:33 +0900)]
bufmgr: add tbm_bufmgr_get()
this is internal function.
Change-Id: I058c9fa1a648da67291d6e9ef04bad5d5e9f3cc4
SooChan Lim [Tue, 27 Feb 2018 06:46:42 +0000 (15:46 +0900)]
package version up to 2.4.1
Change-Id: I421c490961716466583cb27852fbd376d7385372
SooChan Lim [Tue, 27 Feb 2018 06:46:02 +0000 (15:46 +0900)]
bufmgr: add tbm_bo.h to tbm_bufmgr.h
Change-Id: I30634dcb87ebc193f98e098e6c6aacbc7cb86c7f
SooChan Lim [Tue, 27 Feb 2018 02:41:17 +0000 (11:41 +0900)]
package version up to 2.4.0
Change-Id: Idaacf7bc2a073dcea569a7931998922d3e3f7394
SooChan Lim [Tue, 27 Feb 2018 02:27:54 +0000 (11:27 +0900)]
make the tbm_bo file and the tbm_type_int file.
move the tbm_bo symbols to the tbm_bo.h
Change-Id: I99be0df277c0bb35888dcdc367190a0cb0e3a2ce
SooChan Lim [Tue, 27 Feb 2018 02:08:14 +0000 (11:08 +0900)]
indendation
Change-Id: I376b02c8c48a9df58d4135c538fbdacf859c96c7
SooChan Lim [Tue, 27 Feb 2018 02:05:05 +0000 (11:05 +0900)]
bufmgr: check gBufmgr with bufmgr in TBM_BUFMGR_IS_VALID macro
Change-Id: I7be9af40c2b2e499e56ce232f42d00d31e31364f
SooChan Lim [Mon, 26 Feb 2018 05:44:07 +0000 (14:44 +0900)]
surface_queue: re-oder the symbols in header file.
Change-Id: Idd0a95723b2d66e413f6e68d4edd1ffba1c6e2df
SooChan Lim [Thu, 22 Feb 2018 10:45:25 +0000 (19:45 +0900)]
apply gcov
Change-Id: I42afb291c67ea952503ef1559bfb7d8de41381d7
SooChan Lim [Thu, 22 Feb 2018 05:16:26 +0000 (14:16 +0900)]
package version up to 2.3.0
Change-Id: Ide3dbc91a95f0fafca19e82686be353b8b23cf29
SooChan Lim [Thu, 22 Feb 2018 05:14:43 +0000 (14:14 +0900)]
bufmgr: add tbm_bufmgr_set_bo_lock_type api
this api is used intead of setting the BUFMGR_LOCK_TYPE env variables.
Change-Id: I20f0b33663293d7c810027877f993eb2edcf7ecd
SooChan Lim [Thu, 22 Feb 2018 05:04:54 +0000 (14:04 +0900)]
bufmgr: make tbm_bufmgr_bo_lock_type
make the tbm_bufmgr_bo_lock_type and put it on tbm_bufmgr.h
Change-Id: Ic06c41ae59c7852e252c64ac4479fbf02273ea4b
SooChan Lim [Wed, 21 Feb 2018 10:56:02 +0000 (19:56 +0900)]
bufmgr: add tbm_bufmgr_server_init api
The tbm_bufmgr_server_init is called by the display server.
This api will be used instead of setting the TBM_DISPLAY_SERVER env variable.
Change-Id: I94e3b338dc08b2f7b8482b623738b5728f24b426
SooChan Lim [Wed, 21 Feb 2018 10:53:43 +0000 (19:53 +0900)]
bufmgr: make the _tbm_bufmgr_init
make the static function for _tbm_bufmgr_init
Change-Id: Ifb187b84587e294404aa8a4cea7913be781f13ea
SooChan Lim [Wed, 21 Feb 2018 08:34:14 +0000 (17:34 +0900)]
change the argument name.
NativeDisplay -> native_display.
Change-Id: Ifa492004e544cedf2fd6286c9e26a40bc3d1db74
SooChan Lim [Wed, 21 Feb 2018 08:33:12 +0000 (17:33 +0900)]
bufmgr: add the comment at tbm_bufmgr_bind_native_display
Change-Id: I036633dee0808c9d4a3a93e6f0f4e62872b2ff7c
SooChan Lim [Tue, 20 Feb 2018 11:31:53 +0000 (20:31 +0900)]
utest: remove UtInit testcase
Change-Id: I3d17d15ae4f1990bbb6357ccc973fdf8c25061e1
SooChan Lim [Tue, 20 Feb 2018 11:31:04 +0000 (20:31 +0900)]
utest: change some UtInit testcases into SurfaceTest testcases
Change-Id: I52ef9827fee1410795a40a128dfcaa8e549787e3
SooChan Lim [Tue, 20 Feb 2018 11:30:45 +0000 (20:30 +0900)]
utest: add SurfaceInternalQueryFormatsTest testcase
Change-Id: Ide3d3a40f855ad252c6b91bb84a485535a3cb968
SooChan Lim [Tue, 20 Feb 2018 11:19:37 +0000 (20:19 +0900)]
utest: add SurfaceQueryFormatsTest testcase
Change-Id: I193b7a89f37a0897268ffe43220d3b37c7e84015
SooChan Lim [Tue, 20 Feb 2018 11:09:13 +0000 (20:09 +0900)]
utest: change the some UtInit testcase to the SurfaceInternalTest
Change-Id: Id0f24df179318c845799f0f89e18d876c4d49647
SooChan Lim [Tue, 20 Feb 2018 10:42:22 +0000 (19:42 +0900)]
utest: add BufmgrBoLockType testcase
Change-Id: I2e799a461c42ca423398dcd47b917e17eb796ec5
SooChan Lim [Tue, 20 Feb 2018 08:46:16 +0000 (17:46 +0900)]
utest: rename UtSurfaceInternal to SurfaceInternalTest
Change-Id: I5b6fb81014d986c354eee0499cac01674c273363
SooChan Lim [Tue, 20 Feb 2018 08:45:22 +0000 (17:45 +0900)]
utest: rename UtSurfaceQueueCreate to SurfaceQueueCreateTest
Change-Id: Ib43de4b3c88aff7d2557e7406d9e70e2ff69c80c
SooChan Lim [Tue, 20 Feb 2018 08:36:03 +0000 (17:36 +0900)]
utest: rename UtSurfaceQueue to SurfaceQueueTest
Change-Id: I5809f4207959451db722ca73c459d216c24bcff0
SooChan Lim [Tue, 20 Feb 2018 08:34:07 +0000 (17:34 +0900)]
utest: rename UtSurface to SurfaceTest
Change-Id: If8e63e21dabd15f28685a823ae003b9590351a51
SooChan Lim [Tue, 20 Feb 2018 08:19:43 +0000 (17:19 +0900)]
utest: rename UtBoInit to BufmgrBoTest
Change-Id: I5166026fa84fe5e1d343263b0f3ec20f4d79d5f2
SooChan Lim [Tue, 20 Feb 2018 08:18:14 +0000 (17:18 +0900)]
utest: renanme UtBufmgrInit into BufmgrTest
Change-Id: I95aa4ed0908b9f5f08d228d3295ea3d30f570aa0
SooChan Lim [Tue, 20 Feb 2018 07:59:16 +0000 (16:59 +0900)]
utest: make BufmgrInitSuccessIniteTwice test in BufmgrInit testcase
Change-Id: I1c1749787c860e8c239a1a5b2ff7686e5e98382e
SooChan Lim [Tue, 20 Feb 2018 07:34:30 +0000 (16:34 +0900)]
utest: make NoBufmgrTest test case
Change-Id: I754ea35055262f88efe2b5f1eb0751132881faad
Boram Park [Tue, 20 Feb 2018 06:12:05 +0000 (15:12 +0900)]
package version up to 2.2.5
Change-Id: Ibffef3c29db058d3781e54cb7ba1068daa2921f7
Boram Park [Mon, 12 Feb 2018 08:45:11 +0000 (17:45 +0900)]
use stat() to check if symbolic link
Change-Id: Ie1355c5e54cb7d09a8e9309b2878030ab2f11af3
Sangjin.Lee [Mon, 19 Feb 2018 11:11:45 +0000 (20:11 +0900)]
sync: support c++
Change-Id: If3c38c377f87f27588a3e6b825854ff8dcd43126
Boram Park [Fri, 9 Feb 2018 07:14:46 +0000 (16:14 +0900)]
add tbm_bufmgr_debug_get_ref_count()
Change-Id: I7b1be4831cdf5a68417d69b6c97f7d13aff6d985
Changyeon Lee [Fri, 2 Feb 2018 04:27:35 +0000 (13:27 +0900)]
package version up to 2.2.4
Change-Id: I331d50ba37ef43166e0e9720f05fa991ff5a2b29
Changyeon Lee [Thu, 11 Jan 2018 11:13:40 +0000 (20:13 +0900)]
added tbm_surface_queue_notify_dequeuable
Change-Id: Ib4c14154b6b44b0cfd5f9408f400df23f1093d0e
Boram Park [Fri, 2 Feb 2018 05:36:47 +0000 (14:36 +0900)]
remove -f when creating symbolic link file
Change-Id: Ic91f67845193e98dcbc8937beff51316591575fb
SooChan Lim [Tue, 19 Dec 2017 01:44:02 +0000 (10:44 +0900)]
package version up to 2.2.3
Change-Id: I4cd9df9757f94c18410293f53f8c86dc855e7954
Roman Marchenko [Mon, 18 Dec 2017 14:35:21 +0000 (16:35 +0200)]
utest: fix protex issues
Change-Id: Icdb641d1bbf34d687b78ea3574dd41c91e8e0ce3
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Changyeon Lee [Mon, 11 Dec 2017 08:42:13 +0000 (17:42 +0900)]
remove unnecessary log
Change-Id: I3036479c734bd31b401b26885c7aad96639033f8
SooChan Lim [Fri, 8 Dec 2017 06:43:31 +0000 (15:43 +0900)]
package version up to 2.2.2
Change-Id: I13720dd6e34f85b9bedcb3b6c85cc6c42f20a8f5
Roman Marchenko [Thu, 7 Dec 2017 12:57:37 +0000 (14:57 +0200)]
tbm_bufmgr: add checking of a map_count in the unmap function
unmap() for tbm_bo has to return false without map()
Change-Id: I17cdca53e1dfdda6fe41d66da9b8ee7306365dfe
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Thu, 7 Dec 2017 12:54:29 +0000 (14:54 +0200)]
utest: fix wrong expected value for tbm_surface_query_formats
Change-Id: I474c41a3f6a5074f2b01283fd1977153d4f6daad
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Thu, 7 Dec 2017 11:26:11 +0000 (13:26 +0200)]
tbm_surface_queue: forbid a registration of NULL instead of cb functions
It doesn't have sense to add NULL instead of an callback functions.
Change-Id: I038ad279f7fb83dc06f6b7cec41fc7f2ad416c60
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Thu, 7 Dec 2017 11:22:49 +0000 (13:22 +0200)]
utest: fix wrong test for tbm_surface_queue_get_surfaces
The array of surfaces can be NULL. In this case the function useus only the number.
Change-Id: Ifb2a2d3380c7c21c43152e4759ce29309b1e55c3
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Thu, 7 Dec 2017 11:01:02 +0000 (13:01 +0200)]
utest: fix wrong tests for add_dequeue_cb() and remove_dequeue_cb()
Change-Id: I6bf5df91b0c688b13052d71dfacb82595c20b00a
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Wed, 6 Dec 2017 15:06:01 +0000 (17:06 +0200)]
utest: improve code coverage
- add 3 tests API for tbm_surface_queue_set_sync_count
- add a test ReleaseSequenceSuccess
- add a test ResetSequenceSuccess
- fix a test RemoveDequeueCbSuccess
Change-Id: If6c9bffb605f38462c77e98909da1ad7de6bd756
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Changyeon Lee [Thu, 23 Nov 2017 12:30:56 +0000 (21:30 +0900)]
tbm_surface: added checking num and num_planes
Change-Id: If318ea3098c3631a2720ba60172ac95900dbc232
Boram Park [Mon, 27 Nov 2017 01:26:38 +0000 (10:26 +0900)]
package version up to 2.2.1
Change-Id: I274653155f96c070c59c01ae0f191671ed3ae0eb
Gwanglim Lee [Fri, 24 Nov 2017 08:38:26 +0000 (17:38 +0900)]
Fixed crash when saving shared memory.
It was passing stride argument instead of width when saving shared memory.
Change-Id: I533eb0f259db204b384e12682407f385b6d87c4f
Roman Marchenko [Fri, 24 Nov 2017 09:15:31 +0000 (11:15 +0200)]
utest: fix warnings in ut_tbm_surface_internal.cpp
Change-Id: Icff43e11a30fdc5b6076d0e0fc95c4525b432b11
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Changyeon Lee [Thu, 23 Nov 2017 07:00:27 +0000 (16:00 +0900)]
Package version up to 2.2.0
Change-Id: Ied5b3a8eceaff322002239531eaccb0ebabb2c51
Changyeon Lee [Tue, 21 Nov 2017 02:32:06 +0000 (11:32 +0900)]
added tbm_surface_queue_set_sync_count
some renderer enqueue surface before rendering of surface is done
if user want to ensure that rendering of surface is done when it is enqueued,
queue do map surface in surface_queue_enqueue function
Change-Id: I364420451113dd5a88d2c726d3b1db16a2769fa2
Roman Marchenko [Thu, 16 Nov 2017 16:00:12 +0000 (18:00 +0200)]
utest: call tbm_surface_queue_sequence_create() instead tbm_surface_queue_create()
Change-Id: I4300dd18182041a55245655fb39841f713898275
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Changyeon Lee [Fri, 17 Nov 2017 08:32:32 +0000 (17:32 +0900)]
Fix atomicity svace problem
Change-Id: I90571af7f4f04b2fd1508dac760b899fb2406efb
Konstantin Drabeniuk [Fri, 17 Nov 2017 10:32:08 +0000 (12:32 +0200)]
turn on the utests bulding and fix svace issues
Change-Id: I415aa6f56e579400f3942e334e9ba7d7549ca23c
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Konstantin Drabeniuk [Fri, 17 Nov 2017 09:02:18 +0000 (11:02 +0200)]
utest: remove -w and -fpermissive flags
Change-Id: If986b754789b726d5af69a47af4d909447aea0fc
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Konstantin Drabeniuk [Fri, 17 Nov 2017 09:00:48 +0000 (11:00 +0200)]
utest: fix build warnings
Change-Id: I14129f59849486d18beec5210b4763368fccd50f
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Konstantin Drabeniuk [Thu, 16 Nov 2017 16:08:46 +0000 (18:08 +0200)]
remove excluding coverage comments from tbm_surface_queue.c
Change-Id: I7faac4532263b71ee06812e5100c438afc9c181a
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Roman Marchenko [Wed, 15 Nov 2017 08:09:00 +0000 (10:09 +0200)]
utest: add test for the API functions from tdm_surface_queue.h
Change-Id: I20b46b1807729559dff79bc6b433eaad72e231af
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Thu, 9 Nov 2017 14:44:47 +0000 (16:44 +0200)]
utest: add test for the API functions from tdm_surface_internal.h
Change-Id: I3ef4bb33238b1a8123831443ba69de8058e5a844
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
SooChan Lim [Fri, 10 Nov 2017 02:47:53 +0000 (11:47 +0900)]
check the null prarameters
check the null parameters at tbm_surface_internal_query_supported_formats
Change-Id: I20e6f3b87d7fcbb37a627f89837f22cbd581d887
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
Roman Marchenko [Wed, 8 Nov 2017 08:36:45 +0000 (10:36 +0200)]
utests: covered the API funcs from the tbm_surface.h file
Change-Id: I51583aafcb3c1f0c074b38e6a6e565ea0ed8aed4
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Konstantin Drabeniuk [Tue, 7 Nov 2017 09:31:36 +0000 (11:31 +0200)]
utests: covered the API funcs. from the tbm_bufmgr.h file
Change-Id: Ie2fcccb18b548de3ba8500c3f34504c00216d79a
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Konstantin Drabeniuk [Mon, 6 Nov 2017 08:59:55 +0000 (10:59 +0200)]
utests: add skeleton for unit tests
As we change the testing way(we don't include c file) the old tests are
not actual and was deleted. Now we link the libtbm to the ut binary and
test TBM API.
Change-Id: Ifcfa884247dc4a347eedbf9376b813b46acad686
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
SooChan Lim [Tue, 31 Oct 2017 00:44:48 +0000 (09:44 +0900)]
utest: rename the ut to the utests
Change-Id: I23f1191421ad9897870ab15781e779ed5719cd00
SooChan Lim [Mon, 30 Oct 2017 09:57:37 +0000 (18:57 +0900)]
ut: remove gtest codes
use the gtest-devel package to build the ut test cases.
gtest packages has uploaded to the tizen repository.
Change-Id: I32ade6abe0eb04ddffbc2f00d06b851e42cd0668
SooChan Lim [Mon, 30 Oct 2017 08:39:02 +0000 (17:39 +0900)]
ut: sync with the gtest branch
Change-Id: I890910cd87043c8551e5928dec628e2f951e5192
Konstantin Drabeniuk [Tue, 11 Oct 2016 08:12:45 +0000 (11:12 +0300)]
ut: fixed warnings in unit test's sources
Change-Id: I890ecf66c8951e24e885d5f06436e6e8697ebabe
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
SooChan Lim [Mon, 30 Oct 2017 08:21:59 +0000 (17:21 +0900)]
Revert "Revert "put gtest framework source code""
This reverts commit
b02dc5898ea183fdc97de61dd41f566a95633a67.
Change-Id: Ice3c5637491d0567091dff05985177a23f3bb054
Junkyeong Kim [Wed, 27 Sep 2017 10:08:45 +0000 (19:08 +0900)]
tbm_surface_internal: add tc coverage exception tag
Change-Id: I945097011449d8589e1a7e2f8d22061c34dc7c79
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Wed, 27 Sep 2017 06:56:18 +0000 (15:56 +0900)]
package version up to 2.1.7
Change-Id: I926ebf219bb9f76ff4d265058c8b4e253fbed6c8
Sangjin Lee [Tue, 26 Sep 2017 07:04:35 +0000 (16:04 +0900)]
Fix to check validation of file
Change-Id: Ic5356fa00420f7e713b0a2ff04a0fcf2fc01aac1
Sangjin Lee [Tue, 26 Sep 2017 07:42:18 +0000 (16:42 +0900)]
fix the out-of-bounds access
Change-Id: I2aafc4433ce6c10e5545d8d6d62d22d14a0fde77
Boram Park [Fri, 22 Sep 2017 07:56:16 +0000 (16:56 +0900)]
package version up to 2.1.6
Change-Id: Ifd741672b9623ff158bd140946460da8a4974add
Boram Park [Fri, 15 Sep 2017 04:15:14 +0000 (13:15 +0900)]
tbm_drm_helper: remove setenv usage in server side
Change-Id: I92280799de33036da24b848a7d4d1f22cbcefb5d
YoungJun Cho [Mon, 18 Sep 2017 04:28:33 +0000 (13:28 +0900)]
surface_queue: fix wrong function name in LOG_E()
This patch fixes wrong function name in LOG_E().
Change-Id: If556b20e1345ba9b6468d539779e6820af9acdfa
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Fri, 15 Sep 2017 07:21:52 +0000 (16:21 +0900)]
surface_internal: clean up code for tbm_surface_internal_dump_start()
The tbm_surface_get_info() is enough to get bo size.
Change-Id: I223557920e802fdd39534f8b2a471c3a8e28641a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Boram Park [Fri, 15 Sep 2017 07:31:28 +0000 (16:31 +0900)]
package version up to 2.1.5
Change-Id: I02ad1bb672f3c1620d41b0def20a89dc50f1dba8
Boram Park [Fri, 15 Sep 2017 05:19:37 +0000 (14:19 +0900)]
tbm_drm_helper: remove setenv usage in client side
Change-Id: I218e6d0ebfa3a4a7617cfbdc02baf770a145e8b9
Dmitriy Evgenevich Gonzha [Tue, 12 Sep 2017 18:12:02 +0000 (21:12 +0300)]
Fix error with -Werror=maybe-uninitialized
Fix compilation error on ASan build:
tbm_surface_internal.c:2077:3: error: 'format' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
Change-Id: Idb72be1135b22e8c8dfc4a156513346680affb3b
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
Konstantin Drabeniuk [Tue, 5 Sep 2017 11:57:04 +0000 (14:57 +0300)]
__tbm_queue_sequence_enqueue: enqueue only one the surface
For example you dequeued the surfaces 1, 2.
If you enqueue the surface 2 the enqueue operation will be failed but
the priv_flags will remain 0. Then when you enqueue the surface 1 the
enqueue operation will be successful but you have enqueued the surface 2
too because the priv_flags for the surface 2 is 0. But you got the error
for the enqueue operation of surface 2. And you can try again to enqueue
the surface 2. But you will get the
TBM_SURFACE_QUEUE_ERROR_ALREADY_EXIST
error.
So I think we need enqueue only one the surface if it is first in the
dequeue_list
Change-Id: I055f9c565dd4697d6d3495058d9e3fa986cc1a13
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Konstantin Drabeniuk [Fri, 1 Sep 2017 11:04:09 +0000 (14:04 +0300)]
tbm_surface_queue_enqueue/release: changed the check for success
Now when we enqueue the first surface(dirty queue is empty)
to queue we get the TBM_SURFACE_QUEUE_ERROR_EMPTY error if
the enqueue operation is failed(_tbm_surface_queue_enqueue() or
surface_queue->impl->enqueue() is failed). When we don't acquire the
first surface and enqueue the second surface (dirty queue is not empty)
to queue we don't get the TBM_SURFACE_QUEUE_ERROR_EMPTY error if
the enqueue operation is failed. I think we should check whether there is
a surface(which we try to enqueue) in the dirty_queue.
The same for the release operation.
Change-Id: I7027e7869419a2dc3c912465778ecde89a79aee3
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Łukasz Stelmach [Tue, 29 Aug 2017 09:36:29 +0000 (11:36 +0200)]
Remove superfluous empty lines and align comments
Change-Id: I6da352ba186154e9f28d3362b3edb291e3ff0073
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
SooChan Lim [Wed, 23 Aug 2017 00:07:57 +0000 (09:07 +0900)]
package version up to 2.1.4
Change-Id: Ic8be92b12b7501f43cfab3920c9407780c8d5ac8
Changyeon Lee [Tue, 22 Aug 2017 02:35:37 +0000 (11:35 +0900)]
bufmgr: call backend export function instead tbm_bo_export
if call tbm_bo_export, it ouccur deadlock
Change-Id: Id30c06ddff50295580d9a3d03aa93ff5830aa3f9