YoungJun Cho [Thu, 10 Nov 2016 11:18:41 +0000 (20:18 +0900)]
tbm_bufmgr: clean up tbm_bo_***() functions
This patch cleans up tbm_bo_***() functions.
Change-Id: Ib954922063a3b50f38993a59ce4adc825e379ed7
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Thu, 10 Nov 2016 11:13:34 +0000 (20:13 +0900)]
tbm_bufmgr: clean up tbm_bufmgr_init/deinit()
This patch cleans up tbm_bufmgr_init/deinit().
Change-Id: Ib95d22d98c6029c06a522ae80811dc3a11927721
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Thu, 10 Nov 2016 11:04:35 +0000 (20:04 +0900)]
tbm_bufmgr: clean up load module codes
This patch cleans up load module codes.
- Tries not to use over 2-depth condition.
Change-Id: I0bcd7e0308e85028db4bf7b2c740cf052b1ec245
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Thu, 10 Nov 2016 10:27:21 +0000 (19:27 +0900)]
tbm_bufmgr: clean up internal functions
This patch cleans up internal functions.
- Renames tbm_flag_to_str() as _tbm_flag_to_str() with static.
- Moves last_chk_bo_cnt into _tbm_util_check_bo_cnt.
- Uses LIST_FOR_EACH_ENTRY() if it is enough.
- Uses switch/case for readability in (_)tbm_bo_(un)lock().
Change-Id: Ia41fb6c793e2668574810d2b70b4ee12cb3b34ba
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
SooChan Lim [Fri, 11 Nov 2016 04:24:58 +0000 (13:24 +0900)]
package version up to 2.0.8
Change-Id: I20fe01c5050c6594230833410a8fc05058b2d6e3
SooChan Lim [Fri, 11 Nov 2016 02:26:09 +0000 (11:26 +0900)]
set the null initialization
fix issues from the static code analysis tools
Change-Id: I8c8a4cf54eecccddb58d3fc3363eacb8f38446fa
SooChan Lim [Wed, 9 Nov 2016 11:00:28 +0000 (20:00 +0900)]
remove the profile condition at spec file
make the symbolic link of tbm-drm-auth-user.path to
basic.target.want
Change-Id: Ie6d0ce9e859f38b8be2c475fbb1b02b7c90c33ac
YoungJun Cho [Wed, 9 Nov 2016 01:55:36 +0000 (10:55 +0900)]
tbm_bufmgr_backend: clean up header
This patch cleans up tbm_bufmgr_backend.h.
Change-Id: I5b3d7c6c4ce61c467d2d247f26c702e223996e7f
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 8 Nov 2016 11:10:10 +0000 (20:10 +0900)]
tbm_surface_queue: clean up tbm_surface_queue_can_dequeue / acquire
This patch cleans up tbm_surface_queue_can_dequeue / acqurie
not to use 3-depth 'if' condition.
Change-Id: I7529ec36205eb25f1e772408686018b03a2baa18
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 8 Nov 2016 11:00:40 +0000 (20:00 +0900)]
tbm_surface_queue: change return code in tbm_surface_queue_release()
This patch changes return code in tbm_surface_queue_release()
from TBM_SURFACE_QUEUE_ERROR_NONE to TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE
when free_queue is empty.
Change-Id: I980ec7c8f0b8ad7312b88c4a56bfa46010db4c2a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 8 Nov 2016 10:55:18 +0000 (19:55 +0900)]
tbm_surface_queue: move output variable setting point
This patch moves output variable setting point,
so it could be set even function is exited by TBM_SURF_QUEUE_RETURN_***.
Change-Id: Ia3190b695d96f7657f6639d46a26ec7336a7d64b
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 8 Nov 2016 10:47:39 +0000 (19:47 +0900)]
tbm_surface_queue: clean up tbm_surface_queue_init / destroy
This patch cleans up tbm_surface_queue_init / destroy.
- The surface_queue is created by calloc, so memset() is not required
in tbm_surface_queue_init().
- There are missed _notify_remove_all() calls for dequeue_noti and acquirable_noti
in tbm_surface_queue_destroy().
- Reorders notifications list as structure defined order.
Change-Id: I2ab5312a4dd686cb55beca5c7601a849fd00412a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 8 Nov 2016 10:39:48 +0000 (19:39 +0900)]
tbm_surface_queue: cast impl_data as actual tbm_queue_*** type
This patch casts impl_data as actual tbm_queue_*** type.
Change-Id: I12ecb7d5357280e6266448071d8d31104b83c280
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 8 Nov 2016 10:29:54 +0000 (19:29 +0900)]
tbm_surface_queue: clean up LIST related codes
This patch cleans up LIST related codes.
- Uses LIST_FOR_EACH_ENTRY if it is enough.
- Removes meaningless variable initialization.
Change-Id: I3ec2a94dc74cebf46a233f37c8b4b0464f04ce54
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 8 Nov 2016 10:12:25 +0000 (19:12 +0900)]
tbm_surface_queue: declare _tbm_surface_queue_***() as static function
This patch declares _tbm_surface_queue_***() as static function.
Change-Id: I6cf963913cfbfd5bac4bafc6a4e08b69b9f91973
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
SooChan Lim [Tue, 8 Nov 2016 01:45:56 +0000 (10:45 +0900)]
package version up to 2.0.7
Change-Id: I110b60aef479b4fbc88243474eef66d18cff3c78
SooChan Lim [Mon, 7 Nov 2016 04:35:56 +0000 (13:35 +0900)]
apply the coding rule
Change-Id: I6128af6c8a35254ea5e0543e126d02b6a5fabdc9
YoungJun Cho [Thu, 3 Nov 2016 04:57:58 +0000 (13:57 +0900)]
tbm_surface_internal: clean up dump buffer functions
This patch cleans up dump buffer functions.
- Adds missed error routines.
- Adds missed buf_info LIST_DEL routines.
Change-Id: Iccdb1d386eefd15c06337d2a7275421824ef1331
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Wed, 2 Nov 2016 13:51:27 +0000 (22:51 +0900)]
tbm_bufmgr, tbm_surface_internal: clean up LIST relevant codes
This patch cleans up LIST relevant codes.
- LIST_FOR_EACH_ENTRY is enough if there is no LIST_DEL routine inside.
- The user_data_lookup() checks LIST_IS_EMPTY() internally, so removes duplicated check routine.
Change-Id: Id4821fd22014cb5dfa32a77da8f5c26e0dc9569c
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Wed, 2 Nov 2016 13:47:49 +0000 (22:47 +0900)]
tbm_surface_internal: clean up tbm_surface_internal_get_info()
This patch cleans up tbm_surface_internal_get_info().
There is a missed error routine.
Change-Id: I31be6bcb1b974c7ca7e6016b4a0879a766ab3089
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Wed, 2 Nov 2016 13:45:07 +0000 (22:45 +0900)]
tbm_surface_internal: fix header descriptions
This patch fixes header descriptions for error return value.
Change-Id: Id3d02f44cef981fcb716e32b63bd5130d88981b4
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Wed, 2 Nov 2016 13:39:29 +0000 (22:39 +0900)]
tbm_surface_internal: change tbm_surface_internal_get_size() return type
This patch changes tbm_surface_internal_get_size() return type
from int to unsigned int.
The type of size in _tbm_surface_info is uint32_t and this function returns it.
Change-Id: I72a3ae9cda8e77a49e36122d19ae9ca8353cc674
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Wed, 2 Nov 2016 13:23:09 +0000 (22:23 +0900)]
tbm_surface_internal: clean up tbm_surface_internal_query_supported_formats()
This patch cleans up tbm_surface_internal_query_supported_formats().
There are some missed error routines.
Change-Id: I010e301d358849d8f48242b6a3db39a39a3f09c5
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Wed, 2 Nov 2016 13:07:12 +0000 (22:07 +0900)]
tbm_surface_internal: clean up tbm_surface_internal_create_with_bos()
This patch cleans up tbm_surface_internal_create_with_bos().
There are some missed error routines.
Change-Id: Iec22737915e6d3b01ea8f7a9346f3cb812aec5f5
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Tue, 1 Nov 2016 09:08:19 +0000 (18:08 +0900)]
tbm_surface_internal: clean up tbm_surface_internal_create_with_flags()
This patch cleans up tbm_surface_internal_create_with_flags().
- Adds missed error logs, routines.
- Adds _tbm_surface_internal_query_plane_data() error routine.
- Adds tbm_bo_alloc() error routine.
Change-Id: Iaaead4755e9aa3213e88af92b1e971adb17c0a09
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Boram Park [Wed, 2 Nov 2016 03:35:39 +0000 (12:35 +0900)]
packaging: version up to 2.0.6
Change-Id: Ife9b1bd92c0630f3317aaa903f9561074ff997c1
Changyeon Lee [Tue, 11 Oct 2016 05:59:46 +0000 (14:59 +0900)]
applied ui_fw uid,gid in tbm-drm-auth.service
Change-Id: Ieefb55c191fd4bed6c5cae885c2a5b0cef35c40f
Changyeon Lee [Tue, 1 Nov 2016 11:22:44 +0000 (20:22 +0900)]
unlock bo untill lock_cnt is zero when free bo
Change-Id: If5dc9b0450974484d9b4bc8155c7740f682ecd40
Changyeon Lee [Tue, 1 Nov 2016 09:25:40 +0000 (18:25 +0900)]
unlock mutex of surface when tbm_bo_map
Change-Id: I7fa6078d1d39db8cd2afad77093b0cfb22aab256
YoungJun Cho [Tue, 1 Nov 2016 09:03:21 +0000 (18:03 +0900)]
tbm_surface_internal: clean up tbm_surface_internal_is_valid()
This patch cleans up tbm_surface_internal_is_valid().
It is enough to use LIST_FOR_EACH_ENTRY because there is no deletion routine.
Change-Id: I58e63e9f3de99ec3195df19385d3a675fb3a32f3
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Changyeon Lee [Mon, 24 Oct 2016 04:21:25 +0000 (13:21 +0900)]
don't call reset callback when queue doesn't have attached buffer in flush
Change-Id: I2bccf23fc7b9569ea2e7aee26e06d0e73b0bd993
Changyeon Lee [Fri, 21 Oct 2016 07:50:36 +0000 (16:50 +0900)]
do not increase bo cnt of bufmgr if bo is resued (import, import_fd)
Change-Id: I16b90bcfda2187959ad5f5275e167d0b9a45a06e
SooChan Lim [Wed, 19 Oct 2016 09:00:27 +0000 (18:00 +0900)]
get the size from surf->bos
Change-Id: I4c6223d2bd522ae5e720629dbdc20ad6f5ef651c
Changyeon Lee [Tue, 18 Oct 2016 08:56:18 +0000 (17:56 +0900)]
fixed deadlock issues
Change-Id: I1023f64872947a43b1f02a6069cec3d9e1b2e307
Changyeon Lee [Fri, 7 Oct 2016 06:30:42 +0000 (15:30 +0900)]
add api tbm_surface_queue_set_size
Change-Id: I7c0604c955d6e477ba65ab1d042f6a7276db5c2f
Changyeon Lee [Mon, 17 Oct 2016 02:45:57 +0000 (11:45 +0900)]
don't use tbm api in bufmgr_debug_show
if bufmgr debug show is called in import/fd/alloc, process enter deadlock
Change-Id: I2473cb2537c131cab3472b8be0c716a33611ed5a
SooChan Lim [Thu, 13 Oct 2016 10:14:11 +0000 (19:14 +0900)]
package version up to 2.0.5
Change-Id: I20696793d50f3c180f60c559b11d1508f6287da9
Changyeon Lee [Thu, 13 Oct 2016 05:44:44 +0000 (14:44 +0900)]
checked roundtrip return error
Change-Id: I8788d783cf8878396de063ac4158ea16736520ee
Changyeon Lee [Wed, 12 Oct 2016 13:14:51 +0000 (22:14 +0900)]
include config.h in all c file and fixed dlog level
Change-Id: I38fcd99e965afc36ede781b6a6250e8197673221
SooChan Lim [Fri, 7 Oct 2016 07:57:10 +0000 (16:57 +0900)]
use MONOTONIC clock to get time
Change-Id: Ibd1ccb92ec42079c035caf744def690b58de8b88
SooChan Lim [Fri, 7 Oct 2016 07:35:13 +0000 (16:35 +0900)]
print the time of tbm_bufmgr_init
default disabled
Change-Id: I4c18fda4c2c50a4fb0cddb3cd4bab9702ef1d067
SooChan Lim [Fri, 7 Oct 2016 07:02:37 +0000 (16:02 +0900)]
change the DBG to TBM_DBG
Change-Id: Ie3dd8bb328ca93df986c435357b3f282b713ae94
SooChan Lim [Tue, 11 Oct 2016 06:03:38 +0000 (15:03 +0900)]
Revert "put gtest framework source code"
This reverts commit
2be3334833c3fc56ffb9d48ccb2116a48748b93e.
Change-Id: I53305df736e639394826b6df23477ff49140d64a
Changyeon Lee [Tue, 11 Oct 2016 02:39:44 +0000 (11:39 +0900)]
fixed export_fd error return value
Change-Id: I08d8061193dd88c7fe37fe0cf62d6d92f8b06db0
Changyeon Lee [Tue, 4 Oct 2016 11:12:39 +0000 (20:12 +0900)]
fix error return value
Change-Id: Ic59614bb26531f6cb1cdd16f83ec59a589c0e79f
Changyeon Lee [Tue, 4 Oct 2016 10:58:51 +0000 (19:58 +0900)]
Fix access null pointer
Change-Id: I1516ba4c5fb735116b7b60604fc3c0f3c5022fa9
SooChan Lim [Tue, 4 Oct 2016 07:19:54 +0000 (16:19 +0900)]
package version up to 2.0.4
Change-Id: If40a6ffdd10caa053c30cfa7919ef4ac4519fdb5
Changyeon Lee [Mon, 3 Oct 2016 09:53:30 +0000 (18:53 +0900)]
fix deadlock problem in queue_reset
Change-Id: I925902b3ad82a5d718d7dd0f1c6c50ec66e8ab82
Changyeon Lee [Wed, 28 Sep 2016 08:59:21 +0000 (17:59 +0900)]
unlock global mutex lock of surface_queue when call alloc cb in default queue
Change-Id: I41d59af74d23fc7c017e46cf61d0961b67f5a58a
Konstantin Drabeniuk [Wed, 28 Sep 2016 13:06:36 +0000 (16:06 +0300)]
put gtest framework source code
I suppressed all warnings by using a flag -w.
This is a temporary solution. Warnings occur because
we build project with g++. In C++ we need to use explicit
types conversion. I will fix warnings in unit test sources,
in next commit. But I can't fix warnings in libtbm sources.
Change-Id: Ia92f76fce72210822c0479f3cbf2b4ce6b4373cc
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
SooChan Lim [Thu, 29 Sep 2016 11:59:20 +0000 (20:59 +0900)]
increase the size for the null termination
Change-Id: I7e2b00c41e65094cb0951e2aa636ab648c62d829
Changyeon Lee [Tue, 27 Sep 2016 05:22:40 +0000 (14:22 +0900)]
Fix deadlock problem
Change-Id: I64345d042d399586f85b8e29a4675b22467ea008
SooChan Lim [Mon, 26 Sep 2016 08:34:07 +0000 (17:34 +0900)]
package version up to 2.0.3
Change-Id: I6fb1b26a44c03ce40be485d6c32ce3761769dae9
Changyeon Lee [Mon, 26 Sep 2016 04:08:34 +0000 (13:08 +0900)]
init surface_queue list in bufmgr
Change-Id: I288b7d66a628994c8bb16a050066cf75bdea98b8
Changyeon Lee [Mon, 26 Sep 2016 02:56:41 +0000 (11:56 +0900)]
return error when enqueue surface but queue is empty
Change-Id: Ic82f7abf2bf3d713769072b6d4265c92b48565d5
Changyeon Lee [Mon, 26 Sep 2016 02:51:35 +0000 (11:51 +0900)]
fix coding rule
Change-Id: I7cf7fabd2f88e108f8164028e50f0865ca3aab24
Changyeon Lee [Sun, 25 Sep 2016 10:22:40 +0000 (19:22 +0900)]
enforce the thread safety of the tbm_surface_queue
Change-Id: If52f7ca3d8cde09afa39d1e0ac40323051eade78
Changyeon Lee [Sun, 25 Sep 2016 07:04:26 +0000 (16:04 +0900)]
enforce the thread safety of the tbm_surface
Change-Id: I08b1a98ef2e49382d709632a6a9beb575fc21fa4
SooChan Lim [Sun, 25 Sep 2016 09:51:12 +0000 (18:51 +0900)]
obey the coding rule
Change-Id: Idbf678141871dc9fabc0389fa1f6a7847599800b
SooChan Lim [Fri, 23 Sep 2016 10:08:15 +0000 (19:08 +0900)]
enforce the thread safety of the tbm_bufmgr
Change-Id: Ib7ebf70046ec2f7b0b1caa341d1c78c9e340e180
Changyeon Lee [Fri, 23 Sep 2016 03:49:47 +0000 (12:49 +0900)]
Remove doxygen warning
Change-Id: I4f6ece8b0dbcfc50db7d847975ca5c3f65a534f6
SooChan Lim [Tue, 20 Sep 2016 02:53:30 +0000 (11:53 +0900)]
package version up to 2.0.2
Change-Id: If838c35915e80c6e328600196d4790fe290e1c6a
Changyeon Lee [Mon, 19 Sep 2016 10:06:33 +0000 (19:06 +0900)]
check null before access import/export(fd) backend interface
Change-Id: I2d2b8a74b1713bfbf9a982436eed54e485dcc263
Konstantin Drabeniuk [Fri, 9 Sep 2016 06:22:30 +0000 (09:22 +0300)]
[libtbm] Move unit tests from ws-testcase and change test framework
1) change unit testing framework (Check to gtest);
2) move unit test from the ws-testcase project to the project libtbm;
Change-Id: Ibad976c45030f02799c211b22db3e65534817233
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Changyeon Lee [Tue, 6 Sep 2016 12:07:53 +0000 (21:07 +0900)]
Add function add/remove dequeue callback in queue
Change-Id: Ic4dc54e72a7a8917df1577a0d74243baa2cd9dd4
Sangjin Lee [Tue, 6 Sep 2016 04:51:36 +0000 (13:51 +0900)]
Check gBufMgr in _tbm_bo_valid()
Change-Id: I6e6d44c45ebcd4bf91d5e53de52d1c2376a3d99a
SooChan Lim [Mon, 5 Sep 2016 10:49:27 +0000 (19:49 +0900)]
package version up to 2.0.1
Change-Id: Idab7eb5bff56b99dc25b1a59ae20d360434e704c
Sangjin Lee [Fri, 2 Sep 2016 01:40:19 +0000 (10:40 +0900)]
Add check condition for queue
Change-Id: Iee58d24745cd2aa20d0d065a16192ecfaaddb53f
Roman Marchenko [Wed, 20 Jul 2016 11:26:06 +0000 (14:26 +0300)]
add the api functions (dump_all and queue_dump) for the debugging
Change-Id: If65bf485517fa0f9e5b0aa5d9546ce3ec2b18513
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Taekyun Kim [Wed, 24 Aug 2016 04:35:44 +0000 (13:35 +0900)]
tbm_sync: API refactoring
Handles to the sync objects are replaced with file descriptor to remove
overhead of import/export.
Change-Id: I1703162b928b405a583930bc85f8c3b0d2a8426b
Signed-off-by: Taekyun Kim <tkq.kim@samsung.com>
Changyeon Lee [Mon, 22 Aug 2016 04:29:51 +0000 (13:29 +0900)]
Apply tizen coding rule
Change-Id: I83f03009c34b676b81c4e986751cfd331477e3c7
SooChan Lim [Fri, 19 Aug 2016 04:42:49 +0000 (13:42 +0900)]
systemd: support for the lazy mount of user data
Change-Id: I23c200e35bc622e291948f3c19a9d49cb7f3aa83
deasung.kim [Wed, 17 Aug 2016 09:45:04 +0000 (18:45 +0900)]
tbm_sync: bug fix tbm_sync_fence_import
save old fd to new fd in tbm_sync_fence
Change-Id: I219340be9baec80b362140a50a49c4fa27fce4c4
Signed-off-by: deasungkim <deasung.kim@samsung.com>
deasung.kim [Wed, 17 Aug 2016 08:38:39 +0000 (17:38 +0900)]
tbm_sync: tbm_sync_timeline/fence_import use dup
for same look with export funcs
and use CLOSE_EXEC flag
Change-Id: I3d41ba20a621f544c55d85c5415ee1262cf75f66
Signed-off-by: deasungkim <deasung.kim@samsung.com>
deasung.kim [Wed, 17 Aug 2016 07:38:24 +0000 (16:38 +0900)]
tbm_sync: bug fix timeline create and fence create
set timeline fd in timeline structure
fix fence create structure(char pointer to char array[32])
Change-Id: I4d6677543ae0d857bd6f60e77cbbbe4ecef17d62
Signed-off-by: deasungkim <deasung.kim@samsung.com>
deasung.kim [Tue, 16 Aug 2016 13:44:36 +0000 (22:44 +0900)]
tbm_sync: implement tbm_sync
added new API: tbm_sync_fence_export, tbm_sync_fence_import
this APIs need to gpu driver
tbm_sync_timeline_export
this APIs maybe need to wayland-tbm
not implement: tbm_sync_fence_get_count_val, tbm_sync_timeline_get_cur_count
I don't know how to get that count from kernel
and if manage in one process(by member variable) I think it is meanless(can't share other processes)
Change-Id: Iea1b21fcacdbdca2061fa12ca589c8f5fc40d38b
Signed-off-by: deasungkim <deasung.kim@samsung.com>
SooChan Lim [Fri, 5 Aug 2016 07:27:48 +0000 (16:27 +0900)]
add tbm_sync to support for the timeline and the fence
There are two resources to manage the synchronization.
two handle.. tbm_sync_timeline_h, tbm_sync_fence_h
Change-Id: I680ce38370164d17c7b487400b9e29f1f5cac3f6
Changyeon Lee [Wed, 10 Aug 2016 10:11:23 +0000 (19:11 +0900)]
Apply tizen coding rule
Change-Id: Ib272a11dfdd15dc698c8e9bfeb5ff4e37ef6faa5
Changyeon Lee [Wed, 10 Aug 2016 06:49:51 +0000 (15:49 +0900)]
add tbm_surface_internal_set_debug_data function for debugging
debug data will be print in tbm_bufmgr_debug_show
Change-Id: If351c9e987eb5a397707aae5cd94f79502daf89d
SooChan Lim [Mon, 8 Aug 2016 10:21:44 +0000 (19:21 +0900)]
add _tbm_bufmgr_get_bufmgr as internal function
Change-Id: Id9e7f809eb1926f356702022652133353ebd7cec
SooChan Lim [Mon, 8 Aug 2016 10:20:17 +0000 (19:20 +0900)]
add capabilities to the bufmgr
Change-Id: Id53df2a60fa32e4d10a64f80c4fd2ce5232a4081
Junkyeong Kim [Thu, 21 Jul 2016 08:29:24 +0000 (17:29 +0900)]
add dump prefix time value
Change-Id: Ia00086ae1d538f995b01327b5de9028403d9d9de
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Wed, 27 Jul 2016 10:57:45 +0000 (19:57 +0900)]
tbm_surface : delete user data before bo unref
Change-Id: If88d0cc1ff2f40b2fef570d16b0b0f1c7a9d39d1
Changyeon Lee [Thu, 21 Jul 2016 01:59:19 +0000 (10:59 +0900)]
tbm_surface_queue: Don't wait enqueue if queue deosn't have dequeue type node
Change-Id: Ib8621a33221253c4f952124f7abd225bd96cfba6
Yunjin Lee [Wed, 20 Jul 2016 11:49:08 +0000 (20:49 +0900)]
Set SmackProcessLabel to System
Change-Id: Ic74dc9df6101ec63e3671f5c3e06925cd4932e14
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Junkyeong Kim [Wed, 20 Jul 2016 08:27:35 +0000 (17:27 +0900)]
adapt tizen coding rule
Change-Id: I0e42f7260db27e01c3564682aba2868f379a8868
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Roman Marchenko [Wed, 6 Jul 2016 14:34:50 +0000 (17:34 +0300)]
add tbm_surface_internal_dump_all for debugging
Change-Id: Ic9beae82f643c4e635ab7e49d7a4a5a2f07dd87f
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Fri, 1 Jul 2016 14:39:09 +0000 (17:39 +0300)]
add trace messages for debugging
Change-Id: I4cd3fe5ca0307dd95fb82195cb22f114ad41a598
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
SooChan Lim [Thu, 7 Jul 2016 06:29:03 +0000 (15:29 +0900)]
change the dump file name
Change-Id: I819c9f99984972390dbdb87246aa239f06d8bc56
SooChan Lim [Tue, 5 Jul 2016 12:51:21 +0000 (21:51 +0900)]
enhance the name of the dump buffers
Change-Id: I137a66f5129cd6723cc5a4864e31c01bb15a1423
SooChan Lim [Mon, 4 Jul 2016 01:20:09 +0000 (10:20 +0900)]
Revert "adapt tizen coding rule"
This reverts commit
b1ea678692dbfd17b7e0af7483a421e60506be60.
Change-Id: Iaec5c697f2817e37613684ffae0b206581b51fa1
SooChan Lim [Sat, 2 Jul 2016 12:55:52 +0000 (21:55 +0900)]
add bo_cnt for debug
print the bo informations in the process
when the bo number is over 500.
Change-Id: I1fb91ca9d17467c15d2610b5ac402ce3c159ded7
Changyeon Lee [Wed, 29 Jun 2016 10:49:58 +0000 (19:49 +0900)]
delete queue node before queue destroy
Change-Id: I999b8a5155074b05bbbe387769ef70ee7bee15d8
Changyeon Lee [Wed, 29 Jun 2016 09:39:08 +0000 (18:39 +0900)]
Fixed calculating of num bos in tbm surface
Change-Id: I7ce85c6925a5ef3e1f510303da5d4868bea84546
SooChan Lim [Mon, 27 Jun 2016 05:24:10 +0000 (14:24 +0900)]
remove the pthread-stub dependency
Change-Id: I3433115e98d0d43fafd5798646c8bfdbda41c5ee
Junkyeong Kim [Mon, 27 Jun 2016 02:06:49 +0000 (11:06 +0900)]
adapt tizen coding rule
Change-Id: I7ddf9383cbf121384f47e4070df76f35d1ae8814
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 22 Jun 2016 12:12:35 +0000 (21:12 +0900)]
initialize buf_info variable in tbm_surfac_internal_dump_end
Change-Id: Ife5c1d228121fb4161a255e2a084f49bf3a5d3ab
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Tue, 21 Jun 2016 05:09:33 +0000 (14:09 +0900)]
Change tbm debug level
Change-Id: I04412ec15c5839d5ac3b6ecb8ddbb30e03196c92
Changyeon Lee [Tue, 21 Jun 2016 02:20:40 +0000 (11:20 +0900)]
Use dlog logging system
Change-Id: I672ac678bce625a26af1c718bf57c70e41fef7c4
Changyeon Lee [Tue, 14 Jun 2016 10:25:17 +0000 (19:25 +0900)]
Apply tizen coding rule
Change-Id: I413bac301b4d50cf82b239a31dcc02516c0ade08