platform/core/uifw/libtdm.git
5 years agoPackage version up to 2.8.0 32/196232/2
SooChan Lim [Wed, 26 Dec 2018 10:17:50 +0000 (19:17 +0900)]
Package version up to 2.8.0

Change-Id: I6783f44b97e495b956a1f8187723a052b28f1b53

5 years agovirtual: fix voutput commit buffer send fail 98/195198/4
Junkyeong Kim [Tue, 11 Dec 2018 12:22:03 +0000 (21:22 +0900)]
virtual: fix voutput commit buffer send fail

add tdm_output_set_voutput_commit / tdm_output_unset_voutput_commit
execute set_voutput_commit when connect.
execute unset_voutput_commit when disconnect.

cause of tdm thread, the voutput commit request has to be set by client.
before code the voutput commit was set from server(main thread),
client cannot get buffer attach and commit event from server.

Change-Id: I244d9b8b93b3994cba760b9aa8b1ebdfa3102e68
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoPackage version up to 2.7.1 91/195891/2 submit/tizen/20181219.080305
Changyeon Lee [Wed, 19 Dec 2018 07:47:46 +0000 (16:47 +0900)]
Package version up to 2.7.1

Change-Id: I754504ebcac8b4af01c23e09a6037f264835fbfc

6 years agotdm_server: check timeout flag and vblank_info in timeout callback 90/195890/2
Changyeon Lee [Wed, 19 Dec 2018 07:42:08 +0000 (16:42 +0900)]
tdm_server: check timeout flag and vblank_info in timeout callback

Change-Id: Ie203b32e29bab94dcb386884e05a1e87a9c5bab4

6 years agoPackage version up to 2.7.0 74/195474/3 accepted/tizen/5.0/unified/20181217.064535 accepted/tizen/unified/20181219.063300 submit/tizen/20181214.070524 submit/tizen/20181218.082737 submit/tizen_5.0/20181214.070517 submit/tizen_5.0/20181214.103426
SooChan Lim [Fri, 14 Dec 2018 00:58:50 +0000 (09:58 +0900)]
Package version up to 2.7.0

Change-Id: I3f0fbf6c8055b9d200d60dc93ab48bdc30da10e7

6 years agohwc: add the hwc capabilities 67/195467/4
SooChan Lim [Thu, 13 Dec 2018 23:42:07 +0000 (08:42 +0900)]
hwc: add the hwc capabilities

replace hwc video capabilities into hwc capabilities

Change-Id: I1b9640b5c3bd06dff5899f9628de40f3ac0fa911

6 years agoPackage version up to 2.6.0 43/194343/5 accepted/tizen/5.0/unified/20181207.061549 accepted/tizen/unified/20181206.141108 submit/tizen/20181206.023927 submit/tizen_5.0/20181206.023933
SooChan Lim [Mon, 3 Dec 2018 08:27:55 +0000 (17:27 +0900)]
Package version up to 2.6.0

Change-Id: Ia420089798803f6e3ae5e8000a466b7600c981f4

6 years agoadd tdm_hwc_window_set_cursor_image 84/194384/4
SooChan Lim [Tue, 4 Dec 2018 02:18:59 +0000 (11:18 +0900)]
add tdm_hwc_window_set_cursor_image

let the tdm backend know the virtual address and
information of the cursor image.

Change-Id: I31716a8fae97affb5ab801027c081bd0d2bdccbc

6 years agoRevert "hwc: add the prototypes to avoid build break" 42/194342/1
SooChan Lim [Mon, 3 Dec 2018 08:27:16 +0000 (17:27 +0900)]
Revert "hwc: add the prototypes to avoid build break"

This reverts commit 360af47b34a4fbcfb48be27fdae57654f22c91ef.

Change-Id: Iff209d517462a5929f251187a523bfbfdd2776fe

6 years agoPackage version up to 2.5.1 accepted/tizen/5.0/unified/20181203.061725 accepted/tizen/unified/20181203.061748 submit/tizen/20181130.102133 submit/tizen/20181130.102224 submit/tizen_5.0/20181130.102123
SooChan Lim [Fri, 30 Nov 2018 10:18:08 +0000 (19:18 +0900)]
Package version up to 2.5.1

Change-Id: I61c5e15527581e784e3ffebd9a4c6b37101b29a6

6 years agotdm_client: add timeout timer to tdm_server vblank 53/194253/3
Changyeon Lee [Fri, 2 Nov 2018 05:09:51 +0000 (14:09 +0900)]
tdm_client: add timeout timer to tdm_server vblank

