platform/core/uifw/libtbm.git
7 years agoImprove tbm_surface_internal_dump_buffer() to show gem name 06/139506/4
YoungJun Cho [Wed, 19 Jul 2017 07:06:59 +0000 (16:06 +0900)]
Improve tbm_surface_internal_dump_buffer() to show gem name

This patch improves tbm_surface_internal_dump_buffer() to show gem name.

Change-Id: I3f2cbc5b325f2c6c36eeb628e88a8559b8b0cc30
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agopackage version up to 2.1.0 82/139482/1 accepted/tizen/3.0/common/20170721.115119 accepted/tizen/3.0/ivi/20170721.023849 accepted/tizen/3.0/mobile/20170721.023807 accepted/tizen/3.0/tv/20170721.023818 accepted/tizen/3.0/wearable/20170721.023837 accepted/tizen/unified/20170720.164849 submit/tizen/20170719.053735 submit/tizen_3.0/20170719.053725
SooChan Lim [Wed, 19 Jul 2017 06:02:40 +0000 (15:02 +0900)]
package version up to 2.1.0

Change-Id: I6b5eed1b67fb6f96d527adbb11db78edd731fff8

7 years agofix invariant result 62/139462/6
SooChan Lim [Wed, 19 Jul 2017 05:01:24 +0000 (14:01 +0900)]
fix invariant result

Change-Id: I4b4b929f69cbaa192ebde05c81dacf027543cb66

7 years agoadd LIST_DEINIT of bo_list and surf_list 48/139448/3
SooChan Lim [Wed, 19 Jul 2017 04:20:56 +0000 (13:20 +0900)]
add LIST_DEINIT of bo_list and surf_list

add the deinitailization of the bo_list and surf_list
at the tbm_bufmgr_deinit.

Change-Id: Idb51566614518e734b785322a22a70c0447a46ad

7 years agobufmgr: change useage of strncat 56/139356/4
Sangjin Lee [Tue, 18 Jul 2017 12:07:43 +0000 (21:07 +0900)]
bufmgr: change useage of strncat

When use the strncat(dest, src, n), n should be sizeof(n) - strlen(n) -1.

Change-Id: I126065fdc36af63753d000863597927403bf352c

7 years agotbm_surface_queue: added tbm_surface_queue_mode 44/139444/2
Changyeon Lee [Tue, 18 Jul 2017 08:14:28 +0000 (17:14 +0900)]
tbm_surface_queue: added tbm_surface_queue_mode

if user set queue mode to GUARANTEE_CYCLE, user must do enqueue/acquire/release
or cancel_dequeue for tbm_surface which is dequeued before
tbm_surface_queue is reset

Change-Id: Ia26ae79ca376ad69d9714500bd4dfb48ae61da79

7 years agotbm_surface_queue: pending delete queue_node until released queue 26/139226/2
Changyeon Lee [Wed, 7 Jun 2017 07:54:07 +0000 (16:54 +0900)]
tbm_surface_queue: pending delete queue_node until released queue

Change-Id: Id4f714e9943cba24418f990ea9fefcdad4bb86b0

7 years agosurface_queue: added queue cancel acquire/dequeue 30/136530/4
Changyeon Lee [Thu, 29 Jun 2017 09:33:14 +0000 (18:33 +0900)]
surface_queue: added queue cancel acquire/dequeue

Change-Id: I0857b16141894eaf6f06a3b1584e971ac380a513

7 years agotbm_surface_queue: called need_attach when queue_dequeue 79/134579/5
Changyeon Lee [Mon, 19 Jun 2017 07:28:10 +0000 (16:28 +0900)]
tbm_surface_queue: called need_attach when queue_dequeue

Change-Id: I32540fd30baff0fb4ac0fef4f81a95bb8a906904

7 years agotbm_surface_queue: fixed and subdivided error value 68/138768/4
Changyeon Lee [Thu, 13 Jul 2017 13:12:02 +0000 (22:12 +0900)]
tbm_surface_queue: fixed and subdivided error value

Change-Id: Ia81f97645628adaf651e17437e013b8d3fce5872

7 years agoFix Svace no-unlock major defect 15/139215/1
YoungJun Cho [Tue, 18 Jul 2017 03:44:35 +0000 (12:44 +0900)]
Fix Svace no-unlock major defect

This patch fixes Svace no-unlock major defect.

Change-Id: Iba2fe234c158d733d94eeaed3af0e595391c98b7
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agopackage version up to 2.0.24 11/136111/1 accepted/tizen/3.0/common/20170707.091524 accepted/tizen/3.0/ivi/20170706.222107 accepted/tizen/3.0/mobile/20170706.221955 accepted/tizen/3.0/tv/20170706.222022 accepted/tizen/3.0/wearable/20170706.222046 accepted/tizen/unified/20170703.064022 submit/tizen/20170628.060900 submit/tizen_3.0/20170705.085031
SooChan Lim [Wed, 28 Jun 2017 06:06:14 +0000 (15:06 +0900)]
package version up to 2.0.24

Change-Id: I9ab043b0fbe58a9410458c300981cc040caa3338

7 years agoremove unused valiable 99/135399/1
Changyeon Lee [Thu, 22 Jun 2017 07:05:53 +0000 (16:05 +0900)]
remove unused valiable

