platform/core/uifw/libtdm.git
8 years agoapply tizen coding style 19/82819/1
Boram Park [Mon, 8 Aug 2016 01:59:34 +0000 (10:59 +0900)]
apply tizen coding style

Change-Id: I67736c86ad6b2e11feeaa697d7b4dd721794fcc3

8 years agofix syntax error 13/82813/1
Boram Park [Mon, 8 Aug 2016 01:34:31 +0000 (10:34 +0900)]
fix syntax error

Change-Id: I7050f9426ee4cfd62d3affae21416e2021791b82

8 years agoimpl for using dump path 10/82810/1
Boram Park [Fri, 5 Aug 2016 09:33:08 +0000 (18:33 +0900)]
impl for using dump path

Change-Id: I8b0f5a5812b79330fe7c6f0a6f861f5c95dc333f

8 years agoPackaging: update version to 1.3.1 44/82544/1 accepted/tizen/common/20160804.174444 accepted/tizen/ivi/20160804.081443 accepted/tizen/mobile/20160804.081526 accepted/tizen/tv/20160804.081400 accepted/tizen/wearable/20160804.081218 submit/tizen/20160803.115336
Gwanglim Lee [Thu, 4 Aug 2016 01:44:51 +0000 (10:44 +0900)]
Packaging: update version to 1.3.1

Change-Id: I891bcb5318ea9c3e8cfc59f7cdaba38f3aa6d41d

8 years agorename tdm-dbg to tdm-monitor 01/81501/1
Boram Park [Tue, 26 Jul 2016 12:41:14 +0000 (21:41 +0900)]
rename tdm-dbg to tdm-monitor

Change-Id: I72ab616f6b0c6365708160633eedd9ab74085d98

8 years agoUse the user done handler instead of the buffer release handler 00/81500/1
Boram Park [Tue, 26 Jul 2016 11:01:00 +0000 (20:01 +0900)]
Use the user done handler instead of the buffer release handler

Change-Id: Id44228ee21e648fddc0249f32c80f8178ac4ac94

8 years agoadd tdm_pp_set_done_handler and tdm_capture_set_done_handler 99/81499/1
Boram Park [Tue, 26 Jul 2016 09:31:07 +0000 (18:31 +0900)]
add tdm_pp_set_done_handler and tdm_capture_set_done_handler

Change-Id: Id6231d28be18540fe82fd1e6f8d22795539ac4b7

8 years agounlock mutex before unref a buffer 72/81372/1
Boram Park [Mon, 25 Jul 2016 23:53:46 +0000 (08:53 +0900)]
unlock mutex before unref a buffer

The frontend user release handler can be called when tdm_buffer_unref_backend
is called. We have to unlock/lock the mutex before/after calling
tdm_buffer_unref_backend function.

Change-Id: Idd97a9286c9d7083d5a77ec23595686a81b61d8e

8 years agoremove release handler when commit failed 71/81371/2
Boram Park [Mon, 25 Jul 2016 23:38:26 +0000 (08:38 +0900)]
remove release handler when commit failed

This is the temporary solution(kismo.kim@samsung.com) to avoid the release
handler is called when commit failed. It looks we need something like the
pp_done handler to let the display server know if the pp operation is done
successfully or not.

Change-Id: I1513a99c89102431fd3b74b656d1f1243528d28a

8 years agocorrect the format information log 33/81133/1
Boram Park [Fri, 22 Jul 2016 08:13:00 +0000 (17:13 +0900)]
correct the format information log

Change-Id: I4331cd771a6b05cb497cab5029e54633dee68153

8 years agocorrect the wrong behavior of tdm-test-server 90/80990/3
Boram Park [Thu, 21 Jul 2016 01:30:23 +0000 (10:30 +0900)]
correct the wrong behavior of tdm-test-server

Change-Id: I5cba2ec5dbb8e8d42fda82f9d5a7b17b04ed49dd

8 years agoadd the buffer clear helper function 89/80989/1
Boram Park [Thu, 21 Jul 2016 05:39:08 +0000 (14:39 +0900)]
add the buffer clear helper function

Change-Id: Id9b20d38b3d1558d0a59db30b7ec302775f2f943

8 years agoenhance the display information 88/80988/1
Boram Park [Wed, 20 Jul 2016 04:43:45 +0000 (13:43 +0900)]
enhance the display information

Change-Id: Ie6a52cda9734137d9a76b4f0f1605869e108d454