if callback of timeout is called, send done event to
client with TDM_ERROR_TIMEOUT.

Change-Id: I3a1bd15bc733cf685f84f6eeb81acd03952b6183

6 years agoPackage version up to 2.5.0 accepted/tizen/5.0/unified/20181129.174947 accepted/tizen/unified/20181129.175003 submit/tizen/20181129.040927 submit/tizen_5.0/20181129.040934
SooChan Lim [Wed, 28 Nov 2018 10:37:21 +0000 (19:37 +0900)]
Package version up to 2.5.0

Change-Id: I549452dbc92a1dec46a2af144c996eaae061af18

6 years agoadd tdm_hwc_window_set_name
SooChan Lim [Thu, 29 Nov 2018 00:51:29 +0000 (09:51 +0900)]
add tdm_hwc_window_set_name

Change-Id: I496365a3babeb3e754166e1e1a5c95de124ab15d

6 years agoPackage version up to 2.4.2 67/193667/1 accepted/tizen/5.0/unified/20181126.062121 accepted/tizen/unified/20181126.062112 submit/tizen/20181123.060120 submit/tizen_5.0/20181123.060127
Junkyeong Kim [Fri, 23 Nov 2018 03:02:13 +0000 (12:02 +0900)]
Package version up to 2.4.2

Change-Id: I2c4b5f7e77f9bdeef03b4b0cedbaa6e6360833c0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoclient: fix dealloacated error 66/193666/1
Junkyeong Kim [Fri, 23 Nov 2018 03:01:28 +0000 (12:01 +0900)]
client: fix dealloacated error

Change-Id: If64862dc4ac1cec654ac45e57bce5e5733ffea86
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agofix dummy module loading fail of no output device 61/193661/1
Junkyeong Kim [Fri, 23 Nov 2018 02:29:35 +0000 (11:29 +0900)]
fix dummy module loading fail of no output device

cause of _tdm_display_load_modules fail _tdm_display_setup cannot execute.
the dummy backend is loaded in _tdm_display_setup.

Change-Id: I4880095ad688fbccb259dd91cbefab8e8df1eaad
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoPackage version up to 2.4.1 82/193582/1 accepted/tizen/unified/20181123.063302 submit/tizen/20181122.064410 submit/tizen_5.0/20181122.071638
Junkyeong Kim [Thu, 22 Nov 2018 06:18:38 +0000 (15:18 +0900)]
Package version up to 2.4.1

Change-Id: If3616fb2030168d2dc7ceb2df44f95b30c365f16
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoprevent copying error over TDM_NAME_LEN(64) length string 08/193508/3
Junkyeong Kim [Wed, 21 Nov 2018 09:01:46 +0000 (18:01 +0900)]
prevent copying error over TDM_NAME_LEN(64) length string

Change-Id: I63b7a3f869fae588127bc5ea9c7b4728980a51aa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoset initialization value 06/193506/2
Junkyeong Kim [Wed, 21 Nov 2018 08:58:25 +0000 (17:58 +0900)]
set initialization value

Change-Id: I5dfa735093995ff286a232db539063d441cce92d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoerase unreachable code 05/193505/3
Junkyeong Kim [Wed, 21 Nov 2018 08:55:41 +0000 (17:55 +0900)]
erase unreachable code

Change-Id: I67ac16533a0261ed62bb2591ae783e80f74c2e7e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoadd null checking before set error value 04/193504/2
Junkyeong Kim [Wed, 21 Nov 2018 08:52:12 +0000 (17:52 +0900)]
add null checking before set error value

Change-Id: I49ff7ab80ec8a7f337bb1b22b6e96798cae213eb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agohwc: add tdm_hwc_get_video_available_properties. 99/192899/1 accepted/tizen/5.0/unified/20181116.080132 accepted/tizen/unified/20181115.151623 submit/tizen/20181115.024059 submit/tizen_5.0/20181115.024119
SooChan Lim [Mon, 12 Nov 2018 12:27:14 +0000 (21:27 +0900)]
hwc: add tdm_hwc_get_video_available_properties.

The available video properties is different from the ui properties.
The client needs to get the only available video properties.

Change-Id: Ibb13dded2bec0efc486899daf1a59ea8e528e414

6 years agofix indent 98/192898/1
SooChan Lim [Mon, 12 Nov 2018 12:33:46 +0000 (21:33 +0900)]
fix indent

Change-Id: Ic802bc1822fbb36e7c9c202011bdb9ba0f3b0945

