Boram Park [Mon, 19 Mar 2018 06:58:38 +0000 (15:58 +0900)]
utests: check return value
Change-Id: I21868201523ec15af93d13bfc85fe17a8e770bf7
Boram Park [Mon, 19 Mar 2018 06:58:12 +0000 (15:58 +0900)]
tests: check return value
Change-Id: I15bc563500889e26f42600a6066dd0fe884fc29f
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
Boram Park [Mon, 19 Mar 2018 10:46:12 +0000 (19:46 +0900)]
capture: correct debugging logs
Change-Id: I00f06b8d917e135c269bc581605ea131f6f5d12a
Boram Park [Mon, 19 Mar 2018 10:46:00 +0000 (19:46 +0900)]
pp: correct debugging logs
Change-Id: I599a9e78919b0a0195f0ccee3c0b41544614b7fa
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
Boram Park [Tue, 20 Mar 2018 01:11:32 +0000 (10:11 +0900)]
output: enhance debugging logs
Change-Id: I01db98634347826e9a3f9b22eafa77a233d86a18
Boram Park [Tue, 20 Mar 2018 01:10:22 +0000 (10:10 +0900)]
buffer: enhance debugging logs
Change-Id: If1fda435f672768ab0a46a1c4e0f18dcc991fad8
Boram Park [Mon, 19 Mar 2018 04:53:11 +0000 (13:53 +0900)]
capture: enhance debugging logs
Change-Id: I54b5cc0ffb52ea8abc11b26b5763064524d960f7
Boram Park [Mon, 19 Mar 2018 04:53:05 +0000 (13:53 +0900)]
pp: enhance debugging logs
Change-Id: I447c3e9f8a1f359511976479d06d39c31f964292
Boram Park [Mon, 19 Mar 2018 04:30:33 +0000 (13:30 +0900)]
layer: enhance debugging logs
Change-Id: Iccea69b432837b72158a2a864b2f6d00871a95ae
Boram Park [Mon, 19 Mar 2018 04:29:41 +0000 (13:29 +0900)]
layer: add tdm_layer_get_index()
Change-Id: Id0e660ba20bd586a8368c4fc4256aa4a01ea246e
Boram Park [Fri, 16 Mar 2018 08:20:02 +0000 (17:20 +0900)]
package version up to 1.16.6
Change-Id: Ic5461303138ef6207b2fcafaaa17fd45cdbf33ff
Boram Park [Fri, 16 Mar 2018 08:05:54 +0000 (17:05 +0900)]
pp: add TDM_PP_CAPABILITY_NO_CSC
Change-Id: I4e71eed1b65b3194e4578ad07270f6c17af3a217
Boram Park [Fri, 16 Mar 2018 07:42:40 +0000 (16:42 +0900)]
buffers: use rand_r to draw noise color
Change-Id: I44ce0464c620b77ab20540b75b9dcaeb49202040
Boram Park [Fri, 16 Mar 2018 05:59:19 +0000 (14:59 +0900)]
utests: modification for macro
Change-Id: Ia2a14839ca265a86e7869bd62719dd3c05681966
Boram Park [Fri, 16 Mar 2018 05:58:57 +0000 (14:58 +0900)]
utests: some modification for helper
Change-Id: I3fd90c2a65425478d9bcbbdbdce77a0afd14f682
Boram Park [Fri, 16 Mar 2018 05:57:43 +0000 (14:57 +0900)]
helper: copy filename
Change-Id: I5d15a165ba482aad7b1280abd411035a6c57ae22
Boram Park [Fri, 16 Mar 2018 05:57:03 +0000 (14:57 +0900)]
buffers: fill 0xFF for alpha bits if XRGB8888
Change-Id: I11fe1caf16c54a927aaf935504d26b8e01d95337
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
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
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
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
Boram Park [Thu, 15 Mar 2018 07:56:56 +0000 (16:56 +0900)]
package version up to 1.16.5
Change-Id: I9052516fba6f6a7e98e22908b3a5c36f32fe67aa
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
Boram Park [Thu, 15 Mar 2018 05:28:56 +0000 (14:28 +0900)]
utests: disable SetProperty tc
not avaiable to test
Change-Id: I782bdd0f4aec95421352cb4c607e1ead13ecc2ab
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
SooChan Lim [Wed, 14 Mar 2018 10:23:34 +0000 (19:23 +0900)]
utest: initialize the hwc_wins
Change-Id: I1a21c36e580bc33da1809e08f71e9dc13f27bbf5
Boram Park [Wed, 14 Mar 2018 09:38:33 +0000 (18:38 +0900)]
package version up to 1.16.4
Change-Id: I4cf3f8c9cd537a105867c0713aa6e19e8d7c828f
Boram Park [Wed, 14 Mar 2018 07:49:41 +0000 (16:49 +0900)]
utests: correct wrong behavior
Change-Id: I636ded1f8e084f626f42f3197847d9b445c9678d
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
Boram Park [Wed, 14 Mar 2018 07:48:17 +0000 (16:48 +0900)]
thread: reset cl_list_lock when deinit
Change-Id: I9999da814337a774a6ca643da915b9c11f8c914e
Boram Park [Wed, 14 Mar 2018 07:47:32 +0000 (16:47 +0900)]
layer: add more debugging log
Change-Id: Ib2b40f60ce6f0180137684c13f443be55a861722
Boram Park [Wed, 14 Mar 2018 05:05:25 +0000 (14:05 +0900)]
vblank: calculating SW target time properly
Change-Id: I3f72412fd9b0d23ddbd5db42bed9e6f07dda322c
Boram Park [Wed, 14 Mar 2018 05:03:26 +0000 (14:03 +0900)]
thread: use PTHREAD_MUTEX_INITIALIZER
Change-Id: I4626eebb96b3e8524ea48737104c0df9d1b1871b
Boram Park [Tue, 13 Mar 2018 07:38:41 +0000 (16:38 +0900)]
utests: apply coding style
Change-Id: I6e063ca7ea46a9c2c7a0113fa95d9ed1d829366a
Boram Park [Tue, 13 Mar 2018 07:30:00 +0000 (16:30 +0900)]
package version up to 1.16.3
Change-Id: I40d9676982ebe15704123165193a99b2db2bb882
Boram Park [Tue, 13 Mar 2018 06:52:57 +0000 (15:52 +0900)]
utests: using ASSERT_XXX
Change-Id: Ib3b039753e6f3400eb22672c1af2a2f12e500ff0
Boram Park [Mon, 12 Mar 2018 23:23:18 +0000 (08:23 +0900)]
utest: correct wrong behaviors
Change-Id: I57b023a9800a0b4fba993397365c183ba81ba647
Boram Park [Mon, 12 Mar 2018 23:23:29 +0000 (08:23 +0900)]
tdm: init fd
Change-Id: I8585cd3874f01ebe8d146abd5a8ede64d52da573
Boram Park [Tue, 13 Mar 2018 04:56:32 +0000 (13:56 +0900)]
macro: add some macros for debug
Change-Id: I0f9c9738ff849d13877b0b383da5578848f4f860
Boram Park [Tue, 13 Mar 2018 04:18:04 +0000 (13:18 +0900)]
event_loop: deinit event_loop after stopping
Change-Id: Id3c6e588fa19fedf849f766df594521e17ba201c
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
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
Boram Park [Tue, 13 Mar 2018 03:12:00 +0000 (12:12 +0900)]
layer: add a missed callback
Change-Id: Ia7b2b6a467a1ef7531e5f4be51f58f559c8ae97a
Boram Park [Mon, 12 Mar 2018 08:42:25 +0000 (17:42 +0900)]
package version up to 1.16.2
Change-Id: Id92045c2da6777f7efd18dfb7d05caca73b4d04e
Boram Park [Mon, 12 Mar 2018 08:13:03 +0000 (17:13 +0900)]
output: seperate output-status and output-dpms change
Change-Id: I0fabb65405347dab1f8604827df00be274410091
Boram Park [Thu, 8 Mar 2018 12:41:20 +0000 (21:41 +0900)]
package version up to 1.16.1
Change-Id: I2ce18aa2791e733216d174f791cf190fe6d486f1
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
Boram Park [Thu, 8 Mar 2018 06:39:37 +0000 (15:39 +0900)]
utests: add more tc
Change-Id: I304f08c9f390acdfd4a7935be4a404afaa6e6c63
Boram Park [Thu, 8 Mar 2018 06:39:18 +0000 (15:39 +0900)]
output: add debugging log
Change-Id: I0dd4ef4067e18706257619a1cfb2f6dea79f0657
Boram Park [Wed, 7 Mar 2018 02:29:11 +0000 (11:29 +0900)]
package version up to 1.16.0
Change-Id: I4c0c3ba7a7e7fc5ca7b8d618bc873e4d61df53dd
Boram Park [Wed, 7 Mar 2018 01:14:55 +0000 (10:14 +0900)]
utests: correct pointer type
Change-Id: I557633d3d01b90c00005b8e1b51df0e2afc485d7
Boram Park [Wed, 7 Mar 2018 01:21:19 +0000 (10:21 +0900)]
output: add tdm_output_has_capture_capability
Change-Id: Ida5763d36449c1bb7c2734e63bdbf25eb4b0d90b
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
Boram Park [Wed, 7 Mar 2018 01:19:25 +0000 (10:19 +0900)]
backend: add checking mandatory functions
Change-Id: Ib9262959482250f95e43f7016ece3bc96581dce6
Boram Park [Wed, 7 Mar 2018 01:18:07 +0000 (10:18 +0900)]
log: add tdm_log_print_stdout
Change-Id: I9ee3b16818e868f75b7bb114182f293d94a278bc
Boram Park [Wed, 28 Feb 2018 05:47:01 +0000 (14:47 +0900)]
log: remove unused code
Change-Id: Id0683906617148ed05423561c3bf5987ad592f37
Boram Park [Fri, 2 Mar 2018 07:38:27 +0000 (16:38 +0900)]
client: add tdm_client_handle_events_timeout
Change-Id: Ifebfbe10670f7f8af366e26c8ea8e172f024d6a1
Boram Park [Fri, 2 Mar 2018 07:06:07 +0000 (16:06 +0900)]
add tdm_client_vblank_is_waiting
Change-Id: I27df05723f0544c6f063a722100b6ecdbec6c944
SooChan Lim [Tue, 27 Feb 2018 08:25:27 +0000 (17:25 +0900)]
utest: modify the TDMHwcWindow test case
Change-Id: I9fb070f824ec134051f7245c923deaa989c10cdd
SooChan Lim [Tue, 27 Feb 2018 07:45:05 +0000 (16:45 +0900)]
utest: add ut_tdm_output_hwc test case
Change-Id: Ic4f81b512034c947143eb8ca44e0f5b4e9dd0009
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
Boram Park [Tue, 27 Feb 2018 05:30:36 +0000 (14:30 +0900)]
package version up to 1.15.1
Change-Id: Ic53ee701e9eec1ca90add4148ef2ab7eaf462a81
Boram Park [Tue, 27 Feb 2018 05:24:40 +0000 (14:24 +0900)]
fix build-break
Change-Id: Ic02a14e323eee8f89e86102cd66f500fdf823772
Boram Park [Tue, 27 Feb 2018 03:08:27 +0000 (12:08 +0900)]
output: correct syntax error
Change-Id: I2dffd741c746c9295a73e22e90b32d471a1f0315
Boram Park [Tue, 27 Feb 2018 03:07:56 +0000 (12:07 +0900)]
utest: check if vblank is avaiable
Change-Id: I7cc4bea8a367e02dc69478ff5c1e1e435d288818
Boram Park [Tue, 27 Feb 2018 01:17:31 +0000 (10:17 +0900)]
log: correct log behavior
Change-Id: Ic1a1c9560e5e79a1b159a1faa8d1bb1819aa7839
Boram Park [Tue, 27 Feb 2018 01:40:38 +0000 (10:40 +0900)]
package version up to 1.15.0
Change-Id: I54312944dfee4ffdcbbb104ffa0b616844f52820
Boram Park [Tue, 20 Feb 2018 11:33:25 +0000 (20:33 +0900)]
utests: re-implementation
Change-Id: Ie7de3a978c9d9334ab60dfe17165c91e28cbc0d1
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
Boram Park [Mon, 26 Feb 2018 23:36:53 +0000 (08:36 +0900)]
log: fix memory leak
Change-Id: I50b1de495e6af2562832d2bc363991aaa17fef0d
Boram Park [Mon, 26 Feb 2018 23:34:27 +0000 (08:34 +0900)]
tests: check return value
Change-Id: I8bfdfc486e9901ac810f28f760b9f56a2d14da32
Boram Park [Mon, 26 Feb 2018 23:34:01 +0000 (08:34 +0900)]
vblank: check return value
Change-Id: I465d4528be887606e8113cdbd16f6da860dc5907
Boram Park [Mon, 26 Feb 2018 23:33:41 +0000 (08:33 +0900)]
thread: check return value
Change-Id: If06fc256f0ea39512fd0f4144529de25a41e73a0
Boram Park [Mon, 26 Feb 2018 23:33:29 +0000 (08:33 +0900)]
server: check return value
Change-Id: I1c4539a174eb3f910643600004d42bc3763692f0
Boram Park [Mon, 26 Feb 2018 23:33:02 +0000 (08:33 +0900)]
layer: remove the unused code
Change-Id: Ia74540bb15d775b26afca4183f169b38abe1f5db
Boram Park [Mon, 26 Feb 2018 23:32:41 +0000 (08:32 +0900)]
hwc: unlock before reture
Change-Id: Ic60059f20d7a4de093d951ea15800adc14ad1d99
Boram Park [Mon, 26 Feb 2018 23:31:30 +0000 (08:31 +0900)]
hwc: correct user_data
Change-Id: I7a50f519834f455c975948feec27b6ae57d49f27
Boram Park [Mon, 26 Feb 2018 23:30:49 +0000 (08:30 +0900)]
init: correct the init fail procedure
Change-Id: I08e6aca1b61c8c3dc1f1623bee5bb2c2364ecd36
Boram Park [Mon, 26 Feb 2018 23:29:45 +0000 (08:29 +0900)]
display: initializing pointer
Change-Id: I7a4bf250683afacdf621a8ee465828850055f062
Boram Park [Mon, 26 Feb 2018 23:29:36 +0000 (08:29 +0900)]
buffer: initializing pointer
Change-Id: Ifbc4bb53e006103a9ff4c4ad1692027f0f3d7ac4
Boram Park [Mon, 26 Feb 2018 23:29:23 +0000 (08:29 +0900)]
client: initializing pointer
Change-Id: I36f67b911a8335766fa9d3b0385ec4e6aef0e720
Boram Park [Mon, 26 Feb 2018 07:23:48 +0000 (16:23 +0900)]
vblank: ignore global fps for server's vblank
Change-Id: I4188bd1e539792f3a2fbb6547d39276581175896
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
Boram Park [Mon, 26 Feb 2018 06:36:25 +0000 (15:36 +0900)]
vblank: check return value
Change-Id: Iafc93e27e3d9b41c2a2ca61c1da9622f9a8b27d8
Boram Park [Mon, 26 Feb 2018 06:36:14 +0000 (15:36 +0900)]
server: check return value
Change-Id: I6efd4944ec752d7b9ce70ed67a2ef73021b1f1f1
Boram Park [Mon, 26 Feb 2018 06:35:53 +0000 (15:35 +0900)]
server: correct syntax error
Change-Id: I1fa8fa63a4acda61638a2a94b2e9023a6c75ef47
Boram Park [Mon, 26 Feb 2018 06:34:46 +0000 (15:34 +0900)]
output: correct syntax error
Change-Id: I3fd9c71554093877da1e975ce4b870a9cb9a5497
Boram Park [Mon, 26 Feb 2018 06:35:34 +0000 (15:35 +0900)]
display: add tdm_display_find_output
Change-Id: I78c86c27e3f6c8c0cbf31d04455c3024d936e9a5
Boram Park [Mon, 26 Feb 2018 06:33:21 +0000 (15:33 +0900)]
display: add tdm_display_flush
Change-Id: I8fd5bf404cac29d323a858bec482e45754d7ef9d
Boram Park [Mon, 26 Feb 2018 06:32:49 +0000 (15:32 +0900)]
client: let a server know the watch status
Change-Id: I25652d7f92bb47909ef3d3873ee0df2620261d1f
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
Boram Park [Mon, 26 Feb 2018 02:15:38 +0000 (11:15 +0900)]
client: check invalid params
Change-Id: I637a30bb799589d359c8e9bfdafdec539a062717
Boram Park [Mon, 26 Feb 2018 02:15:24 +0000 (11:15 +0900)]
client: not allow adding handler twicenot allow
Change-Id: Ibc42a95295638ccc87aba5eb6999ef73664be7b2
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
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
Boram Park [Sun, 25 Feb 2018 23:30:24 +0000 (08:30 +0900)]
vblank: offset should be greater than 0
Change-Id: Iee03c0b17b51f8a35c844b5d4f6581ada167d8eb
Boram Park [Sun, 25 Feb 2018 22:54:28 +0000 (07:54 +0900)]
vblank: interval should be greater than 0
Change-Id: I69108d7b81fd14f22d6e9f5d7fecfcf28dd3623e
Boram Park [Sun, 25 Feb 2018 22:54:12 +0000 (07:54 +0900)]
macro: add tdm_capture_type_str
Change-Id: Ie5674d055852a98e95306c1573432162704f2191