8 years agocode clean-up (macro, structure) 87/80987/1
Boram Park [Wed, 20 Jul 2016 04:41:33 +0000 (13:41 +0900)]
code clean-up (macro, structure)

Change-Id: I88124bbca87fe5206c6da5e2faa2adfaa949fb44

8 years agoset index to output, layer objects 86/80986/1
Boram Park [Wed, 20 Jul 2016 04:38:57 +0000 (13:38 +0900)]
set index to output, layer objects

Change-Id: Ic430c677b0749d4cfca762f285d0e9401cf69a90

8 years agoset 750 permission to tdm-dbg and tdm-test-server 85/80985/1
Boram Park [Wed, 20 Jul 2016 02:15:14 +0000 (11:15 +0900)]
set 750 permission to tdm-dbg and tdm-test-server

Change-Id: I461bacf02d9f6353d5cd9866c8f40f1429308554

8 years agoSet SmackProcessLabel to System 67/80867/1 accepted/tizen/common/20160721.175933 accepted/tizen/ivi/20160721.090812 accepted/tizen/mobile/20160721.090540 accepted/tizen/tv/20160721.091341 accepted/tizen/wearable/20160721.091110 submit/tizen/20160721.003054
Yunjin Lee [Wed, 20 Jul 2016 11:52:03 +0000 (20:52 +0900)]
Set SmackProcessLabel to System

Change-Id: Iae2e0a397bf1c333b101dc399e60f0a6be1548cb
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoadd the libtdm dependency 82/80382/2 accepted/tizen/common/20160719.171815 accepted/tizen/ivi/20160718.104055 accepted/tizen/mobile/20160718.104041 accepted/tizen/tv/20160718.104049 accepted/tizen/wearable/20160718.104025 submit/tizen/20160718.014159
Boram Park [Mon, 18 Jul 2016 00:35:49 +0000 (09:35 +0900)]
add the libtdm dependency

Change-Id: I3b4846c913de5334a8d300b965ac3a0c0ebdaf1f

8 years agosupport TDM_DEBUG_PATH 41/79741/2
Boram Park [Tue, 12 Jul 2016 07:22:40 +0000 (16:22 +0900)]
support TDM_DEBUG_PATH

Change-Id: Ibc25d75ad797d1815987a2acceccb9b15d7723f3

8 years agofix seg.fault of tdm-test-server 12/79612/2
Boram Park [Mon, 11 Jul 2016 07:25:24 +0000 (16:25 +0900)]
fix seg.fault of tdm-test-server

Change-Id: I09aa654347fd72b46e264a68b4e935f30b63f8af

8 years agofix the too many logs when enabled 11/79611/2
Boram Park [Mon, 11 Jul 2016 07:24:56 +0000 (16:24 +0900)]
fix the too many logs when enabled

Change-Id: I155b5fc09cc38d0786b5e66867b7565de51cf53e

8 years agocorrect usage of rand_r() 33/79333/1
Boram Park [Mon, 11 Jul 2016 02:21:00 +0000 (11:21 +0900)]
correct usage of rand_r()

Change-Id: Iebaf7cdaafcedd6b08e1bf34f6c2495393b83f0f

8 years agoadd tdm-dbg and td-test-server for debugging 96/79296/1 accepted/tizen/common/20160711.170111 accepted/tizen/ivi/20160711.031111 accepted/tizen/mobile/20160711.030644 accepted/tizen/tv/20160711.030613 accepted/tizen/wearable/20160711.030617 submit/tizen/20160711.003538
Boram Park [Mon, 4 Jul 2016 04:35:19 +0000 (13:35 +0900)]
add tdm-dbg and td-test-server for debugging

Change-Id: I381c9c517256df37ec2238e42815fd3b8618caa4

8 years agofix wrong log 95/79295/1
Boram Park [Tue, 5 Jul 2016 08:25:37 +0000 (17:25 +0900)]
fix wrong log

Change-Id: I9e724f9b5cb7a1c7b9fa48eb7d67b742181cd6d6

8 years agoremove non-effective code. 94/79294/1
Boram Park [Mon, 11 Jul 2016 00:22:16 +0000 (09:22 +0900)]
remove non-effective code.

no need lock/unlock after tdm_thread_deinit

Change-Id: I032304d085e7153ff43489b74bb9e2567ccd8abb

8 years agoUse timer to call the output change callback of the sub-thread. 32/79232/3
Boram Park [Sat, 9 Jul 2016 08:58:04 +0000 (17:58 +0900)]
Use timer to call the output change callback of the sub-thread.