6 years agohwc: add the prototypes to avoid build break 22/192822/1 accepted/tizen/5.0/unified/20181113.090047 accepted/tizen/unified/20181113.163439 submit/tizen/20181112.013212 submit/tizen_5.0/20181112.013456
SooChan Lim [Mon, 12 Nov 2018 00:34:02 +0000 (09:34 +0900)]
hwc: add the prototypes to avoid build break

this patch will be reverted later

Change-Id: I0fff096e12ce975fd7c4fd5a6f33d4e1d53afbce

6 years agohwc: modify the some symbol 21/192821/1
SooChan Lim [Fri, 9 Nov 2018 10:21:35 +0000 (19:21 +0900)]
hwc: modify the some symbol

change tdm_hwc_accept_changes to tdm_hwc_accept_validation
add the prefix TDM_HWC_ instead TDM_

Change-Id: I909695e485e1bfab32eb290ce6a8450b301862c4

6 years agoPackage version up to 2.4.0 20/192620/2 accepted/tizen/5.0/unified/20181108.074357 submit/tizen/20181107.044109 submit/tizen_5.0/20181107.044303
SooChan Lim [Wed, 7 Nov 2018 05:17:53 +0000 (14:17 +0900)]
Package version up to 2.4.0

Change-Id: If507be05cfc0f18d9f820e10704b0d7c30e0d14e

6 years agovirtual: default unload virtual module 23/192623/2
Junkyeong Kim [Wed, 7 Nov 2018 05:26:40 +0000 (14:26 +0900)]
virtual: default unload virtual module

Change-Id: Icffbeda1b9f004b4df3f1d58ced94dc2a3d2d38b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoFix a typo 73/192473/2
Zhaowei Yuan [Tue, 6 Nov 2018 03:11:08 +0000 (11:11 +0800)]
Fix a typo

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: If08b47b04df9e0b56c69039e38e535c0caa03ebf

6 years agovblank: fix list add error 42/192342/2
Junkyeong Kim [Fri, 2 Nov 2018 09:17:50 +0000 (18:17 +0900)]
vblank: fix list add error

Change-Id: I1e0545f47760235bb90e8ff4428747891d63c2cc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agotests: add virtual output test 00/191400/3
Junkyeong Kim [Tue, 16 Oct 2018 12:34:07 +0000 (21:34 +0900)]
tests: add virtual output test

use -V option.

sample sequence:
 test client create virtual output and execute voutput_connect.
 test server send buffers to client.
 test client dump received buffers (0~10, 31~40).
 test client execute mode_change_request when received 30th commit.
 test client execute voutput_disconnect and destroy when received 50th commit.

Change-Id: I8864e8a5bc974b3189ff4e3a8fb66ceccc22dd2c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoclient: add tdm_client_output_get_mode function 99/191399/3
Junkyeong Kim [Tue, 16 Oct 2018 12:30:48 +0000 (21:30 +0900)]
client: add tdm_client_output_get_mode function

Change-Id: Ie21b4f8f3179624339bf97e5dce7727b36c5d6bb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: add virtual backend module 98/191398/3
Junkyeong Kim [Tue, 16 Oct 2018 12:28:25 +0000 (21:28 +0900)]
virtual: add virtual backend module

support virtual output create, destroy, connect, disconnect, mode set, size set, buffer commit
default load virtual module when tdm init for support virtual output.

Change-Id: Ib970dd3ade87873e1b9e3be96c410f5e355a7ff8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: share buffer with client 94/191394/3
Junkyeong Kim [Tue, 16 Oct 2018 12:16:31 +0000 (21:16 +0900)]
virtual: share buffer with client

 - attach buffer
 - commit buffer
 - commit done

sequence :
 output commit -> backend call voutput commit func(not output commit handler this time) ->
 execute voutput attach buffer and commit buffer from voutput commit func(send buffer to client) ->
 commit done by client -> backend receive commit done so execute output commit handler

Change-Id: Ie0dde85f016ead14153c12e71d0d0ae6c2a65459
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: implementations for virtual output 83/191083/6
Junkyeong Kim [Thu, 11 Oct 2018 07:36:08 +0000 (16:36 +0900)]
virtual: implementations for virtual output

 - voutput connect & disconnect
 - set voutput available modes
 - set voutput mode
 - set voutput physical size

Change-Id: I7aae9f5b425dfbdcf0b50843ee5b31e93e7ca353
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: support virtual output create & destroy 58/191058/4
Junkyeong Kim [Thu, 11 Oct 2018 05:47:03 +0000 (14:47 +0900)]
virtual: support virtual output create & destroy

