Changyeon Lee [Thu, 5 Dec 2024 07:57:46 +0000 (16:57 +0900)]
Package version up to 3.2.0
Change-Id: I36efd0faf6d9b7c7bc546fe63a11623793716095
Changyeon Lee [Thu, 5 Dec 2024 07:56:56 +0000 (16:56 +0900)]
tdm_vblank: Change fps change log to default log
Change-Id: Ia78ac134c541b182f6244de74c2c55b908c319cf
Changyeon Lee [Thu, 5 Dec 2024 07:50:19 +0000 (16:50 +0900)]
tdm_vblank: Add TDM_OUTPUT_CAPABILITY_NO_HW_VBLANK
if hal tdm backend set HAL_TDM_OUTPUT_CAPABILITY_NO_HW_VBLANK,
tdm_vblank use SW_FAKE vblank.
Change-Id: I28ed488857cfdc3dff03663a2dc8cfbbb886f845
Changyeon Lee [Fri, 29 Nov 2024 06:07:54 +0000 (15:07 +0900)]
Package version up to 3.1.18
Change-Id: Ibcbdf0b579b504716b46160c52fc3d6f15d0604a
Changyeon Lee [Fri, 29 Nov 2024 06:06:33 +0000 (15:06 +0900)]
Add ttrace and info log when getting tdm_hal_backend
Change-Id: I2c8c3ce705484f7a3ef4355e343a7f94c9f161f8
Changyeon Lee [Mon, 25 Nov 2024 05:32:55 +0000 (14:32 +0900)]
Package version up to 3.1.17
Change-Id: Ie37295856b9e67f414f7ab3b4ff048e3dba58225
Changyeon Lee [Mon, 25 Nov 2024 05:32:20 +0000 (14:32 +0900)]
tdm_vblank: Remove while for calculating target of SW
Change-Id: Ia9112abb7bbdb1f042c070caef883a1cdf20a234
Changyeon Lee [Mon, 25 Nov 2024 03:33:03 +0000 (12:33 +0900)]
tdm_vblank: Add default log when vblank use SW
Change-Id: I775eb2c29b6c4aa37a30e1416cad09a51e4a803f
Changyeon Lee [Wed, 11 Sep 2024 05:40:23 +0000 (14:40 +0900)]
Package version up to 3.1.16
Change-Id: I507a27d792655d96629a7f403e80cb4933f69558
Changyeon Lee [Wed, 11 Sep 2024 05:39:30 +0000 (14:39 +0900)]
dummy: Fix the problem of hwc commit func is not called
Change-Id: I421d5972eff05b7548abc435ce6e2b49382b0bf2
Changyeon Lee [Mon, 9 Sep 2024 11:48:22 +0000 (20:48 +0900)]
Package version up to 3.1.15
Change-Id: I79b2b776a30c66498fa7ac5570c7304bd0944073
Changyeon Lee [Mon, 9 Sep 2024 11:47:46 +0000 (20:47 +0900)]
tdm_dummy: Add TDM_OUTPUT_CAPABILITY_HWC
Change-Id: Iacc86572340676a2e7b60de6af39353279050e4b
Junkyeong Kim [Wed, 14 Aug 2024 09:13:05 +0000 (18:13 +0900)]
Package version up to 3.1.14
Change-Id: I948572806faf1cadef18bd9e70f5cd5ab70f41d0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Wed, 14 Aug 2024 09:12:29 +0000 (18:12 +0900)]
tdm_dummy: Support hwc
Change-Id: Iaa8a4f2bf1c48d2b9ca16a0a52497602ae350e8f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Thu, 8 Aug 2024 05:52:36 +0000 (14:52 +0900)]
Package version up to 3.1.13
Change-Id: I24853d3471212d40901623fcb2327929224a95f4
Changyeon Lee [Thu, 8 Aug 2024 05:48:49 +0000 (14:48 +0900)]
Include tbm internal header
Change-Id: Ie947f764f776a95f1683cc85720a3181909f49c1
Changyeon Lee [Tue, 9 Jul 2024 05:50:58 +0000 (14:50 +0900)]
Package version up to 3.1.12
Change-Id: I3dc2ca0e40d5b0b0ca85e13edc152f721aeeb6d1
Changyeon Lee [Tue, 9 Jul 2024 05:50:31 +0000 (14:50 +0900)]
Transfer ownership of acquire_fence fd when fd is set to tdm
Change-Id: I1d1bae70a45a749979d820ce6f4f8951dfe7c383
Łukasz Stelmach [Wed, 22 May 2024 13:30:30 +0000 (15:30 +0200)]
Prevent spurious restarts
Due to a fix to path units in systemd in commit
708961c701 ("core/path:
recheck path specs when triggered unit changes state"), service units
that aren't supposed to run repeatedly and are triggered by path units
need to set RemainAfterExit=yes.
Change-Id: Id33118caeec97b279a558fc7c90af32c6e8272ce
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Junkyeong Kim [Tue, 19 Mar 2024 02:15:10 +0000 (11:15 +0900)]
Package version up to 3.1.11
Change-Id: I61586a0e3a8ebd69a09da1908858605b6ab2a533
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Tue, 19 Mar 2024 02:13:36 +0000 (11:13 +0900)]
haltest: Fix test execution error
The gtest version up to 1.14.
Have to match test build version to 1.14.
Change-Id: I549e7aafba00544d3a4bea8bdc634ee8f9b284e0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 8 Mar 2024 10:11:38 +0000 (19:11 +0900)]
Package version up to 3.1.10
Change-Id: Ia8832f01ba3b14b98d271a0eaf698f6858bc5a3c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 8 Mar 2024 10:10:27 +0000 (19:10 +0900)]
Fix lcov pair error
New lcov version do not allow start stop comment pair error.
It makes lcov generating failed.
Change-Id: I42aa883a0f1faca63b08e097df60ed3388691237
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Wed, 6 Mar 2024 07:35:28 +0000 (16:35 +0900)]
Package version up to 3.1.9
Change-Id: I4c618e8adc5223994259f1eac968bdc5a939d052
Changyeon Lee [Wed, 6 Mar 2024 04:09:24 +0000 (13:09 +0900)]
tdm_test_server: Remove dead code
Change-Id: I5f8225397123b13b3aaf9ee0c784c03e133bb8f7
Changyeon Lee [Wed, 6 Mar 2024 03:33:16 +0000 (12:33 +0900)]
client: Fix missing lock
Change-Id: Iacef5f2e65b6dee0c7eb41bb8daa8a1df6dae433
Changyeon Lee [Tue, 25 Jul 2023 08:30:56 +0000 (17:30 +0900)]
Package version up to 3.1.8
Change-Id: I91872165c6c7b49bb2c3210093dae9def9c552e7
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>