The output change callback of tdm_server and tdm_vblank was called
in the main thread. And it made the multi thread issue. If we use
the timer, we can call the sub-thread's output change callback in
sub-thread.

And, after tdm_event_loop_deinit, we don't worry about thread things
because it's finalized.

Change-Id: I69013b302673551b887384325b14c94e3a53646c

8 years agocorrect the wrong list operation 31/79231/1
Boram Park [Fri, 8 Jul 2016 08:27:59 +0000 (17:27 +0900)]
correct the wrong list operation

Change-Id: If257e99a78646298593fb03c53002d67abf293bd

8 years agosupport dlog for debugging 78/78378/2 accepted/tizen/common/20160706.141826 accepted/tizen/ivi/20160706.013830 accepted/tizen/mobile/20160706.013750 accepted/tizen/tv/20160706.013802 accepted/tizen/wearable/20160706.013816 submit/tizen/20160705.085639
Boram Park [Tue, 5 Jul 2016 06:05:06 +0000 (15:05 +0900)]
support dlog for debugging

Change-Id: Ibbc0e66c4282b14f39f426091b7f756e52fceb6d

8 years agosupport dlog for debugging 31/78331/3
Boram Park [Tue, 5 Jul 2016 06:05:06 +0000 (15:05 +0900)]
support dlog for debugging

Change-Id: If8ebfbbe9158ca8313f9f32351762e3e3a4d4b5a

8 years agofix syntax error 99/77699/1
Boram Park [Thu, 30 Jun 2016 13:14:08 +0000 (22:14 +0900)]
fix syntax error

Change-Id: I2f32e699218c0bf28089fd6c9ab33d80f21e5f9a

8 years agoversion up to 1.3.0 79/77679/2 1.3.0 accepted/tizen/common/20160703.130717 accepted/tizen/ivi/20160701.034046 accepted/tizen/mobile/20160701.034219 accepted/tizen/tv/20160701.034000 accepted/tizen/wearable/20160701.034055 submit/tizen/20160630.124435 submit/tizen_common/20160701.180000
Boram Park [Thu, 30 Jun 2016 12:35:16 +0000 (21:35 +0900)]
version up to 1.3.0

Change-Id: I25b313e3692f2a3137fb6a2c38da48062089a582

8 years agoenhance doxgen document 78/77678/2
Boram Park [Thu, 30 Jun 2016 12:33:01 +0000 (21:33 +0900)]
enhance doxgen document

Change-Id: Ie3e787772461d0c7922627176b8be5b9dc394305

8 years agosupport the tdm dynamic fps and the dpms on/off event 57/77657/1
Boram Park [Mon, 27 Jun 2016 04:37:44 +0000 (13:37 +0900)]
support the tdm dynamic fps and the dpms on/off event

Change-Id: I3fdc26887c19b5ddc66a5a4c1d7eca64cfa9f013

8 years agoadd tdm_common.h to share enumeration and structure with client 56/77656/1
Boram Park [Mon, 27 Jun 2016 04:35:24 +0000 (13:35 +0900)]
add tdm_common.h to share enumeration and structure with client

Change-Id: I6c64905cb8363cc99f3742fe40934872d5d2cb33

8 years agocorrect the retry condition of poll() 55/77655/1
Boram Park [Wed, 22 Jun 2016 04:15:39 +0000 (13:15 +0900)]
correct the retry condition of poll()

Change-Id: I7b2cdd80ccc903811ed791dead112932b887469b

8 years agoadd tdm_layer_get_buffer_flags 65/76865/2 accepted/tizen/common/20160701.100341 accepted/tizen/ivi/20160630.004051 accepted/tizen/mobile/20160630.004128 accepted/tizen/tv/20160630.004034 accepted/tizen/wearable/20160630.004114 submit/tizen/20160629.121628
SooChan Lim [Mon, 27 Jun 2016 12:53:28 +0000 (21:53 +0900)]
add tdm_layer_get_buffer_flags

There can be the layer which can set and display the specific buffer
with the specific flags. Therefore, tdm user has to know the buffer flags
to create the buffer which can be set to the specified layer.

Change-Id: I1df658f4cbb4ca6019a7df1fe72c77db3d6db401

8 years agoremove the pthread-stub dependency 27/76727/1 accepted/tizen/ivi/20160629.015256 accepted/tizen/mobile/20160629.015221 accepted/tizen/tv/20160629.015243 accepted/tizen/wearable/20160629.015234 submit/tizen/20160627.015631
SooChan Lim [Mon, 27 Jun 2016 05:24:38 +0000 (14:24 +0900)]
remove the pthread-stub dependency