Change-Id: I863304cefa6358950ab354b824d7acf2e81dcea6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: define functions and structure for supporting virtual output 21/188521/9
Junkyeong Kim [Wed, 5 Sep 2018 11:58:54 +0000 (20:58 +0900)]
virtual: define functions and structure for supporting virtual output

Change-Id: I71b298a2917645261c838dce51b9ae1854b341c3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agotdm_client: Introduce 'tdm_virtual_output' on the client side. 41/188441/6
Seunghun Lee [Wed, 27 Jun 2018 10:23:33 +0000 (19:23 +0900)]
tdm_client: Introduce 'tdm_virtual_output' on the client side.

NOTE: This needs extra implementation of server side to be operated properly.

APIs of 'tdm_virtual_output' will provide services to applications like
Wi-Fi display manager. Any application which has proper privilege can ask
tdm_server for considering itself as a sort of virtual output.
Once an application acquires the instance of 'tdm_virtual_output' successfully,
server considers it as a normal output.

Change-Id: Ib6085db09521facd90d28637056b48e166f8a90e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoPackage version up to 2.3.1 40/191040/1 accepted/tizen/5.0/unified/20181102.023418 accepted/tizen/unified/20181015.161447 submit/tizen/20181011.042605 submit/tizen_5.0/20181101.000005
SooChan Lim [Thu, 11 Oct 2018 01:28:16 +0000 (10:28 +0900)]
Package version up to 2.3.1

Change-Id: I7397ead44069ada32db5591e15b3c5a56e596976

6 years agohwc: modify the doxygen of tdm_hwc_window_composition 75/190975/1
SooChan Lim [Wed, 10 Oct 2018 06:10:45 +0000 (15:10 +0900)]
hwc: modify the doxygen of tdm_hwc_window_composition

Change-Id: Ie27771f551f9885ed2168d7a05ad717acba20c18

6 years agohwc: remove the unused enum type 71/190971/1
SooChan Lim [Wed, 10 Oct 2018 05:47:01 +0000 (14:47 +0900)]
hwc: remove the unused enum type

Change-Id: I8ccb01dd67b0b75c96274974007231290d2ee118

6 years agoPackage version up to 2.3.0 96/190596/1 accepted/tizen/unified/20181005.012412 submit/tizen/20181004.045459
SooChan Lim [Thu, 4 Oct 2018 04:28:57 +0000 (13:28 +0900)]
Package version up to 2.3.0

Change-Id: I1cf990285993fde51116809aab1654d3c69ff7b3

6 years agobackend: remove hwc_window_get_info 95/190595/1
SooChan Lim [Thu, 4 Oct 2018 04:20:16 +0000 (13:20 +0900)]
backend: remove hwc_window_get_info

Change-Id: I78dcb2ec122f8b00ae8355df78187eb5dafe20a2

6 years agohwc: rearrange the api position 94/190594/1
SooChan Lim [Thu, 4 Oct 2018 04:19:21 +0000 (13:19 +0900)]
hwc: rearrange the api position

Change-Id: I9dc2ed38b18031d09629f9322bc4883cbdf7efdd

6 years agoRevert "add temporary code to prevent the build break" 93/190593/1
SooChan Lim [Thu, 4 Oct 2018 04:18:17 +0000 (13:18 +0900)]
Revert "add temporary code to prevent the build break"

This reverts commit 477497ef5c7d0812398b33de2bc5824638ba4a48.

Change-Id: I9987d470e5f2fa51be7c6f634655057904f7dee2

6 years agohwc: modify the doxygen of the hwc apis 80/190480/4
SooChan Lim [Tue, 2 Oct 2018 11:12:18 +0000 (20:12 +0900)]
hwc: modify the doxygen of the hwc apis

Change-Id: I275d882f5ac466fd9755ccc9d4f4a1e2b89ec6d2

6 years agohwc: fix the wrong parameter 92/190192/1
SooChan Lim [Fri, 28 Sep 2018 05:58:04 +0000 (14:58 +0900)]
hwc: fix the wrong parameter

Change-Id: I087e2c0e3f5154453c60cd07c8947c74f0fd7db5

6 years agoadd temporary code to prevent the build break 49/189649/2 accepted/tizen/unified/20180921.042507 submit/tizen/20180920.071005
SooChan Lim [Wed, 19 Sep 2018 10:51:40 +0000 (19:51 +0900)]
add temporary code to prevent the build break

this code will be reverted later...

