platform/core/uifw/libtdm.git
6 years agocommon: add description for pp, capture capability 61/173161/2
Boram Park [Tue, 20 Mar 2018 01:53:30 +0000 (10:53 +0900)]
common: add description for pp, capture capability

Change-Id: I3e11cb35c4a4f752282756e339e07e4f939437c0

6 years agoutests: show the result via a layer 58/173158/2
Boram Park [Mon, 19 Mar 2018 10:46:30 +0000 (19:46 +0900)]
utests: show the result via a layer

Change-Id: I8ca6f448a2a124f0f2925ba7a26a652ebe57b6ec

6 years agoutests: set initialized value 57/173157/2
Boram Park [Mon, 19 Mar 2018 06:58:54 +0000 (15:58 +0900)]
utests: set initialized value

Change-Id: I79b87512b495d271cbe1ed266aeebf9aa8ccff6b

6 years agoutests: check return value 56/173156/2
Boram Park [Mon, 19 Mar 2018 06:58:38 +0000 (15:58 +0900)]
utests: check return value

Change-Id: I21868201523ec15af93d13bfc85fe17a8e770bf7

6 years agotests: check return value 55/173155/2
Boram Park [Mon, 19 Mar 2018 06:58:12 +0000 (15:58 +0900)]
tests: check return value

Change-Id: I15bc563500889e26f42600a6066dd0fe884fc29f

6 years agomutex: remove pthread_mutex_trylock 54/173154/2
Boram Park [Mon, 19 Mar 2018 06:57:54 +0000 (15:57 +0900)]
mutex: remove pthread_mutex_trylock

We don't need to call pthread_mutex_trylock to call pthread_mutex_unlock.
Just call pthread_mutex_unlock to ensure all mutexes are locked.

Change-Id: Id43c9fdddaa400454f9d462430ae90ecf25615c8

6 years agocapture: correct debugging logs 53/173153/1
Boram Park [Mon, 19 Mar 2018 10:46:12 +0000 (19:46 +0900)]
capture: correct debugging logs

Change-Id: I00f06b8d917e135c269bc581605ea131f6f5d12a

6 years agopp: correct debugging logs 52/173152/1
Boram Park [Mon, 19 Mar 2018 10:46:00 +0000 (19:46 +0900)]
pp: correct debugging logs

Change-Id: I599a9e78919b0a0195f0ccee3c0b41544614b7fa

6 years agopp: remove unuseful pp capabilities 51/173151/1
Boram Park [Mon, 19 Mar 2018 05:10:22 +0000 (14:10 +0900)]
pp: remove unuseful pp capabilities

scale and transform seems as the default pp capabilities.

Change-Id: I68eff0222105f1e255210ea1ebe58a22599af32a

6 years agooutput: enhance debugging logs 50/173150/1
Boram Park [Tue, 20 Mar 2018 01:11:32 +0000 (10:11 +0900)]
output: enhance debugging logs

Change-Id: I01db98634347826e9a3f9b22eafa77a233d86a18

6 years agobuffer: enhance debugging logs 49/173149/1
Boram Park [Tue, 20 Mar 2018 01:10:22 +0000 (10:10 +0900)]
buffer: enhance debugging logs

Change-Id: If1fda435f672768ab0a46a1c4e0f18dcc991fad8

6 years agocapture: enhance debugging logs 48/173148/1
Boram Park [Mon, 19 Mar 2018 04:53:11 +0000 (13:53 +0900)]
capture: enhance debugging logs

Change-Id: I54b5cc0ffb52ea8abc11b26b5763064524d960f7

6 years agopp: enhance debugging logs 47/173147/1
Boram Park [Mon, 19 Mar 2018 04:53:05 +0000 (13:53 +0900)]
pp: enhance debugging logs

Change-Id: I447c3e9f8a1f359511976479d06d39c31f964292

6 years agolayer: enhance debugging logs 46/173146/1
Boram Park [Mon, 19 Mar 2018 04:30:33 +0000 (13:30 +0900)]
layer: enhance debugging logs

Change-Id: Iccea69b432837b72158a2a864b2f6d00871a95ae

6 years agolayer: add tdm_layer_get_index() 45/173145/1
Boram Park [Mon, 19 Mar 2018 04:29:41 +0000 (13:29 +0900)]
layer: add tdm_layer_get_index()

