Changyeon Lee [Tue, 18 Oct 2022 08:09:09 +0000 (17:09 +0900)]
Fix invalid assignment with unsigned values
Change-Id: I8194de2767bea1d87cb4eceefd599ba9ef6dc0c4
Changyeon Lee [Tue, 18 Oct 2022 08:06:10 +0000 (17:06 +0900)]
Fix invalid assignment of sizeof
Change-Id: I7672cf880560ccde35577a8f956b13a2b7b42bb0
Changyeon Lee [Tue, 6 Sep 2022 07:54:54 +0000 (16:54 +0900)]
Package version up to 3.1.3
Change-Id: Iff92bed45ac4827d7609829ec3b8aed28c7d61b2
Changyeon Lee [Tue, 6 Sep 2022 07:54:28 +0000 (16:54 +0900)]
tdm_client: Fix leak of resource
Change-Id: I69e700bf91da5d736377033c2c3825eaeb4b82bb
Changyeon Lee [Thu, 7 Jul 2022 10:12:28 +0000 (19:12 +0900)]
Package version up to 3.1.2
Change-Id: I4b6118735c84f22b904f979ae4194a93ac9c83ac
Changyeon Lee [Tue, 5 Jul 2022 04:39:06 +0000 (13:39 +0900)]
tdm_server: Remove duplicate code
Change-Id: I04f6bc9b4064589e1609d78ceded9b8a08bbc96e
Changyeon Lee [Mon, 4 Jul 2022 10:24:50 +0000 (19:24 +0900)]
haltest/client: Remove duplicate code
Change-Id: I31311d011e5af46eb6a5323bdc9b0db402b9ca27
Changyeon Lee [Mon, 4 Jul 2022 08:38:20 +0000 (17:38 +0900)]
haltest/layer: Remove duplicate code
Change-Id: I94ae91b632c40f2e03ea24f7872fc55707c308b2
Changyeon Lee [Mon, 4 Jul 2022 05:46:08 +0000 (14:46 +0900)]
haltest/backend_capture: Remove duplicate code
Change-Id: Ie16363ad898dcb72874ce98e9542ff80fab72da7
Changyeon Lee [Thu, 30 Jun 2022 09:59:33 +0000 (18:59 +0900)]
haltest/backend_display: Remove duplicate code
Change-Id: I151a8a6cce2a741af8fd95ad0d1ac8b2e8a0e5ea
Changyeon Lee [Fri, 1 Jul 2022 09:23:50 +0000 (18:23 +0900)]
haltest/backend_pp: Remove duplicate code
Change-Id: I10a5850fcfafed122c0f055289629e1427c02c53
Changyeon Lee [Fri, 1 Jul 2022 08:36:19 +0000 (17:36 +0900)]
haltest/hwc: Remove duplicate code
Change-Id: I277f74abb85ecc4eb29e1259a4fde7f67a19d90f
Changyeon Lee [Thu, 30 Jun 2022 10:22:43 +0000 (19:22 +0900)]
tools/buffers: Remove duplicate code
Change-Id: Id64cc0f159cb57d01f515b2708094612e7f6997e
Changyeon Lee [Mon, 27 Jun 2022 03:55:30 +0000 (12:55 +0900)]
tdm_client: Remove duplicate code
Change-Id: I1b61378b6a458c7196e3869aeabba1a15e119467
Changyeon Lee [Fri, 24 Jun 2022 11:15:44 +0000 (20:15 +0900)]
tdm_test_client: Use tbm api for dump buffer
for removing duplicate code
Change-Id: I83e666c2e450c7bb884e1befee9620fd5f9c6cc1
SooChan Lim [Wed, 2 Mar 2022 01:34:49 +0000 (10:34 +0900)]
Package version up to 3.1.1
Change-Id: Ibf1ed41f1eec0aa118a3710afecdfbf4745a0b22
SooChan Lim [Wed, 2 Mar 2022 01:32:55 +0000 (10:32 +0900)]
do not use "+" at configure.ac
fix the build break due to upgrade pkg-config 0.29.2.
Change-Id: I1a32c1c8c572785fbe402097704ff60ef2bdb6eb
Changyeon Lee [Thu, 17 Feb 2022 04:51:33 +0000 (13:51 +0900)]
Package version up to 3.1.0
Change-Id: Ie9bbfdf73df7c397895917eec2c18cff54bc027a
Changyeon Lee [Fri, 11 Feb 2022 09:10:25 +0000 (18:10 +0900)]
add tdm_hwc_set_client_target_buffer_info
Change-Id: I2d1e5b302cd15355e4869faf59802a77c5cf0ca5
Joonbum Ko [Tue, 24 Aug 2021 10:22:56 +0000 (19:22 +0900)]
Fix the misused preset output variables of autoconf
Change-Id: Ic46d95687b0b8115278cd9ad388547e86b5ccc40
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Joonbum Ko [Tue, 24 Aug 2021 05:56:27 +0000 (14:56 +0900)]
Exclude dlog dependency when dlog disabled.
Change-Id: Ieacca63024ed65a0719e1e7a84786db3af655741
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
SooChan Lim [Tue, 27 Jul 2021 09:23:00 +0000 (18:23 +0900)]
add --with-default-dlog build option
The default value of this option is yes.
If this option sets no, the default log is stdout.
Change-Id: Id710203804368e9397149e3dcf4b8a8be33db423
SooChan Lim [Thu, 17 Jun 2021 05:29:51 +0000 (14:29 +0900)]
tdm: fix the dereference value
check if the variable is null.
Change-Id: Iccf2775c5a77a72b8e96c66ba6b2e08840028b7f
SooChan Lim [Thu, 17 Jun 2021 02:21:27 +0000 (11:21 +0900)]
Package version up to 3.0.5
Change-Id: I901c589369ef369f5b7829612d3616c975027d44
SooChan Lim [Thu, 17 Jun 2021 02:06:07 +0000 (11:06 +0900)]
tdm: fix the memory leak
Change-Id: I2919b6f5296852a5ce2d93e4d866e5885fad6990
SooChan Lim [Mon, 7 Jun 2021 08:15:42 +0000 (17:15 +0900)]
Package version up to 3.0.4
Change-Id: Ic8322ef333d33fe3faf5824a8194831a27f5166b
SooChan Lim [Mon, 7 Jun 2021 07:59:32 +0000 (16:59 +0900)]
tdm_display: return the module information at use_hal_tdm case.
The two api can return the values at use_hal_tdm case.
- tdm_display_get_backend_info
- tdm_module_get_info
Change-Id: Ie71280a15cbcf7019054bc3ae60ba3eb41dba52b
SooChan Lim [Fri, 28 May 2021 00:36:54 +0000 (09:36 +0900)]
tdm: make a module_data at use_tdm_hal case.
Even though there is no module_data at use_tdm_hal case,
make a module_data for supporting the tdm api.
Change-Id: I8c488ed3b7a12335255d10d311bf69703ad6bd99
SooChan Lim [Tue, 20 Apr 2021 06:26:55 +0000 (15:26 +0900)]
Package version up to 3.0.3
Change-Id: I5e57f6ea8ea574ebd3a20d257ef255d332750a34
SooChan Lim [Tue, 20 Apr 2021 05:54:16 +0000 (14:54 +0900)]
tc: donot check the error in case of vblank interval
The vblank interval is optional feature, so just show the error message
when the tests are failed.
Change-Id: I2802a87f5b148637c24ce27e7b459118efea6fd9
SooChan Lim [Fri, 16 Apr 2021 08:32:56 +0000 (17:32 +0900)]
tc: call DestroyPP to match with PreparePP
Change-Id: Ie62a2fa120403f761bf41c4f7c0f39a4b780f35b
SooChan Lim [Fri, 16 Apr 2021 02:03:11 +0000 (11:03 +0900)]
tdm_client: check the dereference varaibales
check the private_output and the private_client at
tdm_client_vblank_destory function. It prevent the segmentation fault
due to them.
Change-Id: Ifcb01380be362cd3d7151906bccc1d4a59ea48e1
SooChan Lim [Tue, 13 Apr 2021 09:00:54 +0000 (18:00 +0900)]
tc : fix the failed test on TDMBackendPP
call the pairs of PreparePP and DestroyPP
Change-Id: I1e1c30fb2dfbb253e168fe993de47698f7f1128d
SooChan Lim [Tue, 13 Apr 2021 05:26:31 +0000 (14:26 +0900)]
tc: fix the failed testcase on TDMHwc
The GetClientTargetBufferQueueFailNoHwc test is executed when there is
no hwc on a output.
Change-Id: I8409dffce126f5398abb447c0d4e8c06a84ce431
Junkyeong Kim [Tue, 23 Mar 2021 06:06:56 +0000 (15:06 +0900)]
Package version up to 3.0.2
Change-Id: I3ce2d95cbd0d482cd3809536fdab139538292a6c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 23 Mar 2021 06:06:23 +0000 (15:06 +0900)]
set pp and capture capability
Change-Id: Ic998028ce0be049cfee04f61058ec9db24838fb2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 11 Mar 2021 08:48:27 +0000 (17:48 +0900)]
Package version up to 3.0.1
Change-Id: Ie3b76c8cd4534da38e981307aa7d23abb9876379
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 10 Mar 2021 10:44:32 +0000 (19:44 +0900)]
Tdm: Fix syntax
Change-Id: I61291c5c63af7d0d6b56f0da8132b98391e80d53
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 23 Feb 2021 07:00:35 +0000 (16:00 +0900)]
change bin file position to /usr/bin/hal
Change-Id: I6aaf292ef6e9ee6571dcb751382d17b92180d270
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Mon, 22 Feb 2021 04:08:15 +0000 (13:08 +0900)]
package version up to 3.0.0
libtdm uses hal-api-tdm from v3.0.0 at Tizen 6.5
Change-Id: If3542b33e4544f3687262980ac601f589ad9fc26
Junkyeong Kim [Sat, 20 Feb 2021 08:47:13 +0000 (17:47 +0900)]
execute tbm_bufmgr_init when init
cause of hal-tdm / hal-tbm error, tdm has to get bufmgr.
if do not get bufmgr, got hang in tdm-haltests.
error case:
tbm deinit -> tdm_putbackend -> destroy all created surface -> tbm_bufmgr_deinit -> tbm_putbackend
cannot execute putbackend at the same time.
Change-Id: Ic18b0ef5bcfe987ff2b0308286175b5caf47b5cb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Tue, 16 Feb 2021 09:48:15 +0000 (18:48 +0900)]
hal: deal with master_drm_fd
tdm backend must have the master drm_fd when it has a drm_device.
If the tdm backend does not have a master drm_fd, libtdm must has
the master drm_fd from libtbm.
Change-Id: Ia70c54c76d3492d7638579563890798dbe39aa11
Junkyeong Kim [Tue, 9 Feb 2021 04:38:58 +0000 (13:38 +0900)]
use HAL_TDM_EVENT_SOURCE_MAX for event source
Change-Id: I24fa68c3aab313ff6d1238e40dbcced5bad0e508
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 8 Feb 2021 09:42:02 +0000 (18:42 +0900)]
disable virtual output tc for hal-tdm temporary
Change-Id: I3c2278f86219a563b26c1cca55494f1536ace9c6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Sat, 20 Feb 2021 08:40:54 +0000 (17:40 +0900)]
fix some tc fail errors
Change-Id: I27ffbd62daaa1359d568f5d95aa7d97b9af5b0d4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 8 Feb 2021 09:44:31 +0000 (18:44 +0900)]
tc: erase assert
Change-Id: I30f90d157ed25c898ff623661730d68947b534bd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Sun, 7 Feb 2021 10:05:31 +0000 (19:05 +0900)]
haltests: use EXPECT intead of ASSERT
TearDown is not called at testcase failed when it uses ASSERT.
Change-Id: Id6da7da47265a1aac9e72c628a411bf0ea0c4e2e
Junkyeong Kim [Sun, 7 Feb 2021 09:23:59 +0000 (18:23 +0900)]
execute memcpy only success case
Change-Id: Ib730cb1dba433bf708743766680bb566ad91e112
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Sun, 7 Feb 2021 08:59:14 +0000 (17:59 +0900)]
do not use module_data if using hal-tdm
Change-Id: I76484c8202d435f63f43fde8f3775f3910d81c87
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Sun, 7 Feb 2021 07:50:52 +0000 (16:50 +0900)]
fix syntax error
Change-Id: I19decd00bd7ec6ff0712f4adb69b4ee77f267e6b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 2 Feb 2021 11:50:17 +0000 (20:50 +0900)]
adapt hal-api-tdm
libtdm uses hal-api-tdm from Tizen 6.5.
Therefore, libtdm links libhal-api-tdm library and libtdm work with
hal-api-tdm when the hal-backend-tdm backend library at /hal/lib directory.
If not, libtdm works with the legacy tdm backend so file at /usr/lib/tdm
directory.
Change-Id: I76aebd60306d87705669c61af1033259ed3a1a67
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 6 Jan 2021 02:49:45 +0000 (11:49 +0900)]
tdm_monitor: add dump usage about window
Change-Id: Ibb2d842dd600da4a7439ddda938d768834dbb44b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 6 Jan 2021 02:48:19 +0000 (11:48 +0900)]
tdm_display: support dump current option for hwc_window
Change-Id: Ic96dffc9815291fbf4905a37416fa12a3e58b6a2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 6 Jan 2021 02:45:49 +0000 (11:45 +0900)]
tdm_hwc_window: add display_buffer and composition_type for debugging
Change-Id: I7f502e80da599c8ce9861eef72f7099169422d02
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 4 Jan 2021 09:37:11 +0000 (18:37 +0900)]
tdm_monitor: add dpms get method
Change-Id: I2d4e33e68fda506f4ea9f9e644c32089ac7a2a1b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 23 Oct 2020 10:22:20 +0000 (19:22 +0900)]
package version up to 2.12.0
Change-Id: I9cf74a439a8d04d1215319d704ed8ad28ff79f92
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Tue, 27 Oct 2020 05:53:53 +0000 (14:53 +0900)]
tdm_hwc: add tdm_hwc_get_commit_interval interface
Change-Id: Iacc89ddf45f5f7bea9b50f1292b7186c035a0a41
Junkyeong Kim [Fri, 23 Oct 2020 10:21:42 +0000 (19:21 +0900)]
haltest: add full path name for dump
Change-Id: I738c31aed2de05dab3480aab947e78b8d59fe0b1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 23 Oct 2020 10:17:45 +0000 (19:17 +0900)]
haltest: add line coverage excluding comments
exclude virtual output related codes. (default off on mobile)
exclude output commit reated codes. (vendor driven hwc is default)
exclude hwc commit vblank related codes. (default off)
Change-Id: I50c6f8625b63d192c464080f47a1eb791f984064
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 21 Oct 2020 02:27:30 +0000 (11:27 +0900)]
hwc: change use_vblank flag set position
Change-Id: I4d7aeb5d879429a1380bccaffb7259f8feb2f3ec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 7 Oct 2020 09:27:08 +0000 (18:27 +0900)]
haltest: add skip condition to pp transform test
Change-Id: I690d47be08425aaf9e70020c7848f1049ca66c42
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 4 Sep 2020 10:59:20 +0000 (19:59 +0900)]
tdm_config: add TDM_CONFIG_KEY_GENERAL_HWC_COMMIT_USE_GLOBAL_FPS config define
1: when global fps set, use global fps to commit.
0: when global fps set, do not use global fps to commit.
Change-Id: I13ad07f4468798bc7085c5104aec6da96b4f3446
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 1 Sep 2020 10:11:42 +0000 (19:11 +0900)]
package version up to 2.11.3
Change-Id: I2c84845eda4af6c581eb4e42023fed47a09bdf34
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 1 Sep 2020 10:11:03 +0000 (19:11 +0900)]
Revert "tdm_vblank: execute hwc_vblank set and unset when tdm_vblank_enable_global_fps called"
This reverts commit
d2fa49d3857fe065de1eefcb8afb5acdc69ca346.
Change-Id: Ib8afae091f13caef0643cf92f443f0d3e112cf9f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Seunghun Lee [Thu, 6 Aug 2020 13:13:46 +0000 (22:13 +0900)]
tdm_common: clarify TDM_TRANSFORM enumaration.
An Enumeration for TDM_TRANSFORM was ambiguous because there wasn't
description for direction of rotation.
Change-Id: Ie3a9dc5fc3eb3c328a57dd880c31cd9aa2df9951
Junkyeong Kim [Fri, 24 Jul 2020 05:19:15 +0000 (14:19 +0900)]
package version up to 2.11.2
Change-Id: Id0998628a17481627f0db7d7bf2021ea07e411f3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 24 Jul 2020 05:18:42 +0000 (14:18 +0900)]
haltest: init preferred_align_vertical
Change-Id: Ic1b1c12b4bd4de23a01f0e72c7f4a348173d8f52
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 10 Jul 2020 10:31:39 +0000 (19:31 +0900)]
package version up to 2.11.1
Change-Id: Id49f34b679ff8bd13e9e25cc805b3811dee2cf75
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 10 Jul 2020 10:28:47 +0000 (19:28 +0900)]
tdm: fix ordered output setting bug
if same type connected output checked, do not set second one.
if set the second one, it changes the right sequence.
Change-Id: I91ad69fb5c7409e4319314a16ee59f2ab056c4b4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Thu, 2 Jul 2020 02:40:55 +0000 (11:40 +0900)]
package version up to 2.11.0
Change-Id: Iaca15648a348d85d7b4b09edc7e7e44714b22969
SooChan Lim [Wed, 1 Jul 2020 10:48:12 +0000 (19:48 +0900)]
log : remove print on stdout
Change-Id: I3d697c277a50928ac5b3a769f8f31fee249f0dca
Changyeon Lee [Wed, 1 Jul 2020 04:11:54 +0000 (13:11 +0900)]
fix wrong backend interface name
Change-Id: I79c6ddfee3b257236e1f972ddf7350f68c13b447
Changyeon Lee [Tue, 30 Jun 2020 12:28:23 +0000 (21:28 +0900)]
package version up to 2.10.11
Change-Id: I4ae4545fa45894e256b857621fffab228fd68002
Changyeon Lee [Wed, 24 Jun 2020 05:28:34 +0000 (14:28 +0900)]
tdm_hwc: add tdm_hwc_get_release_fences interface
Retrieves the windows which the backend requires setting the release fences
the release fence is signaled when the backend is no longer using previous buffer.
tdm_error tdm_hwc_get_release_fences(tdm_hwc *hwc, uint32_t *num_elements,
tdm_hwc_window **hwc_windows, int *fences);
tdm_error (*tdm_hwc_get_release_fences)(tdm_hwc *hwc, uint32_t *num_elements,
tdm_hwc_window **hwc_windows, int *release_fences);
Change-Id: Ie8bd337c6da2c49368263c701f2dcdcc31655f62
Changyeon Lee [Tue, 30 Jun 2020 11:43:59 +0000 (20:43 +0900)]
tdm_backend: fix typo
Change-Id: Ie98882fcaf2410521211cd2169e9f589fc195e45
Changyeon Lee [Mon, 22 Jun 2020 04:26:27 +0000 (13:26 +0900)]
tdm_hwc: add fence api and backend interface
add fence api in tdm.h
tdm_error tdm_hwc_set_client_target_acquire_fence(tdm_hwc *hwc, int acquire_fence)
tdm_error tdm_hwc_get_commit_fence(tdm_hwc *hwc, int *commit_fence)
tdm_error tdm_hwc_window_set_acquire_fence(tdm_hwc_window *hwc_window, int acquire_fence)
tdm_common.h
TDM_HWC_CAPABILITY_FENCE
backend interface
tdm_error (*hwc_set_client_target_acquire_fence)(tdm_hwc *hwc, int acquire_fence)
tdm_error (*hwc_get_commit_fence)(tdm_hwc *hwc, int *commit_fence);
tdm_error (*hwc_window_set_acquire_fence)(tdm_hwc_window *hwc_window, int acquire_fence)
Change-Id: I706a27341fa14c6cd1bc4ec8fb49bd4f7a8079c8
Junkyeong Kim [Fri, 19 Jun 2020 06:36:46 +0000 (15:36 +0900)]
package version up to 2.10.10
Change-Id: I7c41754fe5d9a59ff5e378c25dd7b189d4b06efd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 19 Jun 2020 04:29:58 +0000 (13:29 +0900)]
tdm_common: add no transform pp capability
Change-Id: Iec0145551cd100f27aea256270c237fd6fcd5732
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 15 Jun 2020 10:35:44 +0000 (19:35 +0900)]
package version up to 2.10.9
Change-Id: Ibed0348bd3ef201755b608a7ab702a39b4567674
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 15 Jun 2020 10:34:27 +0000 (19:34 +0900)]
tdm_hwc: check hwc_commit_handler's validation before list deleting.
Change-Id: Id5c37bc169b0fb982ba1261823333cf8c7587933
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 15 Jun 2020 10:32:27 +0000 (19:32 +0900)]
tdm_hwc: change use_vblank and layer_waiting_vblank flag setting position
Change-Id: I4a6c3804c87612d40e72a69860bb53f54df259cc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 15 Jun 2020 10:30:21 +0000 (19:30 +0900)]
tdm_hwc: add null check
Change-Id: I7f1bd8a7412f8ca980232cdaff072f9a76c78103
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 5 Jun 2020 01:37:57 +0000 (10:37 +0900)]
package version up to 2.10.8
Change-Id: I830fac6f4317c807548cea168a85921b32309622
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 5 Jun 2020 01:37:19 +0000 (10:37 +0900)]
haltest: add pp preferred_align_vertical tc
Change-Id: I1f8fd5980f036a21f0736d45c4679e111ebd977a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 5 Jun 2020 01:35:06 +0000 (10:35 +0900)]
haltest: add hwc property functions tc
Change-Id: I99dbb20d9c669879d0c5c9d3c203cd2b13ade345
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 3 Jun 2020 10:27:29 +0000 (19:27 +0900)]
tdm_helper: do not include coverage checking layer_info related code.
hwc mode is default enabled.
if hwc mode enabled, tdm_layer related code is not supported
Change-Id: I5990e8f544e17533954478fb71a5109632d6fb2e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 3 Jun 2020 10:13:12 +0000 (19:13 +0900)]
tdm_output: do not include coverage checking tdm_output_commit function
hwc mode is default enabled.
if hwc mode enabled, tdm_output_commit is not supported.
Change-Id: I0f3aba9e181a78a6a7f3698c0234700bb076e0d6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 26 May 2020 10:04:43 +0000 (19:04 +0900)]
haltest: check hwc enabled to set output mode
if hwc enabled, must not use tdm_output_commit function.
Change-Id: I3fedc1d35c8ef914e2939c40f72677fd4c86d39b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 15 May 2020 06:55:48 +0000 (15:55 +0900)]
prevent vblank set while dpms set executing
Change-Id: Icfbc5f0eb17db65809ef954e8afe55c84aa028d5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 15 May 2020 06:53:13 +0000 (15:53 +0900)]
tdm_output: add tdm_output_get_dpms_changing API
private_output->waiting_dpms_change flag is set when dpms set,
and unset when dpms set done callback called from backend.
this flag is used dpms_set_async function.
Change-Id: I8da9ac0e900bafc7b8e55570251e51a735eb9f17
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 13 May 2020 08:06:35 +0000 (17:06 +0900)]
tdm_layer: do not include coverage checking tdm_layer related APIs
if hwc mode enabled, tdm_layer APIs are disabled.
so exclude layer relate APIs coverage checking because hwc mode is default on now.
Change-Id: I50b3a80061ae00c2c538b70eda276e899c92bbfc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Tue, 17 Mar 2020 01:10:55 +0000 (10:10 +0900)]
package version up to 2.10.7
Change-Id: If75489a74d769ead519c9be995c1b9ae80b8ca8f
SooChan Lim [Wed, 15 May 2019 08:41:41 +0000 (17:41 +0900)]
layer: check if the HWC cap is enabled
The layer api MUST not be used when the HWC capability is enabled.
When the HWC capability is set by tdm backends, it means that they
does not support the layer objects.
Change-Id: Ibf9210ea4abf8870e18caa23b5f0f5de2c24eb00
SooChan Lim [Wed, 15 May 2019 08:40:48 +0000 (17:40 +0900)]
layer: add the macro to check the HWC cap is enabled
Change-Id: I8812530c7aed667baed03dc0a1e08ee169d9a418
Junkyeong Kim [Thu, 27 Feb 2020 05:20:26 +0000 (14:20 +0900)]
package version up to 2.10.6
Change-Id: Id32fcf09dc451d6d2c0bf82bba45ddcfa64ff87d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 27 Feb 2020 05:18:08 +0000 (14:18 +0900)]
tdm_server: erase unnecessary buffer ref
Change-Id: I2e30e7d04130cb03c154e152c9a60e444bf35867
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 13 Feb 2020 11:42:48 +0000 (20:42 +0900)]
tdm_virtual: use tdm.ini flag to select virtual hwc target buffer bo type
use virtual_output_hwc_target_bo_default flag.
if set to 1, use TBM_BO_DEFAULT flag to make hwc target buffer queue.
if set to 0 or not defined, use TBM_BO_SCANOUT flag.
Change-Id: I3b6a9fca456f49cbe67bebab9ad614336f35552f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 25 Feb 2020 06:30:04 +0000 (15:30 +0900)]
tdm_virtual: use target_buffer_queue_flag to make voutput buffer queue
Change-Id: Icac49125d90f5e346bd6e2ada9249f32c9fe19a1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 25 Feb 2020 06:27:29 +0000 (15:27 +0900)]
tdm_virtual: implementation for voutput_set_target_buffer_queue_flag
Change-Id: I9d9aa4d9b4ceb9defc7ba38d5bd24287bc7f37da
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 13 Feb 2020 11:11:57 +0000 (20:11 +0900)]
tdm_backend: add voutput backend api for setting hwc target buffer queue flag
Change-Id: I1678b56032a3c5794abe097460e77f6a6c38a1fc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>