Change-Id: I4b0f88519d705c64fe368d6429a4765cf0115541

6 years agotdm_hwc: change the symbol names of preperation types into constraints 40/189640/2
SooChan Lim [Wed, 19 Sep 2018 10:21:02 +0000 (19:21 +0900)]
tdm_hwc: change the symbol names of preperation types into constraints

Change-Id: Ia02711a6d927edf6785048db171929e446398020

6 years agoPackage version up to 2.2.1 08/189208/1 accepted/tizen/unified/20180917.041241 submit/tizen/20180914.075107
SooChan Lim [Fri, 14 Sep 2018 07:46:50 +0000 (16:46 +0900)]
Package version up to 2.2.1

Change-Id: If8e3ace70b17d8a76763ef4e1d1d63f6a89d4cab

6 years agohaltest: change ClientVblankWaitSetFps test error condition 06/189106/1
Junkyeong Kim [Thu, 13 Sep 2018 10:22:44 +0000 (19:22 +0900)]
haltest: change ClientVblankWaitSetFps test error condition

tw2 cannot success before condition. reduce error checking condition.

Change-Id: I291207363b42ea0dc2e51fca60c4dae4b609a63e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agotdm_helper: show the width of the tbm_surface 72/189072/1
SooChan Lim [Thu, 13 Sep 2018 07:22:28 +0000 (16:22 +0900)]
tdm_helper: show the width of the tbm_surface

When tdm-monitor shows the information, the result
shows the width of the tbm_surface
instead of showing the real size of the buffer(stride/4).

Change-Id: Ib25a118d05798a96dcf4e99a31fd3c7f1462e399

6 years agoPackage version up to 2.2.0 28/186528/1 accepted/tizen/unified/20180813.061409 submit/tizen/20180810.062205
Changyeon Lee [Fri, 10 Aug 2018 04:59:55 +0000 (13:59 +0900)]
Package version up to 2.2.0

Change-Id: I3dc25c4ee4d55b5b16a324cf07a5ac19ac0d7e36

6 years agohwc_window: rename get_buffer_queue to acquire_buffer_queue 27/186527/1
Changyeon Lee [Fri, 10 Aug 2018 04:57:37 +0000 (13:57 +0900)]
hwc_window: rename get_buffer_queue to acquire_buffer_queue

Change-Id: Ie5e45480833bee69978192bdd2a98b875456a404

6 years agohwc_window: rename free_buffer_queue to release_buffer_queue 26/186526/1
Changyeon Lee [Fri, 10 Aug 2018 04:53:57 +0000 (13:53 +0900)]
hwc_window: rename free_buffer_queue to release_buffer_queue

Change-Id: I5ef4cb1a3f9be9d9cd943fb107b027f5a167df30

6 years agoPackage version up to 2.1.0 01/186501/2
Changyeon Lee [Fri, 10 Aug 2018 04:00:07 +0000 (13:00 +0900)]
Package version up to 2.1.0

Change-Id: I6a3379fd34b5ea40c973a58f046f21867a4462d7

6 years agohwc_window: added tdm_hwc_window_free_buffer_queue 38/186438/1
Changyeon Lee [Tue, 24 Jul 2018 10:32:24 +0000 (19:32 +0900)]
hwc_window: added tdm_hwc_window_free_buffer_queue

Change-Id: I99775be1df445fe64039ba9f5c098b7e50fd005f

6 years agohwc_window: tdm_hwc_window_get_preparation_types 37/186437/1
Changyeon Lee [Tue, 24 Jul 2018 11:19:08 +0000 (20:19 +0900)]
hwc_window: tdm_hwc_window_get_preparation_types

Change-Id: I977b322aaedf140ea0aa58342867ab58a0f73dad

6 years agoadded tdm_hwc_get_video_capability 19/185219/1
Changyeon Lee [Thu, 19 Jul 2018 11:35:05 +0000 (20:35 +0900)]
added tdm_hwc_get_video_capability

Change-Id: I0bfff03716453a5e1b2b903bb55628e831c865dc

6 years agorename tdm_hwc_get_video_supported_formats 18/185218/1
Changyeon Lee [Thu, 19 Jul 2018 11:18:20 +0000 (20:18 +0900)]
rename tdm_hwc_get_video_supported_formats

Change-Id: I9034c4f898c7753e81790c02d7e71511651ad527

6 years agoremove unused tdm_hwc_window_composition 34/184634/1
Changyeon Lee [Thu, 19 Jul 2018 11:19:05 +0000 (20:19 +0900)]
remove unused tdm_hwc_window_composition

