platform/core/uifw/libtdm.git
19 months agoPackage version up to 3.1.3 82/280882/2 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063526 accepted/tizen/7.0/unified/hotfix/20221116.110146 accepted/tizen/unified/20220913.175607 tizen_7.0_m2_release
Changyeon Lee [Tue, 6 Sep 2022 07:54:54 +0000 (16:54 +0900)]
Package version up to 3.1.3

Change-Id: Iff92bed45ac4827d7609829ec3b8aed28c7d61b2

19 months agotdm_client: Fix leak of resource 81/280881/2
Changyeon Lee [Tue, 6 Sep 2022 07:54:28 +0000 (16:54 +0900)]
tdm_client: Fix leak of resource

Change-Id: I69e700bf91da5d736377033c2c3825eaeb4b82bb

21 months agoPackage version up to 3.1.2 15/277515/1 accepted/tizen/unified/20220719.131729 submit/tizen/20220718.080908
Changyeon Lee [Thu, 7 Jul 2022 10:12:28 +0000 (19:12 +0900)]
Package version up to 3.1.2

Change-Id: I4b6118735c84f22b904f979ae4194a93ac9c83ac

21 months agotdm_server: Remove duplicate code 14/277514/1
Changyeon Lee [Tue, 5 Jul 2022 04:39:06 +0000 (13:39 +0900)]
tdm_server: Remove duplicate code

Change-Id: I04f6bc9b4064589e1609d78ceded9b8a08bbc96e

21 months agohaltest/client: Remove duplicate code 13/277513/1
Changyeon Lee [Mon, 4 Jul 2022 10:24:50 +0000 (19:24 +0900)]
haltest/client: Remove duplicate code

Change-Id: I31311d011e5af46eb6a5323bdc9b0db402b9ca27

21 months agohaltest/layer: Remove duplicate code 12/277512/1
Changyeon Lee [Mon, 4 Jul 2022 08:38:20 +0000 (17:38 +0900)]
haltest/layer: Remove duplicate code

Change-Id: I94ae91b632c40f2e03ea24f7872fc55707c308b2

21 months agohaltest/backend_capture: Remove duplicate code 46/277246/4
Changyeon Lee [Mon, 4 Jul 2022 05:46:08 +0000 (14:46 +0900)]
haltest/backend_capture: Remove duplicate code

Change-Id: Ie16363ad898dcb72874ce98e9542ff80fab72da7

21 months agohaltest/backend_display: Remove duplicate code 84/277084/7
Changyeon Lee [Thu, 30 Jun 2022 09:59:33 +0000 (18:59 +0900)]
haltest/backend_display: Remove duplicate code

Change-Id: I151a8a6cce2a741af8fd95ad0d1ac8b2e8a0e5ea

21 months agohaltest/backend_pp: Remove duplicate code 85/277185/2
Changyeon Lee [Fri, 1 Jul 2022 09:23:50 +0000 (18:23 +0900)]
haltest/backend_pp: Remove duplicate code

Change-Id: I10a5850fcfafed122c0f055289629e1427c02c53

21 months agohaltest/hwc: Remove duplicate code 84/277184/2
Changyeon Lee [Fri, 1 Jul 2022 08:36:19 +0000 (17:36 +0900)]
haltest/hwc: Remove duplicate code

Change-Id: I277f74abb85ecc4eb29e1259a4fde7f67a19d90f

21 months agotools/buffers: Remove duplicate code 79/277179/2
Changyeon Lee [Thu, 30 Jun 2022 10:22:43 +0000 (19:22 +0900)]
tools/buffers: Remove duplicate code

Change-Id: Id64cc0f159cb57d01f515b2708094612e7f6997e

21 months agotdm_client: Remove duplicate code 24/276824/3
Changyeon Lee [Mon, 27 Jun 2022 03:55:30 +0000 (12:55 +0900)]
tdm_client: Remove duplicate code

Change-Id: I1b61378b6a458c7196e3869aeabba1a15e119467

22 months agotdm_test_client: Use tbm api for dump buffer 23/276823/2
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