Change-Id: I78c92c2f6bef32161be2a1d0815c6774a7945905

8 years agofix some syntax errors 58/76058/1 accepted/tizen/common/20160627.191317 submit/tizen/20160623.021949
Junkyeong Kim [Wed, 22 Jun 2016 12:44:19 +0000 (21:44 +0900)]
fix some syntax errors
initialize variables before using
erase unreacherble codes

Change-Id: I5ea6f89be8aeea2025950f0713fcc60dd43b1f7f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoAllow output name "primary" in tdm_client_wait_vblank 73/74773/3 accepted/tizen/common/20160620.162430 accepted/tizen/ivi/20160617.082231 accepted/tizen/mobile/20160617.081648 accepted/tizen/tv/20160617.081743 accepted/tizen/wearable/20160617.081836 submit/tizen/20160616.063425
Changyeon Lee [Wed, 15 Jun 2016 10:51:09 +0000 (19:51 +0900)]
Allow output name "primary" in tdm_client_wait_vblank

Change-Id: I39b4e5fa789ccda07a7b1156ecc11482237818cf

8 years agofix deadlock 04/74804/1
Roman Marchenko [Wed, 15 Jun 2016 14:15:47 +0000 (17:15 +0300)]
fix deadlock

Change-Id: I426b1067f729db754611824642b13e9ced8a7a9b
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agofix syntax error 34/74434/1 accepted/tizen/common/20160615.193218 accepted/tizen/ivi/20160616.001420 accepted/tizen/mobile/20160616.001351 accepted/tizen/tv/20160616.001411 accepted/tizen/wearable/20160616.001357 submit/tizen/20160614.090320 submit/tizen/20160615.002933
Boram Park [Tue, 14 Jun 2016 03:43:29 +0000 (12:43 +0900)]
fix syntax error

Change-Id: I00cb5908d5786e9013301c6e1f01eee47d26605d

8 years agopp: allow twice attach 58/73758/1 accepted/tizen/common/20160610.182409 submit/tizen/20160610.022708
Boram Park [Thu, 9 Jun 2016 10:26:02 +0000 (19:26 +0900)]
pp: allow twice attach

Change-Id: I4f9d754f8e83f0c45604a821e06d1b52344b0713

8 years agofix syntax error 45/73745/2
Boram Park [Thu, 9 Jun 2016 09:58:46 +0000 (18:58 +0900)]
fix syntax error

Change-Id: I4fd24640ca850fef42a7f804282e2a885e695db3

8 years agoadd tdm_helper_capture_output API 80/72480/2
Junkyeong Kim [Wed, 1 Jun 2016 07:20:27 +0000 (16:20 +0900)]
add tdm_helper_capture_output API

It makes composite image with output's all layers showing buffer.
After composing, call tdm_helper_capture_handler function.

Change-Id: I1ea7b939d77aeaf4f6d2c5347a3443ddac2b6d1d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoadd description for tdm protocol 53/73553/1
Boram Park [Wed, 8 Jun 2016 12:20:57 +0000 (21:20 +0900)]
add description for tdm protocol

Change-Id: Idbb753a959e4237676806f43a701e4366843fa59

8 years agoenhance log 52/73552/1
Boram Park [Tue, 7 Jun 2016 13:47:59 +0000 (22:47 +0900)]
enhance log

Change-Id: I0a8286733d527ba4c41f9b4301f701041ab751c5

8 years agoerase tdm log macros semicolon 77/72477/1 accepted/tizen/common/20160606.141629 submit/tizen/20160603.013854
Junkyeong Kim [Wed, 1 Jun 2016 07:14:55 +0000 (16:14 +0900)]
erase tdm log macros semicolon

Change-Id: Ic012277818e726da3bc9f3e92758e59a038d7c7c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agomove a registration of commit_cb before calling output_commit 20/71920/2
Roman Marchenko [Fri, 27 May 2016 13:12:07 +0000 (16:12 +0300)]
move a registration of commit_cb before calling output_commit

    If TDM backend works without events (for example fbdev backend)
    then it should be able to call  the commit handler function right after
    doing commit.

Change-Id: I981a02bf257fda116861554db47e0bdf822bfa1f
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agoapply tizen coding rule 66/71966/1
Boram Park [Mon, 30 May 2016 02:04:45 +0000 (11:04 +0900)]
apply tizen coding rule