Change-Id: Id0e660ba20bd586a8368c4fc4256aa4a01ea246e

6 years agopackage version up to 1.16.6 submit/tizen/20180316.082049
Boram Park [Fri, 16 Mar 2018 08:20:02 +0000 (17:20 +0900)]
package version up to 1.16.6

Change-Id: Ic5461303138ef6207b2fcafaaa17fd45cdbf33ff

6 years agopp: add TDM_PP_CAPABILITY_NO_CSC 41/172841/4
Boram Park [Fri, 16 Mar 2018 08:05:54 +0000 (17:05 +0900)]
pp: add TDM_PP_CAPABILITY_NO_CSC

Change-Id: I4e71eed1b65b3194e4578ad07270f6c17af3a217

6 years agobuffers: use rand_r to draw noise color 40/172840/3
Boram Park [Fri, 16 Mar 2018 07:42:40 +0000 (16:42 +0900)]
buffers: use rand_r to draw noise color

Change-Id: I44ce0464c620b77ab20540b75b9dcaeb49202040

6 years agoutests: modification for macro 39/172839/3
Boram Park [Fri, 16 Mar 2018 05:59:19 +0000 (14:59 +0900)]
utests: modification for macro

Change-Id: Ia2a14839ca265a86e7869bd62719dd3c05681966

6 years agoutests: some modification for helper 38/172838/3
Boram Park [Fri, 16 Mar 2018 05:58:57 +0000 (14:58 +0900)]
utests: some modification for helper

Change-Id: I3fd90c2a65425478d9bcbbdbdce77a0afd14f682

6 years agohelper: copy filename 37/172837/1
Boram Park [Fri, 16 Mar 2018 05:57:43 +0000 (14:57 +0900)]
helper: copy filename

Change-Id: I5d15a165ba482aad7b1280abd411035a6c57ae22

6 years agobuffers: fill 0xFF for alpha bits if XRGB8888 36/172836/1
Boram Park [Fri, 16 Mar 2018 05:57:03 +0000 (14:57 +0900)]
buffers: fill 0xFF for alpha bits if XRGB8888

Change-Id: I11fe1caf16c54a927aaf935504d26b8e01d95337

6 years agohelper: remove unsupported format 35/172835/1
Boram Park [Fri, 16 Mar 2018 05:55:26 +0000 (14:55 +0900)]
helper: remove unsupported format

YUYV, UYVY doesn't seem to work properly

Change-Id: I923f2e52d54e37c78af02cad0fec0ca994501ad7

6 years agothread: correct the infinite event propagation issue 72/172772/1
Boram Park [Fri, 16 Mar 2018 01:17:28 +0000 (10:17 +0900)]
thread: correct the infinite event propagation issue

when calling tdm_thread_cb_call, 'propagation' param will help to decide if
we need to propagate a event to other thread or not. and checking
waiting_cb_type variable is not needed any more.

Change-Id: I59929cb8dc1dd1ada2e7b8acfa9095a174e12928

6 years agoRevert "Revert "output: seperate output-status and output-dpms change"" 71/172771/1
Boram Park [Fri, 16 Mar 2018 00:17:07 +0000 (09:17 +0900)]
Revert "Revert "output: seperate output-status and output-dpms change""

This reverts commit 3dab774282940b13db1792b57deaf50109d9d5e3.

Change-Id: I64aec7755e0822b85b28e420b4fd2727b6763e51

6 years agoRevert "output: seperate output-status and output-dpms change" 65/172765/1 accepted/tizen/unified/20180316.062431 submit/tizen/20180314.093754
Boram Park [Thu, 15 Mar 2018 23:35:32 +0000 (08:35 +0900)]
Revert "output: seperate output-status and output-dpms change"

This reverts commit dd84f199e0e855ca945bae239c152fa22147af53.

Change-Id: I0aa9117c9dac6ee5664f549bcf25a51fca072efb

6 years agopackage version up to 1.16.5
Boram Park [Thu, 15 Mar 2018 07:56:56 +0000 (16:56 +0900)]
package version up to 1.16.5

Change-Id: I9052516fba6f6a7e98e22908b3a5c36f32fe67aa

6 years agoutests: fix deadlock 93/172693/1
Boram Park [Thu, 15 Mar 2018 05:30:23 +0000 (14:30 +0900)]
utests: fix deadlock

after adding change handler, have to call handle_events to dispatch events.