2 years agoPackage version up to 3.1.1 10/271810/1 accepted/tizen/unified/20220303.025914 submit/tizen/20220302.020404 submit/tizen/20220302.231156
SooChan Lim [Wed, 2 Mar 2022 01:34:49 +0000 (10:34 +0900)]
Package version up to 3.1.1

Change-Id: Ibf1ed41f1eec0aa118a3710afecdfbf4745a0b22

2 years agodo not use "+" at configure.ac 09/271809/1
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

2 years agoPackage version up to 3.1.0 28/271228/2 accepted/tizen/unified/20220220.211433 submit/tizen/20220218.025831 submit/tizen/20220218.030458
Changyeon Lee [Thu, 17 Feb 2022 04:51:33 +0000 (13:51 +0900)]
Package version up to 3.1.0

Change-Id: Ie9bbfdf73df7c397895917eec2c18cff54bc027a

2 years agoadd tdm_hwc_set_client_target_buffer_info 27/271227/2
Changyeon Lee [Fri, 11 Feb 2022 09:10:25 +0000 (18:10 +0900)]
add tdm_hwc_set_client_target_buffer_info

Change-Id: I2d1e5b302cd15355e4869faf59802a77c5cf0ca5

2 years agoFix the misused preset output variables of autoconf 07/263007/1 linux_yocto
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>
2 years agoExclude dlog dependency when dlog disabled. 72/262972/3
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>
2 years agoadd --with-default-dlog build option 54/261854/1
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

2 years agotdm: fix the dereference value 67/259967/2 accepted/tizen_6.5_unified accepted/tizen/6.5/unified/20211028.121322 accepted/tizen/unified/20210621.123031 submit/tizen/20210617.055124 submit/tizen/20210618.011813 submit/tizen/20210618.124433 submit/tizen/20210619.020537 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
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

2 years agoPackage version up to 3.0.5 55/259955/1 submit/tizen/20210617.022952
SooChan Lim [Thu, 17 Jun 2021 02:21:27 +0000 (11:21 +0900)]
Package version up to 3.0.5

Change-Id: I901c589369ef369f5b7829612d3616c975027d44

2 years agotdm: fix the memory leak 54/259954/1
SooChan Lim [Thu, 17 Jun 2021 02:06:07 +0000 (11:06 +0900)]
tdm: fix the memory leak

Change-Id: I2919b6f5296852a5ce2d93e4d866e5885fad6990

2 years agoPackage version up to 3.0.4 04/259404/1 accepted/tizen/unified/20210608.130925 submit/tizen/20210607.091016
SooChan Lim [Mon, 7 Jun 2021 08:15:42 +0000 (17:15 +0900)]
Package version up to 3.0.4

Change-Id: Ic8322ef333d33fe3faf5824a8194831a27f5166b

2 years agotdm_display: return the module information at use_hal_tdm case. 00/259400/1
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

2 years agotdm: make a module_data at use_tdm_hal case. 99/259399/1
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

3 years agoPackage version up to 3.0.3 58/257158/1 accepted/tizen/unified/20210421.002335 submit/tizen/20210420.072850
SooChan Lim [Tue, 20 Apr 2021 06:26:55 +0000 (15:26 +0900)]
Package version up to 3.0.3

Change-Id: I5e57f6ea8ea574ebd3a20d257ef255d332750a34

3 years agotc: donot check the error in case of vblank interval 53/257153/2
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

3 years agotc: call DestroyPP to match with PreparePP 52/257152/1 submit/haltests1/20210419.054203
SooChan Lim [Fri, 16 Apr 2021 08:32:56 +0000 (17:32 +0900)]
tc: call DestroyPP to match with PreparePP

Change-Id: Ie62a2fa120403f761bf41c4f7c0f39a4b780f35b

3 years agotdm_client: check the dereference varaibales 79/256979/2
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

3 years agotc : fix the failed test on TDMBackendPP 03/256803/3
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

3 years agotc: fix the failed testcase on TDMHwc 88/256788/2
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