Change-Id: I4557e1e0aa1a8d1ed026444f0caf480a66bb9c28

8 years agoreuse ordered output 13/71613/5
Junkyeong Kim [Thu, 26 May 2016 07:21:02 +0000 (16:21 +0900)]
reuse ordered output

Change-Id: I5bba0bf6768192a5554c642309ff3b79f77707b5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoerase unused variable 34/71634/2
Junkyeong Kim [Thu, 26 May 2016 08:45:07 +0000 (17:45 +0900)]
erase unused variable

Change-Id: I03dee48c79d49b07478dfa0501427a97e1df9360
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoupdate output when udev event occured 37/70737/2
Junkyeong Kim [Fri, 20 May 2016 08:43:25 +0000 (17:43 +0900)]
update output when udev event occured

Change-Id: I7a85d3d9ad52f9914d68a66cf4b5537b349db7dc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoadd null checking 06/70506/1 accepted/tizen/common/20160520.170941 accepted/tizen/ivi/20160520.003003 accepted/tizen/mobile/20160520.003332 accepted/tizen/tv/20160520.002907 accepted/tizen/wearable/20160520.003013 submit/tizen/20160519.083944
Junkyeong Kim [Thu, 19 May 2016 08:32:43 +0000 (17:32 +0900)]
add null checking

Change-Id: I60beab517611977ca946ee6d469b11be710e32c6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoadd doxyzen comment for zpos 98/69898/1
SooChan Lim [Tue, 17 May 2016 08:32:04 +0000 (17:32 +0900)]
add doxyzen comment for zpos

Change-Id: I88c4e90791275236a3169a66a767de5bd837e359

8 years agoAdd tdm_layer_get_displaying_buffer function 49/69849/2 accepted/tizen/common/20160518.124829 accepted/tizen/ivi/20160518.004037 accepted/tizen/mobile/20160518.004113 accepted/tizen/tv/20160518.004107 accepted/tizen/wearable/20160518.004047 submit/tizen/20160517.082526
Changyeon Lee [Tue, 17 May 2016 05:26:57 +0000 (14:26 +0900)]
Add tdm_layer_get_displaying_buffer function

Change-Id: Icf5337ce6ead12ae534506a4d150039568e59a73

8 years agochange dump API from tdm_helper to tbm_surface_internal 71/69371/3 accepted/tizen/common/20160513.123655 accepted/tizen/ivi/20160513.082324 accepted/tizen/mobile/20160513.082305 accepted/tizen/tv/20160513.082318 accepted/tizen/wearable/20160513.082300 submit/tizen/20160513.045353
Junkyeong Kim [Fri, 13 May 2016 02:31:32 +0000 (11:31 +0900)]
change dump API from tdm_helper to tbm_surface_internal

Change-Id: I860f6addb06a5ce0863dc64ec76473582caad0b3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agodoxygen update 09/69009/1
Boram Park [Wed, 11 May 2016 05:39:19 +0000 (14:39 +0900)]
doxygen update

Change-Id: I75908f664daa551d39b5a33d1c938aaefba03a4a

8 years agouse the fixed version for doxygen 08/69008/1
Boram Park [Wed, 11 May 2016 05:30:11 +0000 (14:30 +0900)]
use the fixed version for doxygen

Change-Id: I213ffd20f69bace853074a829536564c3448515e

8 years agoversion up to 1.2.0 83/68983/1 1.2.0 accepted/tizen/common/20160511.142108 accepted/tizen/ivi/20160512.050808 accepted/tizen/mobile/20160512.050757 accepted/tizen/tv/20160512.050717 accepted/tizen/wearable/20160512.050740 submit/tizen/20160511.021945
Boram Park [Wed, 11 May 2016 02:02:27 +0000 (11:02 +0900)]
version up to 1.2.0

Change-Id: I23b875888896f4b3d197f37a425e50823bc0c4d3

8 years agodeprecate TDM_BACKEND_ABI_VERSION 82/68982/2
Boram Park [Wed, 11 May 2016 01:45:09 +0000 (10:45 +0900)]
deprecate TDM_BACKEND_ABI_VERSION

   Use TDM_BACKEND_SET_ABI_VERSION instead of this.

Change-Id: Ice6b35a22eac2bf23ef18854abe41033091bac4f

8 years agoget version in configuration time 81/68981/1
Boram Park [Wed, 11 May 2016 01:28:20 +0000 (10:28 +0900)]
get version in configuration time