Change-Id: I8bf21078d5577d7fbea4745295381294277c1d77

7 years agotbm_bufmgr: wrap tbm_bufmgr_deinit to bufmgr mutex 27/134827/2
Changyeon Lee [Tue, 20 Jun 2017 05:50:52 +0000 (14:50 +0900)]
tbm_bufmgr: wrap tbm_bufmgr_deinit to bufmgr mutex

Change-Id: Ibc06e861d75978221c745d8cf393b511115d7603

7 years agoadd scale factor to tbm_bufmgr_debug_dump_all() and tbm_bufmgr_debug_queue_dump(... 58/134258/9
Roman Marchenko [Thu, 15 Jun 2017 12:28:57 +0000 (15:28 +0300)]
add scale factor to tbm_bufmgr_debug_dump_all() and tbm_bufmgr_debug_queue_dump() func.

Change-Id: I45803fdc89a1aa050be1365d41501325c263f81d
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoAdded tc line coverage exception tag 21/134221/2
Changyeon Lee [Thu, 15 Jun 2017 08:56:27 +0000 (17:56 +0900)]
Added tc line coverage exception tag

Change-Id: I584b8f3591bf9fe4c9b9f9713adfee70c6b47248

7 years agopackage version up to 2.0.23 55/133955/1 accepted/tizen/3.0/common/20170616.064411 accepted/tizen/3.0/ivi/20170614.223756 accepted/tizen/3.0/ivi/20170615.081013 accepted/tizen/3.0/mobile/20170614.223740 accepted/tizen/3.0/mobile/20170615.080956 accepted/tizen/3.0/tv/20170614.223746 accepted/tizen/3.0/tv/20170615.081003 accepted/tizen/3.0/wearable/20170614.223751 accepted/tizen/3.0/wearable/20170615.081008 submit/tizen/20170614.063309 submit/tizen_3.0/20170614.064107 submit/tizen_3.0/20170615.012522
SooChan Lim [Wed, 14 Jun 2017 05:48:30 +0000 (14:48 +0900)]
package version up to 2.0.23

Change-Id: I2e9b6221565a4010483a20a1ab474ad9708ed89b

7 years agoadd tbm_surface_internal_dump_with_scale_start() func. 22/133522/5
Konstantin Drabeniuk [Mon, 12 Jun 2017 11:00:41 +0000 (14:00 +0300)]
add tbm_surface_internal_dump_with_scale_start() func.

Change-Id: Id93ef300366a606c6111d04b9014488c4612a0a9
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agotbm_surface: used TBM_TRACE log in capture_buffer 37/133737/1
Changyeon Lee [Tue, 13 Jun 2017 08:12:02 +0000 (17:12 +0900)]
tbm_surface: used TBM_TRACE log in capture_buffer

Change-Id: Ibad153d4dfb89a1c19fac1556a8e9995383fe88b

7 years agopackage version up to 2.0.22 12/133112/1 accepted/tizen/unified/20170609.204043 submit/tizen/20170609.042242
SooChan Lim [Fri, 9 Jun 2017 03:52:39 +0000 (12:52 +0900)]
package version up to 2.0.22

Change-Id: Ie77fd5174a669b7139bc9e3fecacb7a9b024fa61

7 years agotbm_surface_queue: add tbm_surface_queue_free_flush 38/132538/3
Sangjin Lee [Tue, 6 Jun 2017 22:49:17 +0000 (07:49 +0900)]
tbm_surface_queue: add tbm_surface_queue_free_flush

Add function to flush just free buffer.
and fix simple bug in queue_list.
This function use in tizen_surface_shm_flusher::free_flush protocol.

Change-Id: Id1f4f305217901beb0271e439deb981c215ef018

7 years agocorrect surface information 98/131898/3 accepted/tizen/unified/20170608.072258 submit/tizen/20170607.062251
Boram Park [Wed, 31 May 2017 06:23:49 +0000 (15:23 +0900)]
correct surface information

Change-Id: I603c2211be4f14e20e7838ed9e2accde253d6dd4

7 years agotbm_drm_helper: fix Svace TAINTED_INT defect 32/132432/1
YoungJun Cho [Mon, 5 Jun 2017 06:42:00 +0000 (15:42 +0900)]
tbm_drm_helper: fix Svace TAINTED_INT defect

This patch fixes Svace TAINTED_INT defect.

Change-Id: I88e06bbdb020ee2cae621decb1560d6cb1e4d95a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agotbm_drm_helper: fix Svace UNCHECKED_FUNC_RES defect 00/132400/2
YoungJun Cho [Mon, 5 Jun 2017 01:40:42 +0000 (10:40 +0900)]
tbm_drm_helper: fix Svace UNCHECKED_FUNC_RES defect

This patch fixies Svace UNCHECKED_FUNC_RES defect.

Change-Id: Ie0e3b8a15ed8d0669a108b9c4fb156a8c233d2d1
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agopackage version up to 2.0.21 42/132142/1 accepted/tizen/3.0/common/20170605.124033 accepted/tizen/3.0/ivi/20170605.015046 accepted/tizen/3.0/mobile/20170605.015034 accepted/tizen/3.0/tv/20170605.015038 accepted/tizen/3.0/wearable/20170605.015042 accepted/tizen/unified/20170605.150601 submit/tizen/20170531.095544 submit/tizen_3.0/20170602.003734
SooChan Lim [Thu, 1 Jun 2017 08:01:09 +0000 (17:01 +0900)]
package version up to 2.0.21

Change-Id: Icb789457fc3d95b343f69b2e8cb22c08c6d4345d

7 years agotbm_bufmgr: correct import_fd trace log submit/tizen_3.0/20170531.232406
Changyeon Lee [Mon, 22 May 2017 09:28:30 +0000 (18:28 +0900)]
tbm_bufmgr: correct import_fd trace log

Change-Id: I93cc58dd42c9956c512cf2f849762c2444c39e99

7 years agotbm_surface_queue: use DELINIT macro when pop node of queue
Changyeon Lee [Thu, 18 May 2017 10:43:39 +0000 (19:43 +0900)]
tbm_surface_queue: use DELINIT macro when pop node of queue

Change-Id: I27eeed2a7ee6661cba65ddba8d658e32e2c55fa5

7 years agoignore chown & chmod errors 76/131576/1
Boram Park [Tue, 30 May 2017 05:31:43 +0000 (14:31 +0900)]
ignore chown & chmod errors

Change-Id: I7eca721fdd7129973cb9d13e914b89ed43f0f531

7 years agofix tbm_surface_internal_set_debug_data()
YoungJun Cho [Fri, 26 May 2017 03:15:36 +0000 (12:15 +0900)]
fix tbm_surface_internal_set_debug_data()

This patch fixes tbm_surface_internal_set_debug_data() not to add again
after updating value.

Change-Id: Iba8527bfe9863ba08c86110b64578739840e4ea3
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agoadd tbm_bufmgr_debug_tbm_info_get
Roman Marchenko [Fri, 28 Apr 2017 09:48:01 +0000 (12:48 +0300)]
add tbm_bufmgr_debug_tbm_info_get

Change-Id: I57d3c6682705b620c3879cdbb95b42e17ffc5f48
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agopackage version up to 2.0.20 92/131292/1 accepted/tizen/3.0/common/20170530.103802 accepted/tizen/3.0/ivi/20170529.225824 accepted/tizen/3.0/mobile/20170529.225812 accepted/tizen/3.0/tv/20170529.225816 accepted/tizen/3.0/wearable/20170529.225820 submit/tizen_3.0/20170526.071727
Boram Park [Fri, 26 May 2017 07:16:53 +0000 (16:16 +0900)]
package version up to 2.0.20

Change-Id: I429fab6cc3c20331d589915d312d2da9b30f3fb2

7 years agoserver: skip chown if not a super user 54/131254/1
Boram Park [Fri, 26 May 2017 04:56:56 +0000 (13:56 +0900)]
server: skip chown if not a super user

If tdm_display_init is called by non super user, we don't need to
change the owner and group of a tdm socket file. And also changing
the owner of the tdm socket file which is created by non super user
is not allowed. So we just skip chown in this case.

Change-Id: I63aa086eabb8d55d33252711e59028d7d6e6a94b

7 years agopackage version up to 2.0.19 accepted/tizen/3.0/common/20170523.125959 accepted/tizen/3.0/ivi/20170523.020706 accepted/tizen/3.0/mobile/20170523.020629 accepted/tizen/3.0/tv/20170523.020658 accepted/tizen/3.0/wearable/20170523.020701 submit/tizen_3.0/20170522.152331
Boram Park [Mon, 22 May 2017 15:24:08 +0000 (00:24 +0900)]
package version up to 2.0.19

Change-Id: I29ff823d96a130c63313c97dc4d8042449df6ade

7 years agotbm_drm_helper: set permission and group to tbm-drm-auth socket when it is added 16/130516/2
Changyeon Lee [Mon, 22 May 2017 14:14:41 +0000 (23:14 +0900)]
tbm_drm_helper: set permission and group to tbm-drm-auth socket when it is added

Change-Id: I2baf207a54347e8175a829fc6b063e9ffa783114

7 years agopakcage version up to 2.0.18 02/128702/1 accepted/tizen/3.0/common/20170518.163335 accepted/tizen/3.0/common/20170518.163533 accepted/tizen/3.0/ivi/20170518.011042 accepted/tizen/3.0/ivi/20170518.011225 accepted/tizen/3.0/mobile/20170518.011007 accepted/tizen/3.0/mobile/20170518.011135 accepted/tizen/3.0/tv/20170518.011024 accepted/tizen/3.0/tv/20170518.011204 accepted/tizen/3.0/wearable/20170518.011033 accepted/tizen/3.0/wearable/20170518.011215 accepted/tizen/unified/20170517.125611 submit/tizen/20170517.050332 submit/tizen_3.0/20170511.054519 submit/tizen_3.0/20170516.043226 submit/tizen_3.0/20170517.031232 submit/tizen_3.0/20170518.082921 tizen_4.0.m1_release
Changyeon Lee [Thu, 11 May 2017 05:47:46 +0000 (14:47 +0900)]
pakcage version up to 2.0.18

Change-Id: Ic0bae51f13b4cc9a781b4682d6babcdf695b3563

7 years agotbm_surface_queue: added tbm_surface_queue_get_trace_surface_num 63/125663/6
Changyeon Lee [Tue, 18 Apr 2017 08:46:58 +0000 (17:46 +0900)]
tbm_surface_queue: added tbm_surface_queue_get_trace_surface_num

Change-Id: I281665a55f671b9e96d95b60d5977f0f0f10b2ee

7 years agopakcage version up to 2.0.17 accepted/tizen/3.0/common/20170508.153043 accepted/tizen/3.0/ivi/20170508.050236 accepted/tizen/3.0/mobile/20170508.050203 accepted/tizen/3.0/tv/20170508.050214 accepted/tizen/3.0/wearable/20170508.050226 accepted/tizen/unified/20170429.023633 submit/tizen/20170428.002735 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170428.002945 submit/tizen_3.0_common/20170508.091735
SooChan Lim [Fri, 28 Apr 2017 00:28:22 +0000 (09:28 +0900)]
pakcage version up to 2.0.17

Change-Id: If55b9f5bcc6f8e2989f890ce55e866aeb0cd8442

7 years agochange sscanf to strtol for getting fd 53/125453/1
Junkyeong Kim [Mon, 17 Apr 2017 08:42:07 +0000 (17:42 +0900)]
change sscanf to strtol for getting fd

Change-Id: I4e801b928c4960e66f868e374fc11ab93a55fbe8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agouse %license macro to copy the COPYING file. 19/120219/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170329.150952 accepted/tizen/3.0/ivi/20170329.021500 accepted/tizen/3.0/mobile/20170329.020902 accepted/tizen/3.0/tv/20170329.021104 accepted/tizen/3.0/wearable/20170329.021251 accepted/tizen/common/20170331.152621 accepted/tizen/ivi/20170329.034217 accepted/tizen/mobile/20170329.034057 accepted/tizen/tv/20170329.034127 accepted/tizen/unified/20170329.034241 accepted/tizen/wearable/20170329.034157 submit/tizen/20170328.072410 submit/tizen_3.0/20170328.074051
SooChan Lim [Wed, 22 Mar 2017 06:34:16 +0000 (15:34 +0900)]
use %license macro to copy the COPYING file.

Change-Id: I64c2932a780a8ad1b401ce5700bbb18862502a82

7 years agouse TBM_LOG_E at error case in tbm_surface_queue.c 75/118775/1
SooChan Lim [Tue, 14 Mar 2017 04:42:50 +0000 (13:42 +0900)]
use TBM_LOG_E at error case in tbm_surface_queue.c

Change-Id: I00bf44b1719b3049f3550ef574f6c23178cd4ad8

7 years ago use TBM_LOG_E at error case in tbm_surface_internal.c 74/118774/1
SooChan Lim [Tue, 14 Mar 2017 04:21:10 +0000 (13:21 +0900)]
 use TBM_LOG_E at error case in tbm_surface_internal.c

Change-Id: I8a99759e345e9544018ed9dcc9c1eea1440bf653

7 years agouse TBM_LOG_E at error case in tbm_bufmgr_backend.c 73/118773/1
SooChan Lim [Tue, 14 Mar 2017 04:06:22 +0000 (13:06 +0900)]
use TBM_LOG_E at error case in tbm_bufmgr_backend.c

Change-Id: I6c3ce49a6c9cbaa7a84057815257fdaa8a58cc23

7 years agouse TBM_LOG_E at error case at tbm_bufmgr.c 72/118772/1
SooChan Lim [Tue, 14 Mar 2017 04:02:35 +0000 (13:02 +0900)]
use TBM_LOG_E at error case at tbm_bufmgr.c

Print error log at the error case.

Change-Id: I6e5c2841d76c211bd80d1dca38fa63433a7147c1

7 years agopakcage version up to 2.0.16 accepted/tizen/3.0/common/20170307.113108 accepted/tizen/3.0/ivi/20170306.221327 accepted/tizen/3.0/mobile/20170306.221008 accepted/tizen/3.0/tv/20170306.221101 accepted/tizen/3.0/wearable/20170306.221134 accepted/tizen/common/20170306.165000 accepted/tizen/ivi/20170306.222500 accepted/tizen/mobile/20170306.222328 accepted/tizen/tv/20170306.222404 accepted/tizen/unified/20170309.034812 accepted/tizen/wearable/20170306.222433 submit/tizen/20170306.043923 submit/tizen_3.0/20170306.045223 submit/tizen_unified/20170308.100410
SooChan Lim [Mon, 6 Mar 2017 06:44:17 +0000 (15:44 +0900)]
pakcage version up to 2.0.16

Change-Id: If54162820bf19daa3a489d4cbe9d0df53670171d

7 years agotbm_surface_queue: added queue trace cb function 54/117354/1
Changyeon Lee [Sun, 5 Mar 2017 11:11:12 +0000 (20:11 +0900)]
tbm_surface_queue: added queue trace cb function

Change-Id: I4992ad8d77081903cc12652e1422bd6742366bb8

7 years agopakcage version up to 2.0.15 accepted/tizen/3.0/common/20170221.125343 accepted/tizen/3.0/common/20170222.125722 accepted/tizen/3.0/ivi/20170221.023427 accepted/tizen/3.0/ivi/20170222.081913 accepted/tizen/3.0/mobile/20170221.023028 accepted/tizen/3.0/mobile/20170222.081510 accepted/tizen/3.0/tv/20170221.023203 accepted/tizen/3.0/tv/20170222.081650 accepted/tizen/3.0/wearable/20170221.023251 accepted/tizen/3.0/wearable/20170222.081747 accepted/tizen/common/20170220.144516 accepted/tizen/ivi/20170220.224007 accepted/tizen/mobile/20170220.223435 accepted/tizen/tv/20170220.223507 accepted/tizen/wearable/20170220.223912 submit/tizen/20170220.112722 submit/tizen_3.0/20170220.112854 submit/tizen_3.0/20170221.074919
SooChan Lim [Mon, 20 Feb 2017 10:46:50 +0000 (19:46 +0900)]
pakcage version up to 2.0.15

Change-Id: I3d54b82e4827c7d56e1f0ae94ba6a0c2ce5146d8

7 years agosurface_queue: wrap mutex lock when check valid of surface_queue 91/115491/1
Changyeon Lee [Mon, 20 Feb 2017 07:16:46 +0000 (16:16 +0900)]
surface_queue: wrap mutex lock when check valid of surface_queue

Change-Id: I7e1d24596730562be3bd65927320bcd9963975eb

7 years agotbm_surface_queue: added can_dequeue callback 66/115466/1
Changyeon Lee [Sun, 19 Feb 2017 08:51:22 +0000 (17:51 +0900)]
tbm_surface_queue: added can_dequeue callback

Change-Id: I86697769ba184109c8628c7a9e5dff8dcc3a018f

7 years agotbm_surface_queue: added function tbm_surface_queue_notify_reset 08/115408/2
Changyeon Lee [Thu, 16 Feb 2017 12:08:21 +0000 (21:08 +0900)]
tbm_surface_queue: added function tbm_surface_queue_notify_reset

- e20 need to call only reset_cb of queue in reserved memory target.

Change-Id: If4237e796b37d8dc7f65abd6e894b5149143bef4

7 years agopakcage version up to 2.0.14 accepted/tizen/3.0/common/20170216.151517 accepted/tizen/3.0/ivi/20170216.022628 accepted/tizen/3.0/mobile/20170216.022425 accepted/tizen/3.0/tv/20170216.022541 accepted/tizen/3.0/wearable/20170216.022601 accepted/tizen/common/20170215.171100 accepted/tizen/ivi/20170216.094414 accepted/tizen/mobile/20170216.094333 accepted/tizen/tv/20170216.094345 accepted/tizen/wearable/20170216.094359 submit/tizen/20170215.104744 submit/tizen_3.0/20170215.104829
SooChan Lim [Wed, 15 Feb 2017 10:40:45 +0000 (19:40 +0900)]
pakcage version up to 2.0.14

Change-Id: I04d2070768d28d96782272dba4910c9d71943d34

7 years agotbm_surface_queue: Added some enum value for checking detail errors. 42/114842/1
joonbum.ko [Wed, 15 Feb 2017 08:14:31 +0000 (17:14 +0900)]
tbm_surface_queue: Added some enum value for checking detail errors.

 TBM_SURFACE_QUEUE_ERROR_ALREADY_EXIST -6
  - It will be returned from tbm_surface_queue_enqueue when tbm_surface is not sequential.
 TBM_SURFACE_QUEUE_ERROR_UNKNOWN_SURFACE -7
  - It will be returned from tbm_surface_queue_enqueue when tbm_surface is not exist in free or dirty queue.

Change-Id: I3b769ac1ab701613a291fb0fce66621da84ac87e
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
7 years agotbm_surface_internal_set_debug_data: adding check for existence of old data to avoid... 15/114515/2
Amit Agrawal [Mon, 13 Feb 2017 16:55:13 +0000 (22:25 +0530)]
tbm_surface_internal_set_debug_data: adding check for existence of old data to avoid crash

Change-Id: I3b18531d898d5cd756756c054db073bc581ec89e
Signed-off-by: Amit Agrawal <a.agrawal@samsung.com>
7 years agotbm_bufmgr_debug_show: increasing size of title and data to avoid memory overflow 10/114510/2
Amit Agrawal [Mon, 13 Feb 2017 14:03:37 +0000 (19:33 +0530)]
tbm_bufmgr_debug_show: increasing size of title and data to avoid memory overflow

Change-Id: I763f403155aa182140e914c2b6b8feb51493c42b
Signed-off-by: Amit Agrawal <a.agrawal@samsung.com>
7 years agoremove unreachable code 75/114375/3
Junkyeong Kim [Mon, 13 Feb 2017 06:59:54 +0000 (15:59 +0900)]
remove unreachable code

Change-Id: Ie52ecb557643e9739d938c503092ae2c4fe6f6cf
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoexecute mutex unlock before false return 73/114373/1
Junkyeong Kim [Mon, 13 Feb 2017 06:57:58 +0000 (15:57 +0900)]
execute mutex unlock before false return

Change-Id: I5016870d1d7e68799c100dff259eb2ae4f408961

7 years agodon't check path condition if queue_dump off 37/112537/1 accepted/tizen/3.0/common/20170202.151034 accepted/tizen/3.0/ivi/20170202.010931 accepted/tizen/3.0/mobile/20170202.010717 accepted/tizen/3.0/tv/20170202.010814 accepted/tizen/3.0/wearable/20170202.010904 accepted/tizen/common/20170201.172153 accepted/tizen/ivi/20170202.015726 accepted/tizen/mobile/20170202.015628 accepted/tizen/tv/20170202.015650 accepted/tizen/wearable/20170202.015706 submit/tizen/20170201.112445 submit/tizen_3.0/20170201.112518
Junkyeong Kim [Wed, 1 Feb 2017 09:29:11 +0000 (18:29 +0900)]
don't check path condition if queue_dump off

Change-Id: I425c8376c503285d89b6f113d2808b77648d0095
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopakcage version up to 2.0.13 accepted/tizen/3.0/common/20170118.131325 accepted/tizen/3.0/ivi/20170118.043624 accepted/tizen/3.0/mobile/20170118.043530 accepted/tizen/3.0/tv/20170118.043545 accepted/tizen/3.0/wearable/20170118.043603 accepted/tizen/common/20170117.175144 accepted/tizen/ivi/20170118.041516 accepted/tizen/mobile/20170118.041414 accepted/tizen/tv/20170118.041434 accepted/tizen/wearable/20170118.041452 submit/tizen/20170117.555555 submit/tizen_3.0/20170117.555555
SooChan Lim [Fri, 13 Jan 2017 04:30:04 +0000 (13:30 +0900)]
pakcage version up to 2.0.13

Change-Id: I7ba9cb857b99f13acba7bddb964d6a43cb110996

7 years agowrap surface mutex lock in tbm_surface_interal_is_valid 18/110118/2
Changyeon Lee [Fri, 13 Jan 2017 03:53:02 +0000 (12:53 +0900)]
wrap surface mutex lock in tbm_surface_interal_is_valid

Change-Id: I2c1d6c57b186419f54f7b63899e23c761da833c6

7 years agoobey the code rule 66/110066/3
SooChan Lim [Thu, 12 Jan 2017 22:57:11 +0000 (07:57 +0900)]
obey the code rule

Change-Id: Ibd0599add7ad8b984719f83d2b176ce73a0c6ea0
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
7 years agoadded warning log when tbm_bufmgr_init get valid fd 61/109961/7
Changyeon Lee [Thu, 12 Jan 2017 09:20:30 +0000 (18:20 +0900)]
added warning log when tbm_bufmgr_init get valid fd

Change-Id: I7115ea121221a70341781bd064effed32884d608

7 years agoadded fucntion for getting drm fd used by backend 59/109959/3
Changyeon Lee [Thu, 12 Jan 2017 09:13:29 +0000 (18:13 +0900)]
added fucntion for getting drm fd used by backend

Change-Id: I8aa01d67ad49597b99552e3cd6acee7675d89f86

7 years agoadded description in tbm_drm_helper header 58/109958/1
Changyeon Lee [Thu, 12 Jan 2017 09:11:45 +0000 (18:11 +0900)]
added description in tbm_drm_helper header

Change-Id: I2235b254e205b59b7fb85124267a3178e7a2fd32

7 years agopackage version up to 2.0.12 35/108535/2 accepted/tizen/3.0/common/20170109.195544 accepted/tizen/3.0/ivi/20170106.094740 accepted/tizen/3.0/mobile/20170106.094556 accepted/tizen/3.0/tv/20170106.094641 accepted/tizen/3.0/wearable/20170106.094711 accepted/tizen/common/20170110.155210 accepted/tizen/ivi/20170110.224710 accepted/tizen/mobile/20170110.224544 accepted/tizen/tv/20170110.224616 accepted/tizen/wearable/20170110.224644 submit/tizen/20170110.094105 submit/tizen_3.0/20170105.071718
Boram Park [Thu, 5 Jan 2017 04:02:04 +0000 (13:02 +0900)]
package version up to 2.0.12

Change-Id: If02ae9ecbcd230224035f448001851e7eaa0131d

7 years agofix memory leak in tbm_surface_internal_set_debug_data() 73/105873/5
Minsu Han [Tue, 20 Dec 2016 01:29:47 +0000 (10:29 +0900)]
fix memory leak in tbm_surface_internal_set_debug_data()
 - old_data->value is come from strdup(). so it should be free.

Change-Id: I130ac337bbbd00b7f4fa89886a5c392fc81180b8
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
7 years agoadded capture buffer api 31/106331/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.143214 accepted/tizen/3.0.m2/tv/20170104.143602 accepted/tizen/3.0.m2/wearable/20170104.143958 accepted/tizen/3.0/common/20161222.181429 accepted/tizen/3.0/ivi/20161222.093521 accepted/tizen/3.0/mobile/20161222.093437 accepted/tizen/3.0/tv/20161222.093449 accepted/tizen/3.0/wearable/20161222.093512 accepted/tizen/common/20161221.183438 accepted/tizen/ivi/20161222.020401 accepted/tizen/mobile/20161222.020348 accepted/tizen/tv/20161222.020258 accepted/tizen/wearable/20161222.020357 submit/tizen/20161221.104155 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0/20161221.104250
Changyeon Lee [Tue, 20 Dec 2016 07:23:30 +0000 (16:23 +0900)]
added capture buffer api

Change-Id: I43f6976b05a1e00099b4df0bcd2c6edb8966ce63

7 years agopakcage version up to 2.0.11 30/104430/1 accepted/tizen/3.0/common/20161214.074601 accepted/tizen/3.0/ivi/20161214.070642 accepted/tizen/3.0/mobile/20161214.070602 accepted/tizen/3.0/tv/20161214.070616 accepted/tizen/3.0/wearable/20161214.070626 accepted/tizen/common/20161214.160705 accepted/tizen/ivi/20161214.015552 accepted/tizen/mobile/20161214.015522 accepted/tizen/tv/20161214.015538 accepted/tizen/wearable/20161214.015543 submit/tizen/20161213.095619 submit/tizen_3.0/20161213.095729
SooChan Lim [Tue, 13 Dec 2016 09:05:08 +0000 (18:05 +0900)]
pakcage version up to 2.0.11

Change-Id: I10fb0b7ef988b9676de80681eb4944d47b245935

7 years agoDon't use surface mutex lock in internal function 73/103973/3
Changyeon Lee [Mon, 12 Dec 2016 03:38:40 +0000 (12:38 +0900)]
Don't use surface mutex lock in internal function

- process into deadlock when create tbm_surface and call tbm_bufmgr_debug_show

Change-Id: I05d9aa33d27c2e790d44e8365e45c30029bfd498

7 years agopakcage version up to 2.0.10 90/102190/1 accepted/tizen/3.0/common/20161206.125537 accepted/tizen/3.0/ivi/20161205.235247 accepted/tizen/3.0/mobile/20161205.235155 accepted/tizen/3.0/tv/20161205.235208 accepted/tizen/3.0/wearable/20161205.235232 accepted/tizen/common/20161206.131649 accepted/tizen/ivi/20161205.233615 accepted/tizen/mobile/20161205.233540 accepted/tizen/tv/20161205.233557 accepted/tizen/wearable/20161205.233607 submit/tizen/20161205.073554 submit/tizen_3.0/20161205.073948
SooChan Lim [Mon, 5 Dec 2016 07:19:26 +0000 (16:19 +0900)]
pakcage version up to 2.0.10

Change-Id: I383aa6034c602034ac608f13179af536898f92cb

7 years agoreturn 0 when surf_list is null. 74/100874/1
SooChan Lim [Tue, 29 Nov 2016 12:03:26 +0000 (21:03 +0900)]
return 0 when surf_list is null.

Change-Id: Ia3aafa38a33f534e2758842471c4a798d1991121

7 years agopackage version up to 2.0.9 82/100482/1 accepted/tizen/3.0/common/20161129.103252 accepted/tizen/3.0/ivi/20161129.002117 accepted/tizen/3.0/mobile/20161129.002011 accepted/tizen/3.0/tv/20161129.002031 accepted/tizen/3.0/wearable/20161129.002100 accepted/tizen/common/20161128.170824 accepted/tizen/ivi/20161129.001252 accepted/tizen/mobile/20161129.001209 accepted/tizen/tv/20161129.001222 accepted/tizen/wearable/20161129.001239 submit/tizen/20161128.110729 submit/tizen_3.0/20161128.111453
SooChan Lim [Mon, 28 Nov 2016 08:56:17 +0000 (17:56 +0900)]
package version up to 2.0.9

Change-Id: I479b8c4505804fa8829c5bd2823ac4546c7c92a3

7 years agouse LIST_FOR_EACH_ENTRY_SAFE at _notify_emit 22/99822/1
SooChan Lim [Thu, 24 Nov 2016 07:43:33 +0000 (16:43 +0900)]
use LIST_FOR_EACH_ENTRY_SAFE at _notify_emit

The item->cb is the outside function of the libtbm.
The tbm user may/can remove the item of the list,
so we have to use the LIST_FOR_EACH_ENTRY_SAFE.

Change-Id: Ib8ccbe0e1145f410001798a54535ee92d8dcc209

8 years agosurface_queue: unlock mutex lock of queue when call alloc cb 84/97484/3 accepted/tizen/3.0/common/20161116.143349 accepted/tizen/3.0/ivi/20161116.021608 accepted/tizen/3.0/mobile/20161116.021445 accepted/tizen/3.0/tv/20161116.021514 accepted/tizen/3.0/wearable/20161116.021542 accepted/tizen/common/20161116.134349 accepted/tizen/ivi/20161115.233843 accepted/tizen/mobile/20161115.233732 accepted/tizen/tv/20161115.233757 accepted/tizen/wearable/20161115.233814 submit/tizen/20161115.022149 submit/tizen_3.0/20161115.021406
Changyeon Lee [Mon, 14 Nov 2016 02:38:43 +0000 (11:38 +0900)]
surface_queue: unlock mutex lock of queue when call alloc cb

Change-Id: I4f4dd4e9eecd7898cb6f602144a017bcb68bdfb4

8 years agonull initialization 25/97125/1
SooChan Lim [Fri, 11 Nov 2016 07:56:06 +0000 (16:56 +0900)]
null initialization

LIST_FOR_EACH_ENTRY may use the uninitialized data.

Change-Id: I32efcdd051b71ee3d38c8a5d152066bd806284d5

8 years agotbm_bufmgr: clean up tbm_bufmgr_debug_***() functions 76/96876/2
YoungJun Cho [Thu, 10 Nov 2016 11:24:01 +0000 (20:24 +0900)]
tbm_bufmgr: clean up tbm_bufmgr_debug_***() functions

This patch cleans up tbm_bufmgr_debug_***() functions.

Change-Id: I0745dee5781acc066c4fc5f802157e9ec7f4141c
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
8 years agotbm_bufmgr: clean up tbm_bufmgr_***() functions 75/96875/2
YoungJun Cho [Thu, 10 Nov 2016 11:21:24 +0000 (20:21 +0900)]
tbm_bufmgr: clean up tbm_bufmgr_***() functions

This patch cleans up tbm_bufmgr_***() functions.

Change-Id: Id3d70acc960c3fc47d8ccba13a48c0acabb5845a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
8 years agotbm_bufmgr: clean up tbm_bo_***() functions 74/96874/2
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>
8 years agotbm_bufmgr: clean up tbm_bufmgr_init/deinit() 73/96873/2
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>
8 years agotbm_bufmgr: clean up load module codes 72/96872/2
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>
8 years agotbm_bufmgr: clean up internal functions 71/96871/2
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>
8 years agopackage version up to 2.0.8 31/97031/1 accepted/tizen/common/20161114.171004 accepted/tizen/ivi/20161114.005329 accepted/tizen/mobile/20161114.005211 accepted/tizen/tv/20161114.005233 accepted/tizen/wearable/20161114.005257 submit/tizen/20161111.053529 submit/tizen_3.0/20161111.054019
SooChan Lim [Fri, 11 Nov 2016 04:24:58 +0000 (13:24 +0900)]
package version up to 2.0.8

Change-Id: I20fe01c5050c6594230833410a8fc05058b2d6e3

8 years agoset the null initialization 16/97016/1
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

8 years agoremove the profile condition at spec file 89/96589/3
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

8 years agotbm_bufmgr_backend: clean up header 95/96395/2
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>
8 years agotbm_surface_queue: clean up tbm_surface_queue_can_dequeue / acquire 02/96302/1
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>
8 years agotbm_surface_queue: change return code in tbm_surface_queue_release() 01/96301/1
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>
8 years agotbm_surface_queue: move output variable setting point 00/96300/1
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>
8 years agotbm_surface_queue: clean up tbm_surface_queue_init / destroy 99/96299/1
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>
8 years agotbm_surface_queue: cast impl_data as actual tbm_queue_*** type 98/96298/1
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>
8 years agotbm_surface_queue: clean up LIST related codes 97/96297/1
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>
8 years agotbm_surface_queue: declare _tbm_surface_queue_***() as static function 96/96296/1
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>
8 years agopackage version up to 2.0.7 10/96110/1 accepted/tizen/3.0/common/20161114.081532 accepted/tizen/3.0/ivi/20161110.015759 accepted/tizen/3.0/mobile/20161110.015709 accepted/tizen/3.0/tv/20161110.015719 accepted/tizen/3.0/wearable/20161110.015742 accepted/tizen/common/20161108.131642 accepted/tizen/ivi/20161109.002122 accepted/tizen/mobile/20161109.002029 accepted/tizen/tv/20161109.002039 accepted/tizen/wearable/20161109.002100 submit/tizen/20161108.022033 submit/tizen_3.0/20161108.021936 submit/tizen_3.0_common/20161110.084657
SooChan Lim [Tue, 8 Nov 2016 01:45:56 +0000 (10:45 +0900)]
package version up to 2.0.7

Change-Id: I110b60aef479b4fbc88243474eef66d18cff3c78

8 years agoapply the coding rule 78/95878/2
SooChan Lim [Mon, 7 Nov 2016 04:35:56 +0000 (13:35 +0900)]
apply the coding rule

Change-Id: I6128af6c8a35254ea5e0543e126d02b6a5fabdc9

8 years agotbm_surface_internal: clean up dump buffer functions 67/95367/2
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>
8 years agotbm_bufmgr, tbm_surface_internal: clean up LIST relevant codes 49/95249/1
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>
8 years agotbm_surface_internal: clean up tbm_surface_internal_get_info() 48/95248/1
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>
8 years agotbm_surface_internal: fix header descriptions 47/95247/1
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>
8 years agotbm_surface_internal: change tbm_surface_internal_get_size() return type 46/95246/1
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>
8 years agotbm_surface_internal: clean up tbm_surface_internal_query_supported_formats() 45/95245/1
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>
8 years agotbm_surface_internal: clean up tbm_surface_internal_create_with_bos() 44/95244/1
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>
8 years agotbm_surface_internal: clean up tbm_surface_internal_create_with_flags() 12/94812/2
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>