3 years agoPackage version up to 3.0.2 36/255736/1 accepted/tizen/unified/20210324.124427 submit/tizen/20210323.100158
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>
3 years agoset pp and capture capability 35/255735/1
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>
3 years agoPackage version up to 3.0.1 24/255024/1 submit/tizen/20210316.103610 submit/tizen/20210319.090617
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>
3 years agoTdm: Fix syntax 15/254915/2
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>
3 years agochange bin file position to /usr/bin/hal 78/254078/1 submit/tizen/20210225.061607
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>
3 years agopackage version up to 3.0.0 00/254000/1 accepted/tizen/unified/20210302.131046 submit/tizen/20210222.081804 submit/tizen/20210225.073439 submit/tizen/20210302.014712
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

3 years agoexecute tbm_bufmgr_init when init 99/253999/1
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>
3 years agohal: deal with master_drm_fd 98/253998/1
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

3 years agouse HAL_TDM_EVENT_SOURCE_MAX for event source 97/253997/1
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>
3 years agodisable virtual output tc for hal-tdm temporary 96/253996/1
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>
3 years agofix some tc fail errors 95/253995/1
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>
3 years agotc: erase assert 94/253994/1
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>
3 years agohaltests: use EXPECT intead of ASSERT 93/253993/1
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

3 years agoexecute memcpy only success case 92/253992/1
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>
3 years agodo not use module_data if using hal-tdm 91/253991/1
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>
3 years agofix syntax error 90/253990/1
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>
3 years agoadapt hal-api-tdm 89/253989/1
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>
3 years agotdm_monitor: add dump usage about window 38/250938/2
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>
3 years agotdm_display: support dump current option for hwc_window 37/250937/1
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>
3 years agotdm_hwc_window: add display_buffer and composition_type for debugging 36/250936/1
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>
3 years agotdm_monitor: add dpms get method 62/250762/1
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>
3 years agopackage version up to 2.12.0 97/246097/4 accepted/tizen/unified/20201029.124820 submit/tizen/20201028.110311
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>
3 years agotdm_hwc: add tdm_hwc_get_commit_interval interface 44/246244/4
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

3 years agohaltest: add full path name for dump 96/246096/1
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>
3 years agohaltest: add line coverage excluding comments 95/246095/1
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>
3 years agohwc: change use_vblank flag set position 69/245969/1
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>
3 years agohaltest: add skip condition to pp transform test 40/245340/1
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>
3 years agotdm_config: add TDM_CONFIG_KEY_GENERAL_HWC_COMMIT_USE_GLOBAL_FPS config define 00/243300/3
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>
3 years agopackage version up to 2.11.3 64/242864/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113949 accepted/tizen/6.0/unified/hotfix/20201103.002119 accepted/tizen/unified/20200902.011941 submit/tizen/20200901.104418 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
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>
3 years agoRevert "tdm_vblank: execute hwc_vblank set and unset when tdm_vblank_enable_global_fp... 63/242863/1
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>
3 years agotdm_common: clarify TDM_TRANSFORM enumaration. 94/240394/1
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

3 years agopackage version up to 2.11.2 41/239341/2 accepted/tizen/unified/20200729.165655 submit/tizen/20200728.033728
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>
3 years agohaltest: init preferred_align_vertical 40/239340/2
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>
3 years agopackage version up to 2.11.1 03/238303/1 accepted/tizen/unified/20200714.065715 submit/tizen/20200713.080845
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>
3 years agotdm: fix ordered output setting bug 02/238302/1
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>
3 years agopackage version up to 2.11.0 27/237627/1 accepted/tizen/unified/20200703.014553 submit/tizen/20200702.040745
SooChan Lim [Thu, 2 Jul 2020 02:40:55 +0000 (11:40 +0900)]
package version up to 2.11.0

Change-Id: Iaca15648a348d85d7b4b09edc7e7e44714b22969

3 years agolog : remove print on stdout 75/237575/2
SooChan Lim [Wed, 1 Jul 2020 10:48:12 +0000 (19:48 +0900)]
log : remove print on stdout

Change-Id: I3d697c277a50928ac5b3a769f8f31fee249f0dca

3 years agofix wrong backend interface name 04/237504/1 accepted/tizen/unified/20200702.141753 submit/tizen/20200701.053215
Changyeon Lee [Wed, 1 Jul 2020 04:11:54 +0000 (13:11 +0900)]
fix wrong backend interface name

Change-Id: I79c6ddfee3b257236e1f972ddf7350f68c13b447