Change-Id: Ib3e2fbe010bc1f80109257b4fcee81c99032d7aa

8 years agoadd max_attach_count variable 80/68980/1
Boram Park [Tue, 10 May 2016 23:41:28 +0000 (08:41 +0900)]
add max_attach_count variable

Change-Id: Ib5f6801a489232a1ed45c83809fefa527a601a51

8 years agoadd tdm_display_check_module_abi function 79/68979/1
Boram Park [Wed, 11 May 2016 00:15:38 +0000 (09:15 +0900)]
add tdm_display_check_module_abi function

Change-Id: I6d60a6895978f57d94a8238755c8377a3373749f

8 years agoadd LIST_LENGTH macro 78/68978/1
Boram Park [Wed, 11 May 2016 00:34:53 +0000 (09:34 +0900)]
add LIST_LENGTH macro

Change-Id: I5a64f1416aadde167a51a1ed5bcd3adeae2be12d

8 years agofix coding style 77/68977/1
Boram Park [Tue, 10 May 2016 23:50:53 +0000 (08:50 +0900)]
fix coding style

Change-Id: Ieea4beecaa9e22bfbebb742390568d35301e090a

8 years agochange input param's type 36/68936/2
Boram Park [Tue, 10 May 2016 02:59:50 +0000 (11:59 +0900)]
change input param's type

Change-Id: I3044cf96eabe8f2e5d20af38aa3e8aecee088ff0

8 years agodoxygen update 35/68935/2
Boram Park [Tue, 10 May 2016 02:58:39 +0000 (11:58 +0900)]
doxygen update

Change-Id: I285ea555ae3dc43fd007f926001b9d205c12b751

8 years agoFix double free 35/68335/1 accepted/tizen/common/20160504.130219 accepted/tizen/ivi/20160504.012513 accepted/tizen/mobile/20160504.012409 accepted/tizen/tv/20160504.012424 accepted/tizen/wearable/20160504.012455 submit/tizen/20160503.113831
Changyeon Lee [Tue, 3 May 2016 11:47:47 +0000 (20:47 +0900)]
Fix double free

Change-Id: I0a1987af5eb0679187fb2bc398ca93bed95453e5

8 years agoFix null check after deref 34/68334/1
Changyeon Lee [Tue, 3 May 2016 11:32:58 +0000 (20:32 +0900)]
Fix null check after deref

Change-Id: I0ebe88f8bde7d6feaaa538f2b8fb78f36406b4e2

8 years agousing SW timer for TDM vblank when DPMS off 72/67872/2 accepted/tizen/common/20160429.170525 accepted/tizen/ivi/20160502.011552 accepted/tizen/mobile/20160502.011457 accepted/tizen/tv/20160502.011516 accepted/tizen/wearable/20160502.011534 submit/tizen/20160429.034949
Boram Park [Fri, 29 Apr 2016 02:25:42 +0000 (11:25 +0900)]
using SW timer for TDM vblank when DPMS off

Change-Id: I03159500bbe8e0b6a65b1cd82bf4ef6f1a015c68

8 years agoadd wl_tdm_client interface 71/67871/1
Boram Park [Thu, 28 Apr 2016 03:40:02 +0000 (12:40 +0900)]
add wl_tdm_client interface

   To manage client's resources in tdm server side.

Change-Id: I48cfa8f819f9447de188497892371be6a4113f02

8 years agoimplement for sync fo tdm_client_wait_vblank 87/67587/1
Boram Park [Wed, 27 Apr 2016 09:45:51 +0000 (18:45 +0900)]
implement for sync fo tdm_client_wait_vblank

Change-Id: I6dd440473571e8cf717a3c74b784a036ee009da4

8 years agoadd doxygen document 03/67303/2
Boram Park [Tue, 26 Apr 2016 07:50:12 +0000 (16:50 +0900)]
add doxygen document

Change-Id: I41cdc17d84206dc473369f7f9145b5cb35f82ead

8 years agoapply wayland coding style 02/67302/2
Boram Park [Tue, 26 Apr 2016 07:30:23 +0000 (16:30 +0900)]
apply wayland coding style

Change-Id: I127ffebe17c53ce82c4bd3580f6d059081831ac1

8 years agoadd sw_timer param 01/67301/2
Boram Park [Tue, 26 Apr 2016 07:29:35 +0000 (16:29 +0900)]
add sw_timer param

    Need to implement more

Change-Id: I44ef299564d09e3c8788a04dc191518f7ab67436

