platform/core/uifw/libtdm.git
6 weeks agoPackage version up to 3.1.11 61/308161/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240320.151857 accepted/tizen/unified/x/20240326.073036
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>
6 weeks agohaltest: Fix test execution error 60/308160/1
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>
7 weeks agoPackage version up to 3.1.10 50/307450/2 accepted/tizen/unified/20240311.170433 accepted/tizen/unified/x/20240313.092043
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>
7 weeks agoFix lcov pair error 49/307449/2
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>
8 weeks agoPackage version up to 3.1.9 30/307230/2 accepted/tizen/unified/20240307.171834 accepted/tizen/unified/x/20240311.095829
Changyeon Lee [Wed, 6 Mar 2024 07:35:28 +0000 (16:35 +0900)]
Package version up to 3.1.9

Change-Id: I4c618e8adc5223994259f1eac968bdc5a939d052

8 weeks agotdm_test_server: Remove dead code 97/307197/2
Changyeon Lee [Wed, 6 Mar 2024 04:09:24 +0000 (13:09 +0900)]
tdm_test_server: Remove dead code

Change-Id: I5f8225397123b13b3aaf9ee0c784c03e133bb8f7

8 weeks agoclient: Fix missing lock 91/307191/2
Changyeon Lee [Wed, 6 Mar 2024 03:33:16 +0000 (12:33 +0900)]
client: Fix missing lock

Change-Id: Iacef5f2e65b6dee0c7eb41bb8daa8a1df6dae433

9 months agoPackage version up to 3.1.8 13/296313/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.094225 accepted/tizen/unified/20230726.163527 tizen_8.0_m2_release
Changyeon Lee [Tue, 25 Jul 2023 08:30:56 +0000 (17:30 +0900)]
Package version up to 3.1.8

Change-Id: I91872165c6c7b49bb2c3210093dae9def9c552e7

9 months agotdm_server: Use timeout handler of vblank instead timer 12/296312/1
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

9 months agotdm_vblank: Add tdm_vblank_set_timeout_handler 11/296311/1
Changyeon Lee [Tue, 25 Jul 2023 08:17:53 +0000 (17:17 +0900)]
tdm_vblank: Add tdm_vblank_set_timeout_handler

Change-Id: I90358136d4a7486db8cc883e8cdebd2b15074dd2

9 months agoFix build error of misleading-indentation 36/295136/1 accepted/tizen_unified_dev accepted/tizen/unified/20230705.063743 accepted/tizen/unified/dev/20230726.115537
Changyeon Lee [Mon, 3 Jul 2023 07:19:13 +0000 (16:19 +0900)]
Fix build error of misleading-indentation

Change-Id: I4bc0b1304ee5f0c9cf215c579c987cd843b9324b

9 months agoFix build error of maybe-uninitialized 02/295102/2
Changyeon Lee [Mon, 3 Jul 2023 02:27:50 +0000 (11:27 +0900)]
Fix build error of maybe-uninitialized

Change-Id: I3a0bed5419b07369f90b813c2367912493b4565d

10 months agoPackage version up to 3.1.7 23/293923/1 accepted/tizen/unified/20230613.170803
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>
10 months agoclient: Add new API to handle pending events 79/293679/2
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>
11 months agohwc: fix use after free when tdm_hwc_set_vblank is enabled 73/293173/2
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

11 months agohwc: Add ttrace tag of hwc 87/293087/1
Changyeon Lee [Fri, 19 May 2023 09:22:08 +0000 (18:22 +0900)]
hwc: Add ttrace tag of hwc

Change-Id: I539ae9d5c37f4ee7c1786f0d8c34362c71e2343e

12 months agoPackage version up to 3.1.6 05/292105/1 accepted/tizen/unified/20230528.171006
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>
12 months agotdm_thread: Set tdm thread name 98/292098/1
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>
12 months agoFix sign extension error 93/291493/1 accepted/tizen/unified/20230419.044959
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>
12 months agoRevert "Fix invalid assignment with pointer" 90/291390/1
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>
12 months agoPackage version up to 3.1.5 39/291339/2
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>
12 months agotdm_vblank: add wait_info vaildation checking to sw vblank cb function 38/291338/2
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>
16 months agoRedefine 'tdm_transform' enumaration 08/284308/4
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

17 months agoPackage version up to 3.1.4 04/283904/1
Changyeon Lee [Mon, 7 Nov 2022 05:06:07 +0000 (14:06 +0900)]
Package version up to 3.1.4

Change-Id: Ibbf9b3bb0038140ba5c64aa4ff1ce59cf256d9d9

17 months agoFix multiplication with signed and unsigned 03/283903/1
Changyeon Lee [Mon, 7 Nov 2022 05:04:40 +0000 (14:04 +0900)]
Fix multiplication with signed and unsigned

Change-Id: Ic6cb0da10136186c09677f9f6fe4fd436dfac382

17 months agoFix overflow accessing 08/283808/1
Changyeon Lee [Thu, 3 Nov 2022 07:14:31 +0000 (16:14 +0900)]
Fix overflow accessing

Change-Id: If83ac5bcfff383b1b634d44c3fc4ecc37515deb5

17 months agoFix invalid assignment with pointer 07/283807/2
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

17 months agoFix invalid assignment with unsigned values 56/283356/2
Changyeon Lee [Tue, 18 Oct 2022 08:09:09 +0000 (17:09 +0900)]
Fix invalid assignment with unsigned values

Change-Id: I8194de2767bea1d87cb4eceefd599ba9ef6dc0c4

18 months agoFix invalid assignment of sizeof 55/283355/1
Changyeon Lee [Tue, 18 Oct 2022 08:06:10 +0000 (17:06 +0900)]
Fix invalid assignment of sizeof

Change-Id: I7672cf880560ccde35577a8f956b13a2b7b42bb0

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