Change-Id: Id8bc3b52508b383b5fc204bfc493d79cf172065d

6 years agoutests: disable SetProperty tc 92/172692/1
Boram Park [Thu, 15 Mar 2018 05:28:56 +0000 (14:28 +0900)]
utests: disable SetProperty tc

not avaiable to test

Change-Id: I782bdd0f4aec95421352cb4c607e1ead13ecc2ab

6 years agoclient: reset watch_output_changes when removing all handlers 91/172691/1
Boram Park [Thu, 15 Mar 2018 05:28:12 +0000 (14:28 +0900)]
client: reset watch_output_changes when removing all handlers

Change-Id: I985579a2c5022a97d0ae7834280b22857bc484dc

6 years agoutest: initialize the hwc_wins 46/172546/1
SooChan Lim [Wed, 14 Mar 2018 10:23:34 +0000 (19:23 +0900)]
utest: initialize the hwc_wins

Change-Id: I1a21c36e580bc33da1809e08f71e9dc13f27bbf5

6 years agopackage version up to 1.16.4
Boram Park [Wed, 14 Mar 2018 09:38:33 +0000 (18:38 +0900)]
package version up to 1.16.4

Change-Id: I4cf3f8c9cd537a105867c0713aa6e19e8d7c828f

6 years agoutests: correct wrong behavior 10/172510/3
Boram Park [Wed, 14 Mar 2018 07:49:41 +0000 (16:49 +0900)]
utests: correct wrong behavior

Change-Id: I636ded1f8e084f626f42f3197847d9b445c9678d

6 years agothread: remove caller_tid information when adding and removing thread_cb 09/172509/1
Boram Park [Wed, 14 Mar 2018 07:48:44 +0000 (16:48 +0900)]
thread: remove caller_tid information when adding and removing thread_cb

Change-Id: Ib5edb635cac1335a27c71fb478b88577f31f1fac

6 years agothread: reset cl_list_lock when deinit 08/172508/1
Boram Park [Wed, 14 Mar 2018 07:48:17 +0000 (16:48 +0900)]
thread: reset cl_list_lock when deinit

Change-Id: I9999da814337a774a6ca643da915b9c11f8c914e

6 years agolayer: add more debugging log 07/172507/1
Boram Park [Wed, 14 Mar 2018 07:47:32 +0000 (16:47 +0900)]
layer: add more debugging log

Change-Id: Ib2b40f60ce6f0180137684c13f443be55a861722

6 years agovblank: calculating SW target time properly 06/172506/1
Boram Park [Wed, 14 Mar 2018 05:05:25 +0000 (14:05 +0900)]
vblank: calculating SW target time properly

Change-Id: I3f72412fd9b0d23ddbd5db42bed9e6f07dda322c

6 years agothread: use PTHREAD_MUTEX_INITIALIZER 05/172505/1
Boram Park [Wed, 14 Mar 2018 05:03:26 +0000 (14:03 +0900)]
thread: use PTHREAD_MUTEX_INITIALIZER

Change-Id: I4626eebb96b3e8524ea48737104c0df9d1b1871b

6 years agoutests: apply coding style 19/172319/1
Boram Park [Tue, 13 Mar 2018 07:38:41 +0000 (16:38 +0900)]
utests: apply coding style

Change-Id: I6e063ca7ea46a9c2c7a0113fa95d9ed1d829366a

6 years agopackage version up to 1.16.3 16/172316/1 accepted/tizen/unified/20180314.062059 submit/tizen/20180313.073140
Boram Park [Tue, 13 Mar 2018 07:30:00 +0000 (16:30 +0900)]
package version up to 1.16.3

Change-Id: I40d9676982ebe15704123165193a99b2db2bb882

6 years agoutests: using ASSERT_XXX 04/172304/2
Boram Park [Tue, 13 Mar 2018 06:52:57 +0000 (15:52 +0900)]
utests: using ASSERT_XXX

Change-Id: Ib3b039753e6f3400eb22672c1af2a2f12e500ff0

6 years agoutest: correct wrong behaviors 87/172287/2
Boram Park [Mon, 12 Mar 2018 23:23:18 +0000 (08:23 +0900)]
utest: correct wrong behaviors

Change-Id: I57b023a9800a0b4fba993397365c183ba81ba647