8 years agorename test tools and enhance logs 19/67219/2 accepted/tizen/common/20160427.053804 accepted/tizen/ivi/20160426.234112 accepted/tizen/mobile/20160426.234038 accepted/tizen/tv/20160426.234102 accepted/tizen/wearable/20160426.234058 submit/tizen/20160426.061111
Boram Park [Tue, 26 Apr 2016 02:08:52 +0000 (11:08 +0900)]
rename test tools and enhance logs

Change-Id: I0ef5b4639c3a555ddcd0217f78d7ec3ba47a515a

8 years agochanging test log 94/67194/3
Boram Park [Mon, 25 Apr 2016 14:30:58 +0000 (23:30 +0900)]
changing test log

Change-Id: Ia09d2f5af48af1e1eb6351f5acbed8e202ebf3ea

8 years agodon't call tdm_event_loop_flush in a main thread. 92/67192/3
Boram Park [Mon, 25 Apr 2016 14:05:49 +0000 (23:05 +0900)]
don't call tdm_event_loop_flush in a main thread.

   All requests and events of a wayland display are handled
   in a TDM thread.

Change-Id: I9469304a631c45a5d71dfcd27c8cc8d78d7be253

8 years agoImplement deadlock checker. To enable this function, compile with TDM_CONFIG_MUTEX_TI... 02/67102/2
Andrii Sokolenko [Mon, 25 Apr 2016 07:45:16 +0000 (10:45 +0300)]
Implement deadlock checker. To enable this function, compile with TDM_CONFIG_MUTEX_TIMEOUT

Change-Id: I20e04366aaefa7dd1369a482028cb3c2b4e7c47f
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
8 years agoinit variable 62/67162/1 accepted/tizen/common/20160426.143000 accepted/tizen/ivi/20160425.231646 accepted/tizen/mobile/20160425.231459 accepted/tizen/tv/20160425.231625 accepted/tizen/wearable/20160425.231546 submit/tizen/20160425.065136
Boram Park [Mon, 25 Apr 2016 10:42:53 +0000 (19:42 +0900)]
init variable

Change-Id: I73691449738ad137cac39c6573afd2881ada2b6e

8 years agoset tdm output list's first element to main 53/67053/4
Junkyeong Kim [Mon, 25 Apr 2016 02:05:22 +0000 (11:05 +0900)]
set tdm output list's first element to main

Change-Id: I6208106cf1023c007a2b519258dc7907cad4b5b9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoadd TDM_LAYER_CAPABILITY_NO_CROP 60/67060/1
Boram Park [Mon, 25 Apr 2016 01:58:49 +0000 (10:58 +0900)]
add TDM_LAYER_CAPABILITY_NO_CROP

Change-Id: I78bbf9b71353426beb3aa69f675b0167be52fc97

8 years agoenhance log 85/66985/2
Boram Park [Fri, 22 Apr 2016 09:26:12 +0000 (18:26 +0900)]
enhance log

Change-Id: I05e236e01c32d5873192a9ff913484a574adfc1f

8 years agobackend can have no output_set_dpms 84/66984/2
Boram Park [Fri, 22 Apr 2016 09:25:27 +0000 (18:25 +0900)]
backend can have no output_set_dpms

Change-Id: Ifc34ff143f52182a1bd1e418b49d82458a4b2188

8 years agoenhance log 83/66983/2
Boram Park [Fri, 22 Apr 2016 05:36:41 +0000 (14:36 +0900)]
enhance log

Change-Id: I05970c643cebda9d9cc3313bf3b26ffeba95469e

8 years agocheck if input param is valid 15/66815/1
Boram Park [Thu, 21 Apr 2016 07:30:10 +0000 (16:30 +0900)]
check if input param is valid

Change-Id: Ic1cd413a0205c05226c9b955011e82ac5dbbaf2b

8 years agouse tdm_dump_enable variable to check if dump needed 14/66814/1
Boram Park [Thu, 21 Apr 2016 07:29:48 +0000 (16:29 +0900)]
use tdm_dump_enable variable to check if dump needed

Change-Id: I8287bc0eca5198ade708b26a585cd6c88bc2bd66

8 years agoremove unuseful error log 11/66811/1
Boram Park [Thu, 21 Apr 2016 07:20:32 +0000 (16:20 +0900)]
remove unuseful error log

Change-Id: Id215f5bf40d6f8b2563560f2683bc57b71062469

