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
Boram Park [Sun, 25 Feb 2018 22:53:57 +0000 (07:53 +0900)]
log: TDM_DEBUG env for debugging
Change-Id: I820e71c3dbb27fd6d7b5677f4c295c55367711e3
Boram Park [Sun, 25 Feb 2018 22:53:47 +0000 (07:53 +0900)]
log: add return char only in case of stdout
Change-Id: Ia87ae3a1fdceec67d93280f3e238092f544bc851
Boram Park [Sun, 25 Feb 2018 22:53:13 +0000 (07:53 +0900)]
layer: correct return type
TDM_ERROR_NONE seems right because flags is set to 0 as default
Change-Id: I351454370b6e001ec1ba3ee1cccd514e1d6df908
Boram Park [Fri, 23 Feb 2018 06:43:18 +0000 (15:43 +0900)]
protect a handler list with mutex
Change-Id: I120a0fbf28cdf64f81318dc7f6c544b994c4662a
Boram Park [Fri, 23 Feb 2018 06:40:24 +0000 (15:40 +0900)]
vblank: correct printf format
Change-Id: I088fd0ce9acef399f8f0ff03de80da76f4fbe3a3
Boram Park [Fri, 23 Feb 2018 06:39:09 +0000 (15:39 +0900)]
vblank: add tdm_vblank_get_output
Change-Id: Ibad717742bb0ebe8ad7b92926c1b48bdc3fc37ac
Boram Park [Fri, 23 Feb 2018 06:38:44 +0000 (15:38 +0900)]
layer: fix syntax error
Change-Id: Ie57843ae9735804d50e3118340d86b9fa0db56ca
Boram Park [Fri, 23 Feb 2018 06:38:12 +0000 (15:38 +0900)]
output: not allow adding handler twice
Change-Id: I63ff48c75010263e96f765366d6a7f3ec5988dae
Boram Park [Fri, 23 Feb 2018 06:37:50 +0000 (15:37 +0900)]
buffer: not allow adding handler twice
Change-Id: I385a17820ff81f527ab21e0d01dbe07e274dace0
Boram Park [Fri, 23 Feb 2018 06:37:11 +0000 (15:37 +0900)]
tdm: add missed description
Change-Id: I91f0053a9e97459ec5269cc1fb638adc310c74e4
Boram Park [Fri, 23 Feb 2018 01:50:40 +0000 (10:50 +0900)]
output: don't touch return params when failed
Change-Id: Iba17eb76a47078f3bd37e338318bbcc8354a69d6
Boram Park [Fri, 23 Feb 2018 00:09:59 +0000 (09:09 +0900)]
thread: remove test code
Change-Id: I70f8d4bde93c521ba12ec2177666806da921e7e6
Boram Park [Fri, 23 Feb 2018 00:05:24 +0000 (09:05 +0900)]
helper: add tdm_helper_output_vblank_timer_expired
To check if output-vblank is expired
Change-Id: I4c3339a62f970372c2749808f2a8d930dd211935
Boram Park [Fri, 23 Feb 2018 00:04:25 +0000 (09:04 +0900)]
output: correct return type
Change-Id: I927d257820e11dcfa5bf545c88f374d092d6fb7f
Boram Park [Thu, 22 Feb 2018 23:08:32 +0000 (08:08 +0900)]
log: remove time information from stdout
Change-Id: I4328046076b3b4d6824a7eab5a357b8ddd163e82
Boram Park [Thu, 22 Feb 2018 22:51:29 +0000 (07:51 +0900)]
layer: correct set_buffer_queue behavior
Change-Id: I7d72456f54ed91b392799918727886d8520e6b9f
Boram Park [Thu, 22 Feb 2018 22:50:21 +0000 (07:50 +0900)]
layer: correct error type
Change-Id: I6bc89d04588ac3f94ed129943a0be12b94fd6fb0
Boram Park [Thu, 22 Feb 2018 05:02:51 +0000 (14:02 +0900)]
thread: use two lists for each thread
When tdm_thread_call_cb is called in both threads at the same time, the 'called'
variable makes a thread issue.
1) Calling tdm_thread_call_cb in display-thread makes the 'called' variable as 1
2) Calling tdm_thread_call_cb in tdm-thread at the same time checks cb->called.
3) Because cb->called is 1 by display-thread, tdm_thread_call_cb in tdm-thread
does nothing.
Change-Id: I009e3a17b40d32502f3567b8ecd712fa7c8dc349
Boram Park [Wed, 21 Feb 2018 23:38:55 +0000 (08:38 +0900)]
macro: move backend's name definition
Change-Id: I53d086d54b8a9b13f686f91d93d6d543ffe0059e
Boram Park [Wed, 21 Feb 2018 07:09:04 +0000 (16:09 +0900)]
log: restore stdout when set NULL.
Change-Id: I25934b33f8468e55fdd063068f868fafab81f948
Boram Park [Wed, 21 Feb 2018 06:28:25 +0000 (15:28 +0900)]
remove unused file
Change-Id: I8c4e786bd29a33d5dad356d517fa137798dfac66
Boram Park [Wed, 31 Jan 2018 03:04:51 +0000 (12:04 +0900)]
support multi backend
Change-Id: I6e6d24256e1eb84dd6180bac35b33c55b076b3bb
Boram Park [Wed, 21 Feb 2018 05:39:28 +0000 (14:39 +0900)]
should init event_loop before vblank
when initing event_loop, thread's find_funcs table is also inited. This should
be done before initing others.
Change-Id: Iae6c0e44b3f00c0b6a5aa77bbdbee158ce74baa0
Boram Park [Wed, 21 Feb 2018 05:37:35 +0000 (14:37 +0900)]
config: remove unuseful codes
Change-Id: If5b99cb203fcb7e58fc3e9c40e45f64bd3d84a3a
Boram Park [Wed, 21 Feb 2018 05:36:52 +0000 (14:36 +0900)]
thread: reset find_funcs table when init, deinit
Change-Id: I20f572f7dd6014daf0ee02a656f188c3d89d5900
Boram Park [Wed, 21 Feb 2018 05:36:26 +0000 (14:36 +0900)]
log: no need to use ifdef
Change-Id: I2f1b03b99b6925511410d87b0649db1c19580ba5
Boram Park [Mon, 29 Jan 2018 00:54:16 +0000 (09:54 +0900)]
output: using thread_cb
Change-Id: I00fa06b60a2fa808df7a54d6739d1c4d8b3ae54e
Boram Park [Mon, 29 Jan 2018 00:53:49 +0000 (09:53 +0900)]
vblank: using thread_cb
Change-Id: I2974baaff66cbe7fd1ea0e18ed89e68229efdd0f
Boram Park [Mon, 29 Jan 2018 00:53:31 +0000 (09:53 +0900)]
capture: using thread_cb
Change-Id: I9c2e914fb12d472aac1faf354e893a18c3b060e3
Boram Park [Mon, 29 Jan 2018 00:53:05 +0000 (09:53 +0900)]
pp: using thread_cb
Change-Id: I02bdd31434f95ff5c249e839442fd397afaffdef
Boram Park [Thu, 18 Jan 2018 06:45:39 +0000 (15:45 +0900)]
thread: support cb for multi-thread communication
Change-Id: Ic59dd29fbc574232ec28e3a34e63533a8bd4d6f8
Boram Park [Tue, 23 Jan 2018 02:15:05 +0000 (11:15 +0900)]
debug: add event type
Change-Id: Ib12af60beac82dd6bfc8e3f57f2930c1158dfe3b
Boram Park [Tue, 16 Jan 2018 02:12:55 +0000 (11:12 +0900)]
server: remove useless codes
Change-Id: I09d265a0a5ab8eda71826f55ce9e4b23e1a25048
Boram Park [Tue, 20 Feb 2018 09:17:58 +0000 (18:17 +0900)]
utests: not using setenv
Change-Id: I734c97d423ddf0dc85068fea9cf3f7393d6ab681
Boram Park [Tue, 20 Feb 2018 09:17:32 +0000 (18:17 +0900)]
config: export tdm_config functions
Change-Id: I95bcd81ba94b21a7383f88e99a5b254effb10597
Boram Park [Mon, 29 Jan 2018 07:54:28 +0000 (16:54 +0900)]
ini: not using getenv
Change-Id: I82ccecd7a09d5b4e1e5c391b4499ac47e307c96c
Boram Park [Fri, 12 Jan 2018 08:31:29 +0000 (17:31 +0900)]
ini: first implementation
Change-Id: I9e2fd2892279fbc84d1265802b5b33ef6d68dc27
Boram Park [Mon, 22 Jan 2018 23:20:50 +0000 (08:20 +0900)]
buffer: remove unused functions
Change-Id: I6c73f3978a3f89422904390cb9683c8fd7b25b40
Boram Park [Mon, 22 Jan 2018 23:21:17 +0000 (08:21 +0900)]
capture: use correct function
Change-Id: I53a21fa01c6347085b492bfc38685fd43c22f391
Boram Park [Mon, 22 Jan 2018 23:19:58 +0000 (08:19 +0900)]
tests: correct capture information
Change-Id: Ib03a067db3c7e885495005ba27c7730cee77a1a6
Boram Park [Thu, 18 Jan 2018 05:39:19 +0000 (14:39 +0900)]
vblank: add description
Change-Id: I516ed249e61a26640968cfcc53d32ed99daa89c8
Boram Park [Thu, 18 Jan 2018 01:23:52 +0000 (10:23 +0900)]
types: give a detail name to structure
Change-Id: Id3f0471e1d040f38810c85c1b2dcab6b6c83b208