Changyeon Lee [Tue, 25 Jul 2023 08:19:06 +0000 (17:19 +0900)]
tdm_server: Use timeout handler of vblank instead timer
Remove duplicate timer for vblank
Change-Id: Iacde2b99f77ed910f351ca6247ba7d5894ff9629
Changyeon Lee [Tue, 25 Jul 2023 08:17:53 +0000 (17:17 +0900)]
tdm_vblank: Add tdm_vblank_set_timeout_handler
Change-Id: I90358136d4a7486db8cc883e8cdebd2b15074dd2
Changyeon Lee [Mon, 3 Jul 2023 07:19:13 +0000 (16:19 +0900)]
Fix build error of misleading-indentation
Change-Id: I4bc0b1304ee5f0c9cf215c579c987cd843b9324b
Changyeon Lee [Mon, 3 Jul 2023 02:27:50 +0000 (11:27 +0900)]
Fix build error of maybe-uninitialized
Change-Id: I3a0bed5419b07369f90b813c2367912493b4565d
Joonbum Ko [Thu, 8 Jun 2023 07:31:31 +0000 (16:31 +0900)]
Package version up to 3.1.7
Change-Id: I53af9f94ec1b33f7c4588035e3cae7404cf499f4
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Joonbum Ko [Fri, 2 Jun 2023 03:52:14 +0000 (12:52 +0900)]
client: Add new API to handle pending events
- If the FD is obtained through tdm_client_get_fd() and
the client POLL the fd directly, the events in the default queue
may not be processed if the wl_display_roundtrip_queue() is called.
1. client get fd and poll
2. client call tdm_client_output_create_vblank()
<- 3. display server send event (default queue)
4. wl_display_roundtrip_queue() is called inside
tdm_client_output_create_vblank() (private queue)
4.1. read_events/queue_events done
4.2. dispatch events only in private queue
5. client locked up because vblank event in default queue
cannot be processed.
- This problem can be solved by providing a new API that
allows to handle the pending events in default queue.
Change-Id: Ife737cf43edd5aa9d4c0cc464cc9f88bb69840a1
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Changyeon Lee [Mon, 22 May 2023 04:45:50 +0000 (13:45 +0900)]
hwc: fix use after free when tdm_hwc_set_vblank is enabled
if hwc commit handler is called after vblank handler of
hwc commit is called, data of hwc_commit_handler is used
after it is freed because data of hwc_commit_handler is
freed in vblank handler.
this patch makes data of hwc_commit_handler is not used
to user_data of tdm_hwc_commit when tdm_hwc_set_vblank
is enabled.
Change-Id: Ib5445e2a012906d2c2941adaa674a11b9be3b5f0
Changyeon Lee [Fri, 19 May 2023 09:22:08 +0000 (18:22 +0900)]
hwc: Add ttrace tag of hwc
Change-Id: I539ae9d5c37f4ee7c1786f0d8c34362c71e2343e
Junkyeong Kim [Thu, 27 Apr 2023 07:50:48 +0000 (16:50 +0900)]
Package version up to 3.1.6
Change-Id: If3ad2932ae64dde02696768ba404bba7dfb480e6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 27 Apr 2023 07:27:00 +0000 (16:27 +0900)]
tdm_thread: Set tdm thread name
Change-Id: I9ed62774747c2300f5441686f1cd66e9586abef8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Mon, 17 Apr 2023 10:58:34 +0000 (19:58 +0900)]
Fix sign extension error
Change-Id: I9814ae158f31e2b11c27d82c75a4418150fb61c6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 14 Apr 2023 06:51:22 +0000 (15:51 +0900)]
Revert "Fix invalid assignment with pointer"
build failure occured to 64bit build.
This reverts commit
1cb81e57d06d6e82112c42764070deb81e134915.
Change-Id: I06bd7dc891f375d8fa6ffa177d1e02ff41861db6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 13 Apr 2023 12:41:24 +0000 (21:41 +0900)]
Package version up to 3.1.5
Change-Id: Ia059fe2f90e427c5005cbc42d667769e966468f5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 13 Apr 2023 12:35:59 +0000 (21:35 +0900)]
tdm_vblank: add wait_info vaildation checking to sw vblank cb function
check tdm_vblank_wait_info validation in thread cb before execute w->func.
Change-Id: Iaca3cc907225ffa8de242064300e0aa26af5770b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Seunghun Lee [Tue, 1 Nov 2022 00:30:39 +0000 (09:30 +0900)]
Redefine 'tdm_transform' enumaration
It was discovered that some tdm backend driver actually tnranslated 90
and 270 degree rotations of 'tdm_transform' enumeration as
counter-clockwise.
Since there is no other tdm backend drivers using 'tdm_transform'
enumeration, we've decided to redefine `tdm_transform` enumeration
rather than guide the tdm backend driver to follow the spec in the
documentation.
Change-Id: Ibea6ecd7e8ff38ac2312580507001ebbe826fb67
Changyeon Lee [Mon, 7 Nov 2022 05:06:07 +0000 (14:06 +0900)]
Package version up to 3.1.4
Change-Id: Ibbf9b3bb0038140ba5c64aa4ff1ce59cf256d9d9
Changyeon Lee [Mon, 7 Nov 2022 05:04:40 +0000 (14:04 +0900)]
Fix multiplication with signed and unsigned
Change-Id: Ic6cb0da10136186c09677f9f6fe4fd436dfac382
Changyeon Lee [Thu, 3 Nov 2022 07:14:31 +0000 (16:14 +0900)]
Fix overflow accessing
Change-Id: If83ac5bcfff383b1b634d44c3fc4ecc37515deb5
Changyeon Lee [Thu, 3 Nov 2022 06:50:49 +0000 (15:50 +0900)]
Fix invalid assignment with pointer
key of traceAsyncBegin and traceAsyncEnd is int type
Change-Id: If89886350f370a62bfb6123cff3e1f0120f25e3a
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>