8 years agofix deadlock and enhance lock/unlock to protect the backend module's data 08/66808/2
Boram Park [Thu, 21 Apr 2016 06:43:47 +0000 (15:43 +0900)]
fix deadlock and enhance lock/unlock to protect the backend module's data

Change-Id: I4e057d3238779702af5e878be96ecb9c33573d10

8 years agoassertion if there is error or warning 07/66807/2
Boram Park [Thu, 21 Apr 2016 06:35:13 +0000 (15:35 +0900)]
assertion if there is error or warning

Change-Id: Ie2a0586b28fd54bf6712603b2c316c3845d23869

8 years agoprint log with color 06/66806/2
Boram Park [Thu, 21 Apr 2016 02:01:35 +0000 (11:01 +0900)]
print log with color

    red    - error
    yellow - warning
    green  - info
    white  - debug

Change-Id: I9861b058efefc40c5d04677d5c1f952c959ffe60

8 years agofix segfault when the vblank resource is gone 05/66805/2
Boram Park [Wed, 20 Apr 2016 09:52:46 +0000 (18:52 +0900)]
fix segfault when the vblank resource is gone

Change-Id: I4acfe93a46d85dcdcc4db81d79d78b8165b88a9e

8 years agomake dump at tdm_layer_set_buffer function 47/66547/7 accepted/tizen/common/20160421.161410 accepted/tizen/ivi/20160421.010410 accepted/tizen/mobile/20160421.010350 accepted/tizen/tv/20160421.010402 accepted/tizen/wearable/20160421.010413 submit/tizen/20160420.040930
Junkyeong Kim [Tue, 19 Apr 2016 10:46:28 +0000 (19:46 +0900)]
make dump at tdm_layer_set_buffer function
add tdm dump helper functions

Change-Id: I64f1d7018ede69256d45181774b91f5a27f7f341
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agofix syntax error 30/66530/1
Boram Park [Tue, 19 Apr 2016 09:45:32 +0000 (18:45 +0900)]
fix syntax error

Change-Id: I0a7822a23bda1ecbc2af12dbf2eae15c737d086a

8 years agofix syntax error 78/66378/1 accepted/tizen/common/20160419.143123 accepted/tizen/ivi/20160418.235826 accepted/tizen/mobile/20160418.235821 accepted/tizen/tv/20160418.235824 accepted/tizen/wearable/20160418.235814 submit/tizen/20160418.122128
Boram Park [Mon, 18 Apr 2016 12:33:24 +0000 (21:33 +0900)]
fix syntax error

Change-Id: Icdf0b36c6bc81d3382b31ab63272599593b9be37

8 years agodisable the tdm thread as default 76/66376/1
Boram Park [Mon, 18 Apr 2016 12:24:27 +0000 (21:24 +0900)]
disable the tdm thread as default

Change-Id: I4f5584bd37e82a265b7a4fc350994076336387f7

8 years agoerase dereference of null code 85/66285/2
Junkyeong Kim [Mon, 18 Apr 2016 07:35:05 +0000 (16:35 +0900)]
erase dereference of null code

Change-Id: I3726b755d568255e3a82da65ada40828a40414b3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoset the initial dpms value to be off 99/66199/1 accepted/tizen/ivi/20160418.082634 accepted/tizen/mobile/20160418.082616 accepted/tizen/tv/20160418.082631 accepted/tizen/wearable/20160418.082624 submit/tizen/20160418.012433
SooChan Lim [Sun, 17 Apr 2016 23:39:05 +0000 (08:39 +0900)]
set the initial dpms value to be off

Change-Id: I3413ce4256133d58b5e02a27c4ecb036e184fae4

8 years agoFor store user data of buffer used new surface api of libtbm 02/65802/2 accepted/tizen/common/20160414.142603 accepted/tizen/ivi/20160415.014812 accepted/tizen/mobile/20160415.014832 accepted/tizen/tv/20160415.014728 accepted/tizen/wearable/20160415.014753 submit/tizen/20160414.040521
Andrii Sokolenko [Tue, 12 Apr 2016 13:58:24 +0000 (16:58 +0300)]
For store user data of buffer used new surface api of libtbm

Change-Id: I7fb0f7e3956a68e84c3e497222b16a8115e291bb
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
8 years agofix 64bit build error 38/65538/1
Boram Park [Mon, 11 Apr 2016 08:34:24 +0000 (17:34 +0900)]
fix 64bit build error

Change-Id: I19f591063dc4c824aec8599fed8bb0a740debd15