Change-Id: I4eb2aa45ee7d06ffd6c851cdb8bd7c3701e5e2df

6 years agofixed wrong checking abi version of module 16/184516/3
Changyeon Lee [Wed, 18 Jul 2018 10:36:20 +0000 (19:36 +0900)]
fixed wrong checking abi version of module

if minor version of module less than minimum minor version,
func return false even if major version greater than minimum major version.
so patch fixed it

Change-Id: I6bb6a9dc7d46d4b6e949577f01d5bb443bc99b49

6 years agopackage version up to 2.0.1 63/182663/1 accepted/tizen/unified/20180629.061602 submit/tizen/20180627.061319
Junkyeong Kim [Wed, 27 Jun 2018 02:45:31 +0000 (11:45 +0900)]
package version up to 2.0.1

Change-Id: I20d6523c147ccb75f67e6149e7619e1a64baddc7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agolog: check tdm environment value only init 55/182655/2
Junkyeong Kim [Wed, 27 Jun 2018 02:18:16 +0000 (11:18 +0900)]
log: check tdm environment value only init

Change-Id: I46425da547cc57edc7163d4838e49f92b7ad607a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agocommon: remove unused code 51/182651/2
Seunghun Lee [Thu, 24 May 2018 06:51:30 +0000 (15:51 +0900)]
common: remove unused code

Change-Id: Ie8e04d4d398e71f9152f709f57e8c28f74ae10a3

6 years agovblank: avoid mutex lock error. 33/182433/2
Junkyeong Kim [Mon, 25 Jun 2018 06:23:06 +0000 (15:23 +0900)]
vblank: avoid mutex lock error.

Change-Id: I4c47966a7b6bb2afab62ed51ed2f06fa097b58c7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agotc: add tests for tdm_hwc and tdm_hwc_window 29/181229/2
SooChan Lim [Wed, 30 May 2018 01:39:46 +0000 (10:39 +0900)]
tc: add tests for tdm_hwc and tdm_hwc_window

Change-Id: Id19c9f11771397f60204ef5a6af07576f4da7f37

6 years agopackage version up to 2.0.0 08/179708/1 accepted/tizen/unified/20180522.053030 submit/tizen/20180521.034547
SooChan Lim [Mon, 21 May 2018 07:49:58 +0000 (16:49 +0900)]
package version up to 2.0.0

- add haltest cases
- add the new backend APIs for the TDM-HWC at tdm_backend.h
- increase the major verion of the TBM backend ABI to version 2.0
  The tdm backend module needs to set the valid backend version.

Change-Id: I62538cb7d634e465e007900e7b49595ea4cd9226

6 years agodefine the backend ABI version 07/179707/1
SooChan Lim [Mon, 21 May 2018 07:46:11 +0000 (16:46 +0900)]
define the backend ABI version

The TDM backend ABI version should be separated with TDM front-end ABI.
Therefore, tdm defines the TDM backend ABI version at the tbm_backend.h.
The tdm checks the module ABI version with this backend ABI version
when the libtdm loads the backend modules.

Change-Id: I80d842f225d261f7fc024c6928dc66c9d4a95a65

6 years agopackage version up to 1.18.2 accepted/tizen/unified/20180515.163353 submit/tizen/20180514.063210
SooChan Lim [Mon, 14 May 2018 06:31:48 +0000 (15:31 +0900)]
package version up to 1.18.2

Change-Id: I9497d4acca1549053030f5865016d825fd17413e

6 years agothread: Do not send a value of sync as '1' to display thread (quick-fix) 11/178811/2
Seunghun Lee [Mon, 14 May 2018 06:12:41 +0000 (15:12 +0900)]
thread: Do not send a value of sync as '1' to display thread (quick-fix)

Sync type event from display-thread(main thread) can't be handled. In this way,
if we call tdm_thread_send_cb() with 'cb_base->sync = 1', then libtdm will
eveventually raise abort().
Please see commit '4abfab36' for more detail.

Change-Id: Ia588141fc9e752753dbe04fda835c5532839d95e

6 years agopackage version up to 1.18.1 21/177821/1 accepted/tizen/unified/20180508.071526 submit/tizen/20180504.060653
SooChan Lim [Fri, 4 May 2018 04:03:33 +0000 (13:03 +0900)]
package version up to 1.18.1

Change-Id: Icc67dbafb9eb78699c53098d0aa88a2a543110a1

6 years agochange the utests to haltests 20/177820/1
SooChan Lim [Fri, 4 May 2018 04:02:16 +0000 (13:02 +0900)]
change the utests to haltests