3 years agopackage version up to 2.10.11 63/237463/1
Changyeon Lee [Tue, 30 Jun 2020 12:28:23 +0000 (21:28 +0900)]
package version up to 2.10.11

Change-Id: I4ae4545fa45894e256b857621fffab228fd68002

3 years agotdm_hwc: add tdm_hwc_get_release_fences interface 62/237462/1
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

3 years agotdm_backend: fix typo 61/237461/1
Changyeon Lee [Tue, 30 Jun 2020 11:43:59 +0000 (20:43 +0900)]
tdm_backend: fix typo

Change-Id: Ie98882fcaf2410521211cd2169e9f589fc195e45

3 years agotdm_hwc: add fence api and backend interface 08/236808/3
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

3 years agopackage version up to 2.10.10 62/236662/2 accepted/tizen/unified/20200623.124141 submit/tizen/20200622.044315
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>
3 years agotdm_common: add no transform pp capability 45/236645/2
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>
3 years agopackage version up to 2.10.9 86/236186/1 accepted/tizen/unified/20200618.130105 submit/tizen/20200617.023039
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>
3 years agotdm_hwc: check hwc_commit_handler's validation before list deleting. 85/236185/1
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>
3 years agotdm_hwc: change use_vblank and layer_waiting_vblank flag setting position 84/236184/1
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>
3 years agotdm_hwc: add null check 83/236183/1
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>
3 years agopackage version up to 2.10.8 78/235478/1 accepted/tizen/unified/20200615.135435 submit/tizen/20200605.021224 submit/tizen/20200611.074233
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>
3 years agohaltest: add pp preferred_align_vertical tc 77/235477/1
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>
3 years agohaltest: add hwc property functions tc 75/235475/1
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>
3 years agotdm_helper: do not include coverage checking layer_info related code. 97/235297/1
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>
3 years agotdm_output: do not include coverage checking tdm_output_commit function 96/235296/1
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>
3 years agohaltest: check hwc enabled to set output mode 49/234449/2
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>
3 years agoprevent vblank set while dpms set executing 21/233521/2
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>
3 years agotdm_output: add tdm_output_get_dpms_changing API 19/233519/2
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>
3 years agotdm_layer: do not include coverage checking tdm_layer related APIs 60/233260/2
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>
4 years agopackage version up to 2.10.7 50/227850/1 submit/tizen/20200317.032930 submit/tizen/20200319.001434
SooChan Lim [Tue, 17 Mar 2020 01:10:55 +0000 (10:10 +0900)]
package version up to 2.10.7

Change-Id: If75489a74d769ead519c9be995c1b9ae80b8ca8f

4 years agolayer: check if the HWC cap is enabled 29/206229/7
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

4 years agolayer: add the macro to check the HWC cap is enabled 28/206228/2
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

4 years agopackage version up to 2.10.6 34/226134/1 accepted/tizen/unified/20200303.032539 submit/tizen/20200302.054442
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>
4 years agotdm_server: erase unnecessary buffer ref 32/226132/1
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>
4 years agotdm_virtual: use tdm.ini flag to select virtual hwc target buffer bo type 49/224849/2
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>
4 years agotdm_virtual: use target_buffer_queue_flag to make voutput buffer queue 74/225874/1
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>
4 years agotdm_virtual: implementation for voutput_set_target_buffer_queue_flag 73/225873/2
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>
4 years agotdm_backend: add voutput backend api for setting hwc target buffer queue flag 46/224846/6
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>
4 years agopackage version up to 2.10.5 37/225437/1 accepted/tizen/unified/20200221.093436 submit/tizen/20200220.071042
Junkyeong Kim [Thu, 20 Feb 2020 02:29:25 +0000 (11:29 +0900)]
package version up to 2.10.5

Change-Id: I12be6b87482b8c35d44280af3709ab82cef52396
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_display: add tdm_display_get_pp_preferred_align_vertical api 92/225392/1
Junkyeong Kim [Wed, 19 Feb 2020 11:32:41 +0000 (20:32 +0900)]
tdm_display: add tdm_display_get_pp_preferred_align_vertical api

Change-Id: Ibb83649d8f5811846995f572a922d1c6cd0ae2da
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>