platform/core/uifw/libtdm.git
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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

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

Change-Id: Ic802bc1822fbb36e7c9c202011bdb9ba0f3b0945

5 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

5 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

6 years agopackage version up to 1.16.12 accepted/tizen/unified/20180404.063348 submit/tizen/20180330.043331 submit/tizen/20180403.011904
Boram Park [Fri, 30 Mar 2018 04:32:35 +0000 (13:32 +0900)]
package version up to 1.16.12

Change-Id: I79b8bfc47a794f715802d1cecf63bfbfa9b3ab18

6 years agoadd LIST_FIRST_ENTRY, LIST_LAST_ENTRY macro 13/174313/1
Boram Park [Fri, 30 Mar 2018 04:04:00 +0000 (13:04 +0900)]
add LIST_FIRST_ENTRY, LIST_LAST_ENTRY macro

Change-Id: I98adf7df5ecb3dd94627e06bda3eb253033b289d

6 years agoutests: scale up to screen size 12/174312/1
Boram Park [Fri, 30 Mar 2018 01:55:24 +0000 (10:55 +0900)]
utests: scale up to screen size

We have to make more TCs to test various different sizes later.

Change-Id: Ie36ef263d486d17905d0b73fcc58c23cef7a1d70

6 years agoutests: use TDM_CONFIG_KEY_DEBUG_DUMP to dump all tc's buffer 11/174311/1
Boram Park [Fri, 30 Mar 2018 01:54:22 +0000 (10:54 +0900)]
utests: use TDM_CONFIG_KEY_DEBUG_DUMP to dump all tc's buffer

All tcs do tdm_display_init/deinit repeatly. "tdm-monitor -dump" can't be used.
So we'd better use env.

Change-Id: If518b97cc45e4d8620e89c2e513ad8056be1b8f9

6 years agohelper: try to dump all formats to a raw file 10/174310/1
Boram Park [Fri, 30 Mar 2018 01:51:55 +0000 (10:51 +0900)]
helper: try to dump all formats to a raw file

Change-Id: Id2aa867fe19930aa01d5c3d73e1156b28aa45dd5

6 years agoset to null current mode after output update if output disconnected 07/174307/1
Junkyeong Kim [Fri, 30 Mar 2018 02:47:22 +0000 (11:47 +0900)]
set to null current mode after output update if output disconnected

Change-Id: I27b78b4ea4cd63c1ba2ef480e2c3afab71d0140e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoRevert "output: set output connection status if needed" 01/174101/1 accepted/tizen/unified/20180330.060625 submit/tizen/20180328.045533
Boram Park [Wed, 28 Mar 2018 05:58:02 +0000 (14:58 +0900)]
Revert "output: set output connection status if needed"

This reverts commit ebb1cbd983e6251a7d4869538c75916a996ef3d9.

Change-Id: I8b7620d2e39f6500b7257ae0c0c2affecaf9b3a2

6 years agopackage version up to 1.16.11
Boram Park [Wed, 28 Mar 2018 04:55:21 +0000 (13:55 +0900)]
package version up to 1.16.11

Change-Id: I83da899535b541cbe57c729e7b68651885676cd4

6 years agodisplay: rename to _tdm_display_setup 92/173892/1
Boram Park [Mon, 26 Mar 2018 11:37:58 +0000 (20:37 +0900)]
display: rename to _tdm_display_setup

Change-Id: I2cb9b73d98e6b337a2c1b1b7279db6cfd3e36b3a

6 years agoutests: change pp scale test src buffer size 91/173891/1
Boram Park [Mon, 26 Mar 2018 12:08:18 +0000 (21:08 +0900)]
utests: change pp scale test src buffer size

to test YUV buffers correctly

Change-Id: I4ae8ac621df9da577caa10a32c787d0f3da4759e

6 years agoutests: fix wrong input param 90/173890/1
Boram Park [Mon, 26 Mar 2018 12:00:53 +0000 (21:00 +0900)]
utests: fix wrong input param

Change-Id: I99d930aba8cdbc080a935e0734601dee77a5f3bd

6 years agoutests: remove unuseful tcs 89/173889/1
Boram Park [Mon, 26 Mar 2018 11:24:54 +0000 (20:24 +0900)]
utests: remove unuseful tcs

Change-Id: I5acfce9cc3ee9ef2f7d8b883c8e47d73f8ea5c22

6 years agocommon: remove unuseful functions 88/173888/1
Boram Park [Mon, 26 Mar 2018 11:22:46 +0000 (20:22 +0900)]
common: remove unuseful functions

Change-Id: I47dd2ac0cde4a5acb2d0d6a2ac4bf39c9af00aa2

6 years agodisplay: move function position 87/173887/1
Boram Park [Mon, 26 Mar 2018 11:19:10 +0000 (20:19 +0900)]
display: move function position

Change-Id: Icccd42165bd5b19f97ebb2b0e358318004ab346b