Boram Park [Tue, 10 Apr 2018 23:52:09 +0000 (08:52 +0900)]
hwc: add omitted unlocks
Change-Id: I7631a2a6d9549a5361a05de2ccdc3a65b0452b6c
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
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
Boram Park [Mon, 9 Apr 2018 11:44:18 +0000 (20:44 +0900)]
common: fix syntax error
Change-Id: Ib6c52268e151511ba4aef5f15a84ac2adcba993b
Boram Park [Mon, 9 Apr 2018 11:43:57 +0000 (20:43 +0900)]
common: remove unuseful variable
Change-Id: I1f47f58fb65b5b18f08e64b790e11c4c195e1c32
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
Boram Park [Fri, 6 Apr 2018 07:40:25 +0000 (16:40 +0900)]
common: add excluding coverage comments
Change-Id: I3608620a3fd494a1416dfb53df057241e074f114
Boram Park [Fri, 6 Apr 2018 07:38:59 +0000 (16:38 +0900)]
utests: add excluding coverage comments
Change-Id: I8533054065c261c059294bc3f8101f64d1623ab3
Boram Park [Tue, 3 Apr 2018 08:24:03 +0000 (17:24 +0900)]
event_loop: destroy clients before destroying display
Change-Id: I6e143aa8446d6cd1e3c5567604dac227b647d6fe
Boram Park [Tue, 3 Apr 2018 08:04:40 +0000 (17:04 +0900)]
doc: update dot file
Change-Id: I6cfe80a55147c2bf9ef22b4e095c2c2607dc43b0
Boram Park [Tue, 3 Apr 2018 08:04:00 +0000 (17:04 +0900)]
doc: fix carriage return
Change-Id: I850997b73174ff25e60b59c33e52b0b8cb89d1bc
Boram Park [Tue, 3 Apr 2018 07:46:34 +0000 (16:46 +0900)]
config: not export tdm_config function to backend
Change-Id: I2c8d162912c0971e6be5443c18535df81055eca7
Boram Park [Tue, 3 Apr 2018 07:26:13 +0000 (16:26 +0900)]
add plantuml, dot files
Change-Id: I99569149d5b46722426a97e8f59e39fa3db526bc
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
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
Boram Park [Mon, 2 Apr 2018 04:55:28 +0000 (13:55 +0900)]
config: move to src
Change-Id: If7c889f1704be1c0aa0d8bbd2f4b5785368feb60
Boram Park [Mon, 2 Apr 2018 03:59:08 +0000 (12:59 +0900)]
monitor: move to tools
Change-Id: I251df596f253a71293ad16b76b280e1a0372c129
Boram Park [Sun, 1 Apr 2018 22:49:01 +0000 (07:49 +0900)]
output: call output_change callbacks asynchronously
Change-Id: I72a8460101efd8e12a109c465ecd8249890b7801
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
Boram Park [Fri, 30 Mar 2018 04:32:35 +0000 (13:32 +0900)]
package version up to 1.16.12
Change-Id: I79b8bfc47a794f715802d1cecf63bfbfa9b3ab18
Boram Park [Fri, 30 Mar 2018 04:04:00 +0000 (13:04 +0900)]
add LIST_FIRST_ENTRY, LIST_LAST_ENTRY macro
Change-Id: I98adf7df5ecb3dd94627e06bda3eb253033b289d
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
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
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
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>
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
Boram Park [Wed, 28 Mar 2018 04:55:21 +0000 (13:55 +0900)]
package version up to 1.16.11
Change-Id: I83da899535b541cbe57c729e7b68651885676cd4
Boram Park [Mon, 26 Mar 2018 11:37:58 +0000 (20:37 +0900)]
display: rename to _tdm_display_setup
Change-Id: I2cb9b73d98e6b337a2c1b1b7279db6cfd3e36b3a
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
Boram Park [Mon, 26 Mar 2018 12:00:53 +0000 (21:00 +0900)]
utests: fix wrong input param
Change-Id: I99d930aba8cdbc080a935e0734601dee77a5f3bd
Boram Park [Mon, 26 Mar 2018 11:24:54 +0000 (20:24 +0900)]
utests: remove unuseful tcs
Change-Id: I5acfce9cc3ee9ef2f7d8b883c8e47d73f8ea5c22
Boram Park [Mon, 26 Mar 2018 11:22:46 +0000 (20:22 +0900)]
common: remove unuseful functions
Change-Id: I47dd2ac0cde4a5acb2d0d6a2ac4bf39c9af00aa2
Boram Park [Mon, 26 Mar 2018 11:19:10 +0000 (20:19 +0900)]
display: move function position
Change-Id: Icccd42165bd5b19f97ebb2b0e358318004ab346b
Junkyeong Kim [Mon, 26 Mar 2018 09:56:57 +0000 (18:56 +0900)]
utests: change pp scale test src buffer size
Change-Id: Ia80d1fea3d626132b4ff6ee7b638a58048d53a17
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Mon, 26 Mar 2018 06:23:30 +0000 (15:23 +0900)]
correct email address
Change-Id: I75c8d8e7b4937d5812021890d7f47e34bb219fec
Boram Park [Mon, 26 Mar 2018 05:29:53 +0000 (14:29 +0900)]
utests: fix build-error
Change-Id: Id0f1188f4ebbf46af4549151a33dfef63c043c54
Boram Park [Mon, 26 Mar 2018 05:16:46 +0000 (14:16 +0900)]
package version up to 1.16.10
Change-Id: I1029cb73e838a998f046f5987b97c9c6c2486139
Boram Park [Mon, 26 Mar 2018 05:11:32 +0000 (14:11 +0900)]
utests: fix warning message
Change-Id: Ied96807659fdc9189064edf1a6e2c1eaad20df36
Boram Park [Mon, 26 Mar 2018 03:00:27 +0000 (12:00 +0900)]
utests: fix getchar issue
Change-Id: I1e217b2594be0b46564626d8fe103a49fb3f6349
Boram Park [Mon, 26 Mar 2018 01:16:34 +0000 (10:16 +0900)]
event_loop: ensure freeing sources when deinit
Change-Id: I1eca94d1e572e7b6ce4d799c18f5d3d61a48e252
Boram Park [Fri, 23 Mar 2018 05:11:07 +0000 (14:11 +0900)]
package version up to 1.16.9
Change-Id: Icab648436c08d43e6d7bdf9592329b8a4aa84087
Boram Park [Fri, 23 Mar 2018 04:52:30 +0000 (13:52 +0900)]
rename to tdm_log_printf
Change-Id: I3e44a3e79c1e788d4a0c0d0c1f626f45c0a041a8
Boram Park [Fri, 23 Mar 2018 04:43:31 +0000 (13:43 +0900)]
output: print out the missed log
Change-Id: I862e3710709fbdad2a56902c263746e35589fc3d
Boram Park [Fri, 23 Mar 2018 04:39:32 +0000 (13:39 +0900)]
log: enhance debugging logs
Change-Id: I6fcf7705e60652ecd6987737aed4686de9569d65
Boram Park [Thu, 22 Mar 2018 09:35:13 +0000 (18:35 +0900)]
package version up to 1.16.8
Change-Id: I1dfa7c51b5e5912899ff079c9be1c939a108a138
Boram Park [Thu, 22 Mar 2018 09:31:41 +0000 (18:31 +0900)]
utests: change log level
Change-Id: Icfb0e00e9edf45fa8dfccc881274802d0e583da0
Boram Park [Thu, 22 Mar 2018 09:20:44 +0000 (18:20 +0900)]
common: remove redundant logs
Change-Id: I6843477d9227ec3db27200a1c82646acff3798f5
Boram Park [Thu, 22 Mar 2018 09:09:10 +0000 (18:09 +0900)]
dummy: consider vblank interval
Change-Id: Ifcee3acc89ec9938e1174a8a17bffb2f59aea68f
Boram Park [Thu, 22 Mar 2018 08:39:45 +0000 (17:39 +0900)]
output: set output connection status if needed
Change-Id: I8352ba1d63193ecf97ab64d568e8673451f9f766
Boram Park [Thu, 22 Mar 2018 04:44:29 +0000 (13:44 +0900)]
config: fix infinite loop
Change-Id: I8e74042c6cc711e64bc7f932dc2cb66be731872d
Boram Park [Tue, 20 Mar 2018 09:58:14 +0000 (18:58 +0900)]
utest: remove unuseful tcs
Change-Id: I84fa3d1f9839e9d70745766767a3bdc8323890fe
Boram Park [Tue, 20 Mar 2018 09:39:25 +0000 (18:39 +0900)]
package version up to 1.16.7
Change-Id: Ifda4cc084c2bd44ba1b1e279bddb0b914ad80cfa
Boram Park [Tue, 20 Mar 2018 08:09:23 +0000 (17:09 +0900)]
thread: sending the exit request instead of using pthread_cancel
To ensure that all operations in the tdm thread are done
Change-Id: I05aa6a1d187876522eeaaa2a694bdc2cc8673516
Boram Park [Tue, 20 Mar 2018 01:53:30 +0000 (10:53 +0900)]
common: add description for pp, capture capability
Change-Id: I3e11cb35c4a4f752282756e339e07e4f939437c0
Boram Park [Mon, 19 Mar 2018 10:46:30 +0000 (19:46 +0900)]
utests: show the result via a layer
Change-Id: I8ca6f448a2a124f0f2925ba7a26a652ebe57b6ec
Boram Park [Mon, 19 Mar 2018 06:58:54 +0000 (15:58 +0900)]
utests: set initialized value
Change-Id: I79b87512b495d271cbe1ed266aeebf9aa8ccff6b
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