change all symbol and file name.

Change-Id: Id48ccad285938dfcbb8f136c71592806c120d47e

6 years agopackage version up to 1.18.0 45/177445/1 accepted/tizen/unified/20180430.172414 submit/tizen/20180430.041622
SooChan Lim [Mon, 30 Apr 2018 04:06:19 +0000 (13:06 +0900)]
package version up to 1.18.0

Change-Id: I9edc4541e61d361a235ae5d333a423712afa054b

6 years agochange the package name 44/177444/1
SooChan Lim [Mon, 30 Apr 2018 04:05:28 +0000 (13:05 +0900)]
change the package name

change the libtbm-utests to the libtbm-haltests

Change-Id: If56366b88d0280d33eb609ac66d28e73c85834e8

6 years agofix build break 43/177043/2
Changyeon Lee [Wed, 25 Apr 2018 02:51:36 +0000 (11:51 +0900)]
fix build break

Change-Id: I2f83c749d48a25a9cb9a62443d02777340129826

6 years agohwc: add tdm_backend_register_func_hwc in tdm_backend.h 66/176766/4
Changyeon Lee [Mon, 23 Apr 2018 09:06:32 +0000 (18:06 +0900)]
hwc: add tdm_backend_register_func_hwc in tdm_backend.h

Change-Id: Idd35dc2d2cc92998c746433a9803ae78f7ae285b

6 years agopackage version up to 1.17.1 accepted/tizen/unified/20180419.134317 submit/tizen/20180419.042206
SooChan Lim [Thu, 19 Apr 2018 04:21:48 +0000 (13:21 +0900)]
package version up to 1.17.1

Change-Id: I5a8481fa32f2a3c6a5d74becab4134907862d693

6 years agoadd pthred_unlock 88/176388/1
SooChan Lim [Thu, 19 Apr 2018 03:49:51 +0000 (12:49 +0900)]
add pthred_unlock

Change-Id: I101904deef6c6045e39d58c948a7ead76ecdc5e8

6 years agopackage version up to 1.17.0 44/175844/1 accepted/tizen/unified/20180416.213752 submit/tizen/20180413.020731 submit/tizen/20180413.052944 submit/tizen/20180416.011552
SooChan Lim [Fri, 13 Apr 2018 01:51:29 +0000 (10:51 +0900)]
package version up to 1.17.0

Change-Id: I40c285e4e703d8da3dcf997894885443f2001905

6 years agohwc: redesign the hwc 78/174378/16
SooChan Lim [Fri, 30 Mar 2018 11:08:55 +0000 (20:08 +0900)]
hwc: redesign the hwc

change the frontend apis for hwc
change the backend apis for hwc
remove the useless codes

Change-Id: I7571dfb817140ebc25a3bbff77dffb7edae2ff35

6 years agopackage version up to 1.16.13 accepted/tizen/unified/20180412.073819 submit/tizen/20180411.042300
SooChan Lim [Wed, 11 Apr 2018 04:22:34 +0000 (13:22 +0900)]
package version up to 1.16.13

Change-Id: Icacee006b6aad474889c50a0b615bd432db69e0c

6 years agohwc: add omitted unlocks 86/175586/1
Boram Park [Tue, 10 Apr 2018 23:52:09 +0000 (08:52 +0900)]
hwc: add omitted unlocks

Change-Id: I7631a2a6d9549a5361a05de2ccdc3a65b0452b6c

6 years agodisplay: find the correct output 42/175242/1
Boram Park [Mon, 9 Apr 2018 12:18:37 +0000 (21:18 +0900)]
display: find the correct output

To find a primary output, we have to check the connection status first.
If there is no connected output, this function will return the first output.

Change-Id: If386dcabc6524ce81a1f08c87082342a259278f3

6 years agocommon: remove unuseful condition 41/175241/1
Boram Park [Mon, 9 Apr 2018 12:15:59 +0000 (21:15 +0900)]
common: remove unuseful condition

output_get_capability can't be null at this function. checking null is
already done in other function.

Change-Id: I737ab197eba4763cc6afbfd65d8b8e8183c4a122

6 years agocommon: fix syntax error 40/175240/1
Boram Park [Mon, 9 Apr 2018 11:44:18 +0000 (20:44 +0900)]
common: fix syntax error

Change-Id: Ib6c52268e151511ba4aef5f15a84ac2adcba993b

6 years agocommon: remove unuseful variable 39/175239/1
Boram Park [Mon, 9 Apr 2018 11:43:57 +0000 (20:43 +0900)]
common: remove unuseful variable

Change-Id: I1f47f58fb65b5b18f08e64b790e11c4c195e1c32

6 years agobuffer: remove unuseful function 54/175054/1
Boram Park [Fri, 6 Apr 2018 07:42:06 +0000 (16:42 +0900)]
buffer: remove unuseful function

the behavior of tdm_buffer_remove_release_handler_internal is not clear.
even if commit is failed, the buffer release function seems to need to be called.

Change-Id: Idbf92ea109272d5556680ed87212095126d8b1cf

6 years agocommon: add excluding coverage comments 53/175053/1
Boram Park [Fri, 6 Apr 2018 07:40:25 +0000 (16:40 +0900)]
common: add excluding coverage comments

Change-Id: I3608620a3fd494a1416dfb53df057241e074f114

6 years agoutests: add excluding coverage comments 52/175052/1
Boram Park [Fri, 6 Apr 2018 07:38:59 +0000 (16:38 +0900)]
utests: add excluding coverage comments

Change-Id: I8533054065c261c059294bc3f8101f64d1623ab3

6 years agoevent_loop: destroy clients before destroying display 30/174630/2
Boram Park [Tue, 3 Apr 2018 08:24:03 +0000 (17:24 +0900)]
event_loop: destroy clients before destroying display

Change-Id: I6e143aa8446d6cd1e3c5567604dac227b647d6fe

6 years agodoc: update dot file 25/174625/1
Boram Park [Tue, 3 Apr 2018 08:04:40 +0000 (17:04 +0900)]
doc: update dot file

Change-Id: I6cfe80a55147c2bf9ef22b4e095c2c2607dc43b0

6 years agodoc: fix carriage return 24/174624/1
Boram Park [Tue, 3 Apr 2018 08:04:00 +0000 (17:04 +0900)]
doc: fix carriage return

Change-Id: I850997b73174ff25e60b59c33e52b0b8cb89d1bc

6 years agoconfig: not export tdm_config function to backend 22/174622/1
Boram Park [Tue, 3 Apr 2018 07:46:34 +0000 (16:46 +0900)]
config: not export tdm_config function to backend

Change-Id: I2c8d162912c0971e6be5443c18535df81055eca7

6 years agoadd plantuml, dot files 14/174614/1
Boram Park [Tue, 3 Apr 2018 07:26:13 +0000 (16:26 +0900)]
add plantuml, dot files

Change-Id: I99569149d5b46722426a97e8f59e39fa3db526bc

6 years agothread: only allow a sync event from tdm-thread to display-thread 31/174431/1
Boram Park [Mon, 2 Apr 2018 06:51:42 +0000 (15:51 +0900)]
thread: only allow a sync event from tdm-thread to display-thread

A sync-type event from display-thread to tdm-thread can't be handled.
If sync-type events happen in both threads at the same time,
it would make a deadlock issue.

Change-Id: Ic45207a173dfe9413f419506da1a6d36e86d06e3

6 years agothread: not reset find_funcs table when deinit 30/174430/1
Boram Park [Mon, 2 Apr 2018 06:37:57 +0000 (15:37 +0900)]
thread: not reset find_funcs table when deinit

tdm_thread_cb_call can be called after tdm_thread deinited.

Change-Id: Ic58fd0a1c194e1f977f7b9c3b26017bbfed0a57a

6 years agoconfig: move to src 12/174412/1
Boram Park [Mon, 2 Apr 2018 04:55:28 +0000 (13:55 +0900)]
config: move to src

Change-Id: If7c889f1704be1c0aa0d8bbd2f4b5785368feb60

6 years agomonitor: move to tools 05/174405/1
Boram Park [Mon, 2 Apr 2018 03:59:08 +0000 (12:59 +0900)]
monitor: move to tools

Change-Id: I251df596f253a71293ad16b76b280e1a0372c129

6 years agooutput: call output_change callbacks asynchronously 84/174384/3
Boram Park [Sun, 1 Apr 2018 22:49:01 +0000 (07:49 +0900)]
output: call output_change callbacks asynchronously

Change-Id: I72a8460101efd8e12a109c465ecd8249890b7801

6 years agoutests: use ut_tdm_display_handle_events for timeout 83/174383/1
Boram Park [Tue, 27 Mar 2018 04:29:44 +0000 (13:29 +0900)]
utests: use ut_tdm_display_handle_events for timeout

Change-Id: I4b672f599e77d5b8ed5ec8679cb7a5a9efa05d36