Boram Park [Tue, 20 Feb 2018 04:59:12 +0000 (13:59 +0900)]
helper: allow user_data's NULL
Change-Id: I2b7c91dbfaf09be177a43e447692465e76c06944
Boram Park [Tue, 20 Feb 2018 04:58:35 +0000 (13:58 +0900)]
macro: move tdm_debug_module's extern position
Change-Id: I5a302cc39c70f28416b7a243286b69749673fe5e
Boram Park [Tue, 20 Feb 2018 04:57:40 +0000 (13:57 +0900)]
buffers: add extern for testing
Change-Id: Ib23b11d99fc399a0673272c39786989a6aa4973a
Boram Park [Tue, 20 Feb 2018 04:56:36 +0000 (13:56 +0900)]
fix buffer leak when deiniting
Change-Id: I7a742f011f0e75341f6a4d17140c2f0c184abc91
Boram Park [Tue, 20 Feb 2018 04:56:16 +0000 (13:56 +0900)]
add tdm_layer_get_output
Change-Id: Icbc2003297276a45b6d2d7f3cda54393aa12bc0d
Boram Park [Mon, 12 Feb 2018 09:10:02 +0000 (18:10 +0900)]
helper: correct symbolic check function
Change-Id: Id52e6ed434ae6a2aba926362a2ce02bf58b5788d
Boram Park [Mon, 12 Feb 2018 09:09:16 +0000 (18:09 +0900)]
helper: export tdm_helper_dump_buffer_str
Change-Id: I426b31bdbb93cfbfec651cac0a5a2eaeb139c0be
Boram Park [Mon, 12 Feb 2018 09:07:29 +0000 (18:07 +0900)]
display: fix wrong typo
Change-Id: Id67480b0ad585df0534d1c317da0ae49661ba654
SooChan Lim [Mon, 19 Feb 2018 04:47:49 +0000 (13:47 +0900)]
package version up to 1.13.1
Change-Id: I42a9f79dfc2718c6cb2ad691d7636fdc89e16e5b
SooChan Lim [Mon, 19 Feb 2018 04:13:27 +0000 (13:13 +0900)]
tdm_output: set the layer_info of the target buffer only when the mode is set.
Change-Id: I21bb59e31c6922a827bb5c614e78ee5a7f6b7922
SooChan Lim [Mon, 19 Feb 2018 02:38:11 +0000 (11:38 +0900)]
tdm_output: do not check the null buffer
Change-Id: Iaf8d0d134a6fb683bbc1d39afba51fb7768de945
SooChan Lim [Mon, 19 Feb 2018 02:36:37 +0000 (11:36 +0900)]
tdm_hwc_window: do not check the null buffer
Change-Id: Iffb2096ff4523d5416c01496a79c4d89413fb831
SooChan Lim [Mon, 12 Feb 2018 06:54:34 +0000 (15:54 +0900)]
package version up to 1.13.0
Change-Id: I193a586223f9ca8c9a1dfd36257e146d08905eac
Junkyeong Kim [Thu, 8 Feb 2018 02:34:41 +0000 (11:34 +0900)]
enhance log for distinguishment of output status cb thread
Change-Id: Ib78ddd3d3f6c9e1203512e451bf29a171b80d37d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 8 Feb 2018 02:30:36 +0000 (11:30 +0900)]
do not update caps.status in sub thread
Change-Id: Ib11fb4b9d448ade7740887b6aad9cc6a9ee3d91d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Mon, 12 Feb 2018 03:44:53 +0000 (12:44 +0900)]
hwc: remove the window zpos
Change-Id: I15f6636b1875059ebe98742e7949ca97f2aeae10
SooChan Lim [Mon, 12 Feb 2018 02:17:05 +0000 (11:17 +0900)]
hwc: add tdm_output_hwc_commit_client_target_buffer
Change-Id: I48164e6e2ea918567355c7bf69a751e0dfdee472
SooChan Lim [Mon, 12 Feb 2018 02:04:06 +0000 (11:04 +0900)]
hwc: add tdm_hwc_window_commit
Change-Id: Ic6282508e8ce1a075c340b167ae821512de7bf90
SooChan Lim [Mon, 12 Feb 2018 01:51:11 +0000 (10:51 +0900)]
layer: add tdm_layer_unset_buffer_internal
Change-Id: If9004eeabdcc0138d4b1fcaa6da4de84e133eff0
SooChan Lim [Mon, 12 Feb 2018 01:50:31 +0000 (10:50 +0900)]
layer: add tdm_layer_set_buffer_internal
Change-Id: Iba8154071512bbd86d80666a8a84b33b9cb8f0e2
SooChan Lim [Mon, 12 Feb 2018 01:47:51 +0000 (10:47 +0900)]
layer: add tdm_layer_commit_internal
Change-Id: I9ceeba70ea836953a145dc6f5a049a9311d453b5
SooChan Lim [Mon, 12 Feb 2018 01:45:19 +0000 (10:45 +0900)]
layer: add tdm_layer_set_info_internal
Change-Id: I66f1c28cd95b2355e7a98387abf8c048c07d2e24
SooChan Lim [Mon, 12 Feb 2018 01:41:04 +0000 (10:41 +0900)]
hwc: add hwc_window_get_layer at backend function
Change-Id: I42ce34f3b72a030542ec86a0c865bc38e34733ec
SooChan Lim [Mon, 12 Feb 2018 01:40:26 +0000 (10:40 +0900)]
hwc: add hwc_window_get_buffer at backend function
Change-Id: I4ca3a45175259f57a2ca073293e73d13744224c3
SooChan Lim [Mon, 12 Feb 2018 01:39:53 +0000 (10:39 +0900)]
hwc: add hwc_window_get_info at backend function
Change-Id: Ia117ec0acb961611175a86d421032326f07902a9
SooChan Lim [Mon, 12 Feb 2018 01:39:15 +0000 (10:39 +0900)]
hwc : add output_hwc_get_client_target_buffer at backend function
Change-Id: I6356f108c69e5bb255d9aef1a0fc81cb3b27aa37
SooChan Lim [Mon, 12 Feb 2018 01:38:42 +0000 (10:38 +0900)]
hwc: add output_hwc_get_client_target_buffer_layer at backend function
Change-Id: Icbfda1122a75db3f0a88ed7aff7ac511617b9009
SooChan Lim [Mon, 12 Feb 2018 01:37:22 +0000 (10:37 +0900)]
hwc: add tdm_output_hwc_unset_client_target_buffer
Change-Id: I1ba5f4dc3b2d547fd1ceee1ea01cebb1747e109d
SooChan Lim [Mon, 12 Feb 2018 01:29:35 +0000 (10:29 +0900)]
hwc: add tdm_hwc_unset_buffer
Change-Id: Ia00e4ea2e07217fa7c6b42cf9a4ab0aefa4053e7
Junkyeong Kim [Wed, 7 Feb 2018 11:51:14 +0000 (20:51 +0900)]
change vblank sw hw changing condition
Change-Id: I24baf90fcbb3adbf7fd081c7881920bf63ff96b2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 7 Feb 2018 11:45:15 +0000 (20:45 +0900)]
update caps.status
Change-Id: Ia5efe95c836403fe2ca6297850de52c03b9a3db0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Fri, 2 Feb 2018 11:15:00 +0000 (20:15 +0900)]
package version up to 1.12.0
Change-Id: I2bd1c3b49821761388e016bf36f511e706d9c952
SooChan Lim [Fri, 2 Feb 2018 10:19:29 +0000 (19:19 +0900)]
hwc: remove the tdm_hwc_window_set_zpos api
Change-Id: I0fcaccc7c2fd12badfc8b8bdc908de7a0c27a807
SooChan Lim [Fri, 2 Feb 2018 08:59:10 +0000 (17:59 +0900)]
hwc: change tdm_output_hwc_set_client_target_buffer api
Change-Id: I6fa2600a5d056eaa22a49de25e48c3c65abc5b46
SooChan Lim [Fri, 2 Feb 2018 06:20:21 +0000 (15:20 +0900)]
hwc: change the tdm_output_validate api
Change-Id: I06d493570e21ae6559a80d7589ab41e3076b68ef
Boram Park [Fri, 2 Feb 2018 05:51:37 +0000 (14:51 +0900)]
package version up to 1.11.6
Change-Id: Ib2e3808acbb0202c81e51e5b732ce35a8c4a5dbd
SooChan Lim [Tue, 30 Jan 2018 10:38:18 +0000 (19:38 +0900)]
hwc: remove dump code
Change-Id: I3ea9b6011c757497f4afdfd4bbca2bcb715b3b90
Boram Park [Fri, 2 Feb 2018 00:47:06 +0000 (09:47 +0900)]
add tdm_vblank_set_client_ignore_global_fps
Change-Id: I9b627988ed02dd6e22a2e6d52cd97d205497e857
Boram Park [Thu, 1 Feb 2018 02:15:42 +0000 (11:15 +0900)]
apply gcov
Change-Id: I6a9c95804a76349a62d5b16d6915042cf4920adb
Boram Park [Fri, 2 Feb 2018 05:36:37 +0000 (14:36 +0900)]
remove -f when creating symbolic link file
Change-Id: Ie2413243fa9b60b2a913af322f48366b5fb38e6a
Boram Park [Sun, 28 Jan 2018 23:17:49 +0000 (08:17 +0900)]
add timeout logs (1000ms)
Change-Id: Ie9bbcba3d1b109d5c80734a8c55cd8959b6cdef7
Boram Park [Fri, 26 Jan 2018 12:42:32 +0000 (21:42 +0900)]
log: change dlog log_id
Change-Id: I0d11c0b89da0b5a83fd4f02371b40a34d42e798a
Boram Park [Tue, 30 Jan 2018 01:35:36 +0000 (10:35 +0900)]
client: add mutex lock
Change-Id: I2c2cb6f7a06b67dcacfd6e1bcf502877ead20dc5
Boram Park [Fri, 26 Jan 2018 11:31:38 +0000 (20:31 +0900)]
client: use queue to handle internal events
Change-Id: Id5fe565fcc177325661830ea5229515bab24c70e
Boram Park [Mon, 22 Jan 2018 11:29:43 +0000 (20:29 +0900)]
log: add monotonic time logs
Change-Id: If220dfb11bf82ead8a2aa89ed307543231004165
Boram Park [Fri, 19 Jan 2018 01:47:54 +0000 (10:47 +0900)]
vblank: add server ttrace information
Change-Id: I4ab060b514b04be0bd48606b8c56a5308b6bbe20
Boram Park [Wed, 17 Jan 2018 23:38:17 +0000 (08:38 +0900)]
macro: add error string
to make debugging easier
Change-Id: I08b618f77afb06e4986f71a22b75af23dd87c54a
Boram Park [Wed, 17 Jan 2018 22:59:17 +0000 (07:59 +0900)]
macro: re-ordered
Change-Id: I91dbc2259a1bc08ecf43d28e3bfb4e863e557a41
Boram Park [Wed, 17 Jan 2018 01:30:28 +0000 (10:30 +0900)]
add debugging log
Change-Id: I7c758cba21e6398890e7441071b63d6354425f65
Boram Park [Wed, 17 Jan 2018 00:55:00 +0000 (09:55 +0900)]
fix typo
Change-Id: I37f372b390417910997ec3f059afc52aa1e23a3c
Boram Park [Wed, 17 Jan 2018 03:42:14 +0000 (12:42 +0900)]
correct the header file dependency
Change-Id: Icf6348180240bf23ae54f0c6a74e7ee193047b81
SooChan Lim [Wed, 17 Jan 2018 05:04:32 +0000 (14:04 +0900)]
hwc: change the condition at set_composition_type
Change-Id: Ie5ac8b7fe49bf3c65f12368f3bfdb612c13a099e
SooChan Lim [Fri, 12 Jan 2018 04:18:05 +0000 (13:18 +0900)]
package version up to 1.11.4
Change-Id: Ibbdc2481446d2f5e9bb6d5556ce57e0103af83d2
SooChan Lim [Fri, 12 Jan 2018 04:00:38 +0000 (13:00 +0900)]
hwc: add TDM_COMPOSITION_VIDEO
Change-Id: Ib1ed904c821ab83cad4d79f8dc794649067b6228
SooChan Lim [Thu, 11 Jan 2018 10:21:09 +0000 (19:21 +0900)]
hwc: change the type of the zpos
Change-Id: Ibc014c34f2414cf7b186b7c740a085b21d8cfed7
Junkyeong Kim [Thu, 11 Jan 2018 01:32:28 +0000 (10:32 +0900)]
add pp scanout capability
can be executed converting only scanout buffer.
Change-Id: I9c1143ebf16f7be394709789b71da149e5356d79
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Wed, 10 Jan 2018 05:19:07 +0000 (14:19 +0900)]
correct printf formats
Change-Id: I8b414e1f2016298699a7f1c1dadc85b0414d910f
Boram Park [Tue, 9 Jan 2018 09:07:55 +0000 (18:07 +0900)]
package version up to 1.11.4
Change-Id: Iae258ccfd542896d4e5f91842c450b307242465d
Boram Park [Tue, 9 Jan 2018 07:30:00 +0000 (16:30 +0900)]
monitor: enhance vblank_list information
Change-Id: I0624e291be53f0abbf8d991969de3e6a6b353759
Boram Park [Tue, 9 Jan 2018 05:55:54 +0000 (14:55 +0900)]
package version up to 1.11.3
Change-Id: I202d8808f01f842fdab3999224455514cc31c4d0
Boram Park [Tue, 9 Jan 2018 05:55:27 +0000 (14:55 +0900)]
Revert "vblank: return TDM_ERROR_TIMEOUT when timeout occurs"
This reverts commit
dc1e81c0f4f0c6e6c4c0d4d553cf8ba730dfb4f5.
Change-Id: I2e1b765e34bf406dcb40a44f0658246e7e43d52a
SooChan Lim [Mon, 8 Jan 2018 01:46:03 +0000 (10:46 +0900)]
package version up to 1.11.2
Change-Id: I7e57059690f019afdefdf3c0d329172b9b41107c
SooChan Lim [Sun, 7 Jan 2018 01:20:04 +0000 (10:20 +0900)]
hwc: allow Device Candidate to set composition type.
Change-Id: I3aab482dcc9d037c91cacba9704586ffcd6f1390
SooChan Lim [Thu, 4 Jan 2018 02:40:25 +0000 (11:40 +0900)]
utest: cactch GoogleTestFailureException
Change-Id: Ia137c1ba715b29ac7385f55218d51ca880f62fcc
SooChan Lim [Thu, 4 Jan 2018 01:52:55 +0000 (10:52 +0900)]
utest: initialize the damage variables
Change-Id: I9adf1c96dcd5781e816ff74c258135884c132931
SooChan Lim [Thu, 4 Jan 2018 01:48:28 +0000 (10:48 +0900)]
utest: check the return value.
Change-Id: I24e639bbf8a5894cbd2aa8efe6ee6693c4cc6465
Boram Park [Wed, 3 Jan 2018 11:29:58 +0000 (20:29 +0900)]
package version up to 1.11.1
Change-Id: Ie5ab819303b054ae192e31d81ca01e653888c20a
Boram Park [Wed, 3 Jan 2018 11:16:25 +0000 (20:16 +0900)]
vblank: return TDM_ERROR_TIMEOUT when timeout occurs
If a vblank callback isn't called in 2000ms, tdm vblank will return
TDM_ERROR_TIMEOUT to client.
Change-Id: Ib5cd14dddd8bef051e01664c52021f57c7099f48
Boram Park [Thu, 28 Dec 2017 07:43:25 +0000 (16:43 +0900)]
package version up to 1.11.0
Change-Id: Icb9e4537235985803b85c5b2f2d284c09c663d20
Boram Park [Wed, 27 Dec 2017 05:58:21 +0000 (14:58 +0900)]
vblank: set the fixed fps to a vblank object
The vblank fps by setting with tdm_vblank_set_fixed_fps can't be changed with
tdm_vblank_set_fps. But it could be changed with tdm_vblank_enable_global_fps.
Change-Id: Iee25d749c1ebde51546810cb0baee1a0fc08ddef
Boram Park [Wed, 27 Dec 2017 05:57:36 +0000 (14:57 +0900)]
vblank: get the client pid of a vblank object.
Change-Id: I7fa29f1b03720ec93344893ea8a8bf3e0c8a6c72
Boram Park [Wed, 27 Dec 2017 05:56:48 +0000 (14:56 +0900)]
vblank: trace the vblank object creation.
We don't allow adding a create handler in sub-thread because tdm_vblank_create()
can be called in both threads and tdm_thread_send_cb supports only one-way
communication now.
Change-Id: I2c2b90cc29348aa9b24f5882369d94435a358e52
SooChan Lim [Thu, 28 Dec 2017 04:13:25 +0000 (13:13 +0900)]
package version up to 1.10.3
Change-Id: I843294f115afe16868502b16c61b35ad3fbb6195
Boram Park [Tue, 26 Dec 2017 09:34:52 +0000 (18:34 +0900)]
server: remove unused request
Change-Id: I0aa949b4d9ae69464538f178d733223f43c342d9
SooChan Lim [Tue, 26 Dec 2017 00:45:27 +0000 (09:45 +0900)]
utest: fix the dereference of null pointer
Change-Id: I4e3fca3eca89c03a6aa886cc657d90b17dc3b0b3
SooChan Lim [Tue, 26 Dec 2017 00:44:48 +0000 (09:44 +0900)]
utest: fix the memory leak
Change-Id: Ib5c0b7dc96b19fefb93889b330b444f937490eac
SooChan Lim [Wed, 20 Dec 2017 06:57:19 +0000 (15:57 +0900)]
package version up to 1.10.2
Change-Id: Ib6012f1b570ac89fa4b3f8d4c5588d08e9045750
Roman Marchenko [Wed, 13 Dec 2017 16:31:14 +0000 (18:31 +0200)]
utest: fix all failed tests and add new tests
Change-Id: I0991ce8cb91d1a8417c9b2b3ef40714a5882a9d7
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Konstantin Drabeniuk [Tue, 19 Dec 2017 08:56:56 +0000 (10:56 +0200)]
tdm_output_hwc_set_client_target_buffer: allow pass 0 for num_wnds
Change-Id: Iaa0df64ec73bb57c8a14647fbd312917fb1e2c76
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
SooChan Lim [Tue, 19 Dec 2017 01:45:27 +0000 (10:45 +0900)]
package version up to 1.10.1
Change-Id: I0d35bc02b01d0be26fd29b6fa7f9bc4c1e281084
Roman Marchenko [Mon, 18 Dec 2017 11:23:44 +0000 (13:23 +0200)]
utest: fix protex issue
Change-Id: I8c2e93345ba14375853ac7f001deb211df2744df
Sergey Sizonov [Thu, 14 Dec 2017 12:48:19 +0000 (15:48 +0300)]
add some comments
Change-Id: I14ad80d9ded4cd81b43d94f21fcc479963182c7a
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
SooChan Lim [Thu, 14 Dec 2017 04:19:14 +0000 (13:19 +0900)]
package version up to 1.10.0
Change-Id: I07f11f8b4cf5435f5d4a19a835c7dae395dca524
Sergey Sizonov [Fri, 8 Dec 2017 16:45:58 +0000 (19:45 +0300)]
implement new mechanism for smooth transition from DEVICE to CLIENT
This implementation is based on the list of composited
hwc_wnds passed along with target_surface these hwc_wnds
are composited at.
Change-Id: I0b4b6d77b418f3313d11b6a43263160281ae3f19
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
Sergey Sizonov [Mon, 11 Dec 2017 09:49:25 +0000 (12:49 +0300)]
remove the old implementation of 'smooth transition' mechanism.
Change-Id: I431a148841ae98b156eda141c0582c2f8dc7ab86
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
Boram Park [Thu, 14 Dec 2017 00:45:12 +0000 (09:45 +0900)]
fix tained string issue
Change-Id: I349b13d2d2731c69c4ee44dc6aef1c9613c00ff5
SooChan Lim [Tue, 12 Dec 2017 23:02:24 +0000 (08:02 +0900)]
fix the typo
valide -> valid
Change-Id: I7da023913f350f8c824faf81144e030f18239978
Roman Marchenko [Mon, 11 Dec 2017 11:59:43 +0000 (13:59 +0200)]
add verification for tdm_vblank
Change-Id: I2858c8a23497ea205d25c732bda40492d9820d99
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Mon, 11 Dec 2017 11:57:43 +0000 (13:57 +0200)]
add verification for tdm_output
Change-Id: I59ae702314890cad08c8881357e8928a9878bcd4
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Fri, 8 Dec 2017 09:25:03 +0000 (11:25 +0200)]
add verification for tdm_display
Change-Id: I7f54f16c58fd13a079344075be3244f2f8e82488
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Mon, 11 Dec 2017 12:31:46 +0000 (14:31 +0200)]
tdm_hwc_window_set_buffer_damage: add a checking to NULL pointer for damage region
Change-Id: I9ac10c9f6df450e4b2a0e9e3312352a137850a20
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Mon, 11 Dec 2017 12:28:27 +0000 (14:28 +0200)]
tdm_layer_get_buffer_flags: add a checking to NULL pointer for flags
Change-Id: Ib564f82715334d07d775261737787cbb7eeefd5c
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Mon, 11 Dec 2017 12:14:14 +0000 (14:14 +0200)]
utest: fix wrong tests for tdm_hwc_window.c
- check incorrect composition types
Change-Id: I22f93ab4c609afe805abdbaca9b3cf62c484828b
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Roman Marchenko [Mon, 11 Dec 2017 12:11:48 +0000 (14:11 +0200)]
utest: fix wrong tests for tdm_vblank.c
- VblankDestroyWrongVblankPtr: use exit(0) in a ASSERT_EXIT block
- VblankGetOffsetFailWrongOffsetPtr: was deleted as libtdm can't check an offset pointer
- VblankGetOffsetSucces: error has to be equel TDM_ERROR_NONE
Change-Id: If346f47e01de9fe884563f9ddaa12dcd26142884
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Boram Park [Tue, 12 Dec 2017 09:42:06 +0000 (18:42 +0900)]
fix build-break for aarch64
Change-Id: I1ea0c302e37f3fd44ddce44fae8045b8041d166b
Boram Park [Tue, 12 Dec 2017 09:07:04 +0000 (18:07 +0900)]
package version up to 1.9.2
Change-Id: I35b97e2b930648a98bb1768fbd08abf9f379794f
Boram Park [Tue, 12 Dec 2017 02:44:44 +0000 (11:44 +0900)]
monitor: enhance ttrace option for layer, pp, capture
Change-Id: I3c142a49bff04844734137ea912cd5a84a81e05c
Boram Park [Thu, 7 Dec 2017 02:16:08 +0000 (11:16 +0900)]
add checking return value
Change-Id: I6b5d85ace61d651722c4df2991ff588d74d726bd
SooChan Lim [Mon, 4 Dec 2017 10:02:08 +0000 (19:02 +0900)]
package version up to 1.9.1
Change-Id: I67f467eca26b1669158d1c84f954a70c4272d9eb
Roman Marchenko [Wed, 29 Nov 2017 09:46:22 +0000 (11:46 +0200)]
hwc: add the API function tdm_output_hwc_create_video_window instead of TDM_COMPOSITION_VIDEO.
Change-Id: If82b18a3d133abbcedb5d9125e18f5d6682e72f0
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>