6 years agotdm: init fd 86/172286/2
Boram Park [Mon, 12 Mar 2018 23:23:29 +0000 (08:23 +0900)]
tdm: init  fd

Change-Id: I8585cd3874f01ebe8d146abd5a8ede64d52da573

6 years agomacro: add some macros for debug 85/172285/2
Boram Park [Tue, 13 Mar 2018 04:56:32 +0000 (13:56 +0900)]
macro: add some macros for debug

Change-Id: I0f9c9738ff849d13877b0b383da5578848f4f860

6 years agoevent_loop: deinit event_loop after stopping 84/172284/2
Boram Park [Tue, 13 Mar 2018 04:18:04 +0000 (13:18 +0900)]
event_loop: deinit event_loop after stopping

Change-Id: Id3c6e588fa19fedf849f766df594521e17ba201c

6 years agoclient: lock / unlock in tdm_client_handle_events_timeout 83/172283/2
Boram Park [Tue, 13 Mar 2018 04:17:23 +0000 (13:17 +0900)]
client: lock / unlock in tdm_client_handle_events_timeout

Change-Id: I6749fef9293951b5e188634756e74d2e56f5c81f

6 years agooutput: add thread_cb even if func is null 82/172282/2
Boram Park [Tue, 13 Mar 2018 03:12:24 +0000 (12:12 +0900)]
output: add thread_cb even if func is null

Change-Id: I64eb5588a02ef5d351e9e7debaf7faf00b40f558

6 years agolayer: add a missed callback 81/172281/2
Boram Park [Tue, 13 Mar 2018 03:12:00 +0000 (12:12 +0900)]
layer: add a missed callback

Change-Id: Ia7b2b6a467a1ef7531e5f4be51f58f559c8ae97a

6 years agopackage version up to 1.16.2 accepted/tizen/unified/20180313.061047 submit/tizen/20180312.084240
Boram Park [Mon, 12 Mar 2018 08:42:25 +0000 (17:42 +0900)]
package version up to 1.16.2

Change-Id: Id92045c2da6777f7efd18dfb7d05caca73b4d04e

6 years agooutput: seperate output-status and output-dpms change 58/172158/2
Boram Park [Mon, 12 Mar 2018 08:13:03 +0000 (17:13 +0900)]
output: seperate output-status and output-dpms change

Change-Id: I0fabb65405347dab1f8604827df00be274410091

6 years agopackage version up to 1.16.1 accepted/tizen/unified/20180309.202958 submit/tizen/20180308.124132
Boram Park [Thu, 8 Mar 2018 12:41:20 +0000 (21:41 +0900)]
package version up to 1.16.1

Change-Id: I2ce18aa2791e733216d174f791cf190fe6d486f1

6 years agothread: checking waiting cb_type 94/171994/1
Boram Park [Thu, 8 Mar 2018 12:35:07 +0000 (21:35 +0900)]
thread: checking waiting cb_type

if waiting_cb_type != cb_type->type, send cb to other thread if needed.
when a thread is waiting status, if other thread tries to send the same type cb
as sync, we CAN'T handle it. So we'd better make assert it to find another
solution.

Change-Id: I06f92b2814a3a4e0d23d9d6df3c8b17526e1175f

6 years agoutests: add more tc 25/171925/1
Boram Park [Thu, 8 Mar 2018 06:39:37 +0000 (15:39 +0900)]
utests: add more tc

Change-Id: I304f08c9f390acdfd4a7935be4a404afaa6e6c63

6 years agooutput: add debugging log 24/171924/1
Boram Park [Thu, 8 Mar 2018 06:39:18 +0000 (15:39 +0900)]
output: add debugging log

Change-Id: I0dd4ef4067e18706257619a1cfb2f6dea79f0657

6 years agopackage version up to 1.16.0 accepted/tizen/unified/20180307.071357 submit/tizen/20180307.022920
Boram Park [Wed, 7 Mar 2018 02:29:11 +0000 (11:29 +0900)]
package version up to 1.16.0

Change-Id: I4c0c3ba7a7e7fc5ca7b8d618bc873e4d61df53dd

6 years agoutests: correct pointer type 13/171713/1
Boram Park [Wed, 7 Mar 2018 01:14:55 +0000 (10:14 +0900)]
utests: correct pointer type

Change-Id: I557633d3d01b90c00005b8e1b51df0e2afc485d7

6 years agooutput: add tdm_output_has_capture_capability 12/171712/1
Boram Park [Wed, 7 Mar 2018 01:21:19 +0000 (10:21 +0900)]
output: add tdm_output_has_capture_capability

Change-Id: Ida5763d36449c1bb7c2734e63bdbf25eb4b0d90b

6 years agooutput: correct buffer leak when calling tdm_output_commit without a handler 11/171711/1
Boram Park [Wed, 7 Mar 2018 01:20:54 +0000 (10:20 +0900)]
output: correct buffer leak when calling tdm_output_commit without a handler

Change-Id: I032d556d6cab02d5bed3076e91fe57ed745a6bd3

6 years agobackend: add checking mandatory functions 10/171710/1
Boram Park [Wed, 7 Mar 2018 01:19:25 +0000 (10:19 +0900)]
backend: add checking mandatory functions

Change-Id: Ib9262959482250f95e43f7016ece3bc96581dce6

6 years agolog: add tdm_log_print_stdout 09/171709/1
Boram Park [Wed, 7 Mar 2018 01:18:07 +0000 (10:18 +0900)]
log: add tdm_log_print_stdout

Change-Id: I9ee3b16818e868f75b7bb114182f293d94a278bc

6 years agolog: remove unused code 91/171291/2
Boram Park [Wed, 28 Feb 2018 05:47:01 +0000 (14:47 +0900)]
log: remove unused code

Change-Id: Id0683906617148ed05423561c3bf5987ad592f37

6 years agoclient: add tdm_client_handle_events_timeout 86/171386/2
Boram Park [Fri, 2 Mar 2018 07:38:27 +0000 (16:38 +0900)]
client: add tdm_client_handle_events_timeout

Change-Id: Ifebfbe10670f7f8af366e26c8ea8e172f024d6a1

6 years agoadd tdm_client_vblank_is_waiting 85/171385/3
Boram Park [Fri, 2 Mar 2018 07:06:07 +0000 (16:06 +0900)]
add tdm_client_vblank_is_waiting

Change-Id: I27df05723f0544c6f063a722100b6ecdbec6c944

6 years agoutest: modify the TDMHwcWindow test case 85/171185/2
SooChan Lim [Tue, 27 Feb 2018 08:25:27 +0000 (17:25 +0900)]
utest: modify the TDMHwcWindow test case

Change-Id: I9fb070f824ec134051f7245c923deaa989c10cdd

6 years agoutest: add ut_tdm_output_hwc test case 84/171184/2
SooChan Lim [Tue, 27 Feb 2018 07:45:05 +0000 (16:45 +0900)]
utest: add ut_tdm_output_hwc test case

Change-Id: Ic4f81b512034c947143eb8ca44e0f5b4e9dd0009

6 years agorename tdm_backend to tdm_module 72/171172/1 accepted/tizen/unified/20180302.061438 submit/tizen/20180227.053105
Boram Park [Tue, 27 Feb 2018 06:48:21 +0000 (15:48 +0900)]
rename tdm_backend to tdm_module

initrd-recovery already uses 'tdm_backend' word. no other choice.

Change-Id: I69acef25a284bd1a5872c6b4ee7ad5771f6a5bac

6 years agopackage version up to 1.15.1
Boram Park [Tue, 27 Feb 2018 05:30:36 +0000 (14:30 +0900)]
package version up to 1.15.1

Change-Id: Ic53ee701e9eec1ca90add4148ef2ab7eaf462a81

6 years agofix build-break 55/171155/1
Boram Park [Tue, 27 Feb 2018 05:24:40 +0000 (14:24 +0900)]
fix build-break

Change-Id: Ic02a14e323eee8f89e86102cd66f500fdf823772

6 years agooutput: correct syntax error 50/171150/1
Boram Park [Tue, 27 Feb 2018 03:08:27 +0000 (12:08 +0900)]
output: correct syntax error

Change-Id: I2dffd741c746c9295a73e22e90b32d471a1f0315

6 years agoutest: check if vblank is avaiable 49/171149/1
Boram Park [Tue, 27 Feb 2018 03:07:56 +0000 (12:07 +0900)]
utest: check if vblank is avaiable

Change-Id: I7cc4bea8a367e02dc69478ff5c1e1e435d288818

6 years agolog: correct log behavior 31/171131/2
Boram Park [Tue, 27 Feb 2018 01:17:31 +0000 (10:17 +0900)]
log: correct log behavior

Change-Id: Ic1a1c9560e5e79a1b159a1faa8d1bb1819aa7839

6 years agopackage version up to 1.15.0 submit/tizen/20180227.014049
Boram Park [Tue, 27 Feb 2018 01:40:38 +0000 (10:40 +0900)]
package version up to 1.15.0

Change-Id: I54312944dfee4ffdcbbb104ffa0b616844f52820

6 years agoutests: re-implementation 66/171066/7
Boram Park [Tue, 20 Feb 2018 11:33:25 +0000 (20:33 +0900)]
utests: re-implementation

Change-Id: Ie7de3a978c9d9334ab60dfe17165c91e28cbc0d1

6 years agolog: check TDM_DLOG in tdm_log_enable_dlog 26/171126/3
Boram Park [Mon, 26 Feb 2018 23:38:54 +0000 (08:38 +0900)]
log: check TDM_DLOG in tdm_log_enable_dlog

checking it in tdm_log_print is excuted in every log.

Change-Id: I6cc4c132c8cf8188f0bdf702560f3e8e51a5050c

6 years agolog: fix memory leak 25/171125/3
Boram Park [Mon, 26 Feb 2018 23:36:53 +0000 (08:36 +0900)]
log: fix memory leak

Change-Id: I50b1de495e6af2562832d2bc363991aaa17fef0d

6 years agotests: check return value 24/171124/3
Boram Park [Mon, 26 Feb 2018 23:34:27 +0000 (08:34 +0900)]
tests: check return value

Change-Id: I8bfdfc486e9901ac810f28f760b9f56a2d14da32

6 years agovblank: check return value 23/171123/3
Boram Park [Mon, 26 Feb 2018 23:34:01 +0000 (08:34 +0900)]
vblank: check return value

Change-Id: I465d4528be887606e8113cdbd16f6da860dc5907

6 years agothread: check return value 22/171122/3
Boram Park [Mon, 26 Feb 2018 23:33:41 +0000 (08:33 +0900)]
thread: check return value

Change-Id: If06fc256f0ea39512fd0f4144529de25a41e73a0

6 years agoserver: check return value 21/171121/3
Boram Park [Mon, 26 Feb 2018 23:33:29 +0000 (08:33 +0900)]
server: check return value

Change-Id: I1c4539a174eb3f910643600004d42bc3763692f0

6 years agolayer: remove the unused code 20/171120/3
Boram Park [Mon, 26 Feb 2018 23:33:02 +0000 (08:33 +0900)]
layer: remove the unused code

Change-Id: Ia74540bb15d775b26afca4183f169b38abe1f5db

6 years agohwc: unlock before reture 19/171119/3
Boram Park [Mon, 26 Feb 2018 23:32:41 +0000 (08:32 +0900)]
hwc: unlock before reture

Change-Id: Ic60059f20d7a4de093d951ea15800adc14ad1d99

6 years agohwc: correct user_data 17/171117/3
Boram Park [Mon, 26 Feb 2018 23:31:30 +0000 (08:31 +0900)]
hwc: correct user_data

Change-Id: I7a50f519834f455c975948feec27b6ae57d49f27

6 years agoinit: correct the init fail procedure 16/171116/2
Boram Park [Mon, 26 Feb 2018 23:30:49 +0000 (08:30 +0900)]
init: correct the init fail procedure

Change-Id: I08e6aca1b61c8c3dc1f1623bee5bb2c2364ecd36

6 years agodisplay: initializing pointer 15/171115/2
Boram Park [Mon, 26 Feb 2018 23:29:45 +0000 (08:29 +0900)]
display: initializing pointer

Change-Id: I7a4bf250683afacdf621a8ee465828850055f062

6 years agobuffer: initializing pointer 14/171114/2
Boram Park [Mon, 26 Feb 2018 23:29:36 +0000 (08:29 +0900)]
buffer: initializing pointer

Change-Id: Ifbc4bb53e006103a9ff4c4ad1692027f0f3d7ac4

6 years agoclient: initializing pointer 13/171113/2
Boram Park [Mon, 26 Feb 2018 23:29:23 +0000 (08:29 +0900)]
client: initializing pointer

Change-Id: I36f67b911a8335766fa9d3b0385ec4e6aef0e720

6 years agovblank: ignore global fps for server's vblank 65/171065/2
Boram Park [Mon, 26 Feb 2018 07:23:48 +0000 (16:23 +0900)]
vblank: ignore global fps for server's vblank

Change-Id: I4188bd1e539792f3a2fbb6547d39276581175896

6 years agothread: fix deadlock issue 64/171064/2
Boram Park [Mon, 26 Feb 2018 06:38:41 +0000 (15:38 +0900)]
thread: fix deadlock issue

when there are callbacks in cb_list[0] and cb_list[1], display-thread and tdm-
thread are slept in pthread_cond_wait.

Change-Id: If5d459b5f8579fcbf05765de12f76cca548de6eb

6 years agovblank: check return value 63/171063/2
Boram Park [Mon, 26 Feb 2018 06:36:25 +0000 (15:36 +0900)]
vblank: check return value

Change-Id: Iafc93e27e3d9b41c2a2ca61c1da9622f9a8b27d8

6 years agoserver: check return value 62/171062/2
Boram Park [Mon, 26 Feb 2018 06:36:14 +0000 (15:36 +0900)]
server: check return value

Change-Id: I6efd4944ec752d7b9ce70ed67a2ef73021b1f1f1

6 years agoserver: correct syntax error 61/171061/2
Boram Park [Mon, 26 Feb 2018 06:35:53 +0000 (15:35 +0900)]
server: correct syntax error

Change-Id: I1fa8fa63a4acda61638a2a94b2e9023a6c75ef47

6 years agooutput: correct syntax error 60/171060/2
Boram Park [Mon, 26 Feb 2018 06:34:46 +0000 (15:34 +0900)]
output: correct syntax error

Change-Id: I3fd9c71554093877da1e975ce4b870a9cb9a5497

6 years agodisplay: add tdm_display_find_output 59/171059/2
Boram Park [Mon, 26 Feb 2018 06:35:34 +0000 (15:35 +0900)]
display: add tdm_display_find_output

Change-Id: I78c86c27e3f6c8c0cbf31d04455c3024d936e9a5

6 years agodisplay: add tdm_display_flush 58/171058/2
Boram Park [Mon, 26 Feb 2018 06:33:21 +0000 (15:33 +0900)]
display: add tdm_display_flush

Change-Id: I8fd5bf404cac29d323a858bec482e45754d7ef9d

6 years agoclient: let a server know the watch status 57/171057/2
Boram Park [Mon, 26 Feb 2018 06:32:49 +0000 (15:32 +0900)]
client: let a server know the watch status

Change-Id: I25652d7f92bb47909ef3d3873ee0df2620261d1f

6 years agoclient: no need to check watch_output_changes 56/171056/2
Boram Park [Mon, 26 Feb 2018 06:31:36 +0000 (15:31 +0900)]
client: no need to check watch_output_changes

1) If watch_output_changes == true, private_output->dpms has been already updated
in _tdm_client_output_cb_dpms.
2) If watch_output_changes == false, server will return TDM_ERROR_DPMS_OFF. The
dpms value in client side is not important. If a client calls tdm_client_output_get_dpms,
private_output->dpms will be updated.

Change-Id: I6d6ea1df74955c44ce02c2d7a39aa589d38ba516

6 years agoclient: check invalid params 55/171055/2
Boram Park [Mon, 26 Feb 2018 02:15:38 +0000 (11:15 +0900)]
client: check invalid params

Change-Id: I637a30bb799589d359c8e9bfdafdec539a062717

6 years agoclient: not allow adding handler twicenot allow 54/171054/2
Boram Park [Mon, 26 Feb 2018 02:15:24 +0000 (11:15 +0900)]
client: not allow adding handler twicenot allow

Change-Id: Ibc42a95295638ccc87aba5eb6999ef73664be7b2

6 years agoclient: fix deadlock issue 53/171053/2
Boram Park [Mon, 26 Feb 2018 00:16:53 +0000 (09:16 +0900)]
client: fix deadlock issue

tdmp_vblank shouldn't be protected by mutex.

Change-Id: I9bf718402774d3109b0482c2e8f80c4baeee8c54

6 years agooutput: update caps only in case of changing status between connection and disconnection 06/171006/2
Boram Park [Sun, 25 Feb 2018 22:55:23 +0000 (07:55 +0900)]
output: update caps only in case of changing status between connection and disconnection

Change-Id: I63126a368331b494b3a4aa9c17a7e2abbc75a058