platform/core/uifw/libtdm.git
3 years agoMerge branch 'tizen' into sandbox/cyeon/devel sandbox/cyeon/devel
Changyeon Lee [Mon, 22 Jun 2020 07:39:02 +0000 (16:39 +0900)]
Merge branch 'tizen' into sandbox/cyeon/devel

3 years agotdm_hwc: add fence api and backend interface
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 agotdm_hwc: add fence api and backend interface
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.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>
4 years agotdm: execute memset before getting pp capability 62/225362/1
Junkyeong Kim [Wed, 19 Feb 2020 08:03:49 +0000 (17:03 +0900)]
tdm: execute memset before getting pp capability

Change-Id: Ia4d298a3d0d3d978badce79300ee7420699f13a6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_backend: add pp capability member 60/225360/1
Junkyeong Kim [Wed, 19 Feb 2020 07:46:04 +0000 (16:46 +0900)]
tdm_backend: add pp capability member

add vertical preferred align capability.

Change-Id: I6df474e55645896c18a62632d670fabee33b6515
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agopackage version up to 2.10.4 25/223625/1 accepted/tizen/unified/20200203.125731 submit/tizen/20200203.001253
Junkyeong Kim [Fri, 31 Jan 2020 08:26:45 +0000 (17:26 +0900)]
package version up to 2.10.4

Change-Id: I62cad3189397bbc39ff7a26c1b63327934f7da55
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_helper: change format setting sequence 21/223621/1
Junkyeong Kim [Fri, 31 Jan 2020 07:55:45 +0000 (16:55 +0900)]
tdm_helper: change format setting sequence

Change-Id: Ic5e60219f2f7800948ea722f383f975088197ef6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotool: change copy length 10/223610/1
Junkyeong Kim [Fri, 31 Jan 2020 06:51:16 +0000 (15:51 +0900)]
tool: change copy length

Change-Id: Ie455205297df6ed31c79bd3c0ad276c2c842d9f3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agopackage version up to 2.10.3 66/223366/1 accepted/tizen/unified/20200130.214643 submit/tizen/20200129.055338
Junkyeong Kim [Wed, 29 Jan 2020 05:50:48 +0000 (14:50 +0900)]
package version up to 2.10.3

Change-Id: I6a2b27980be20b7c2ddaff8226bac5201b9eb339
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agofix the resource leak 26/223226/1
SooChan Lim [Mon, 27 Jan 2020 23:28:38 +0000 (08:28 +0900)]
fix the resource leak

Change-Id: I7b4f4ee61712092e17427a743dad5f23941e910a

4 years agopackage version up to 2.10.2 21/222421/1 accepted/tizen/unified/20200115.123339 submit/tizen/20200115.001453 submit/tizen/20200115.100804
SooChan Lim [Tue, 14 Jan 2020 23:40:44 +0000 (08:40 +0900)]
package version up to 2.10.2

Change-Id: Ic9744b1fa045f7327c36c79c436b24508b066909

4 years agofix stringio truncation warning 63/222363/1 submit/tizen/20200114.051218
Seunghun Lee [Tue, 14 Jan 2020 05:01:14 +0000 (14:01 +0900)]
fix stringio truncation warning

Change-Id: I8248896a4f6f936f252ba45a5f9ef1649ce41ccd

4 years agosilence stringio truncation warning 70/221770/1 accepted/tizen/unified/20200110.123621 submit/tizen/20200107.094751
Seunghun Lee [Tue, 7 Jan 2020 09:29:19 +0000 (18:29 +0900)]
silence stringio truncation warning

give a bigger number as a size and add nul byte at the end of array
in case of causing truncation.

Change-Id: I8db4fb74774810b83c2f92bd21ed4d1a0943b063

4 years agosilence format truncation warning. 69/221769/1
Seunghun Lee [Tue, 7 Jan 2020 09:23:13 +0000 (18:23 +0900)]
silence format truncation warning.

add nul byte at the end of array to fix warning about possible
truncation by snprintf.

Change-Id: Ib399a9a2f2d552e427fa4c240a616e46267df584

4 years agohaltest: silence warning due to dangling-else. 68/221768/1
Seunghun Lee [Tue, 7 Jan 2020 09:19:37 +0000 (18:19 +0900)]
haltest: silence warning due to dangling-else.

Change-Id: I0a0337dd73d2ffb4fbbce2aa1054ffe92795f461

4 years agopackage version up to 2.10.1 58/219958/1 accepted/tizen/unified/20191213.042452 submit/tizen/20191212.050401
Changyeon Lee [Thu, 12 Dec 2019 04:58:27 +0000 (13:58 +0900)]
package version up to 2.10.1

Change-Id: I56cac312280a9da8cf227acc36ca43d6b8936b1e

4 years agotdm_helper: set up error handling when dump png 57/219957/1
Changyeon Lee [Thu, 12 Dec 2019 04:25:25 +0000 (13:25 +0900)]
tdm_helper: set up error handling when dump png

Change-Id: Id3c9d591057b3ab73358ab810fb551452ee7cba0

4 years agotdm_client: add log to check vblank list validation 63/217063/1
Junkyeong Kim [Wed, 6 Nov 2019 05:05:56 +0000 (14:05 +0900)]
tdm_client: add log to check vblank list validation

Change-Id: I27bee79bf7f5b7bd87dd0815c9fbf4b0f897439b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_virtual_hwc: fix a typing error 85/216985/1
Junkyeong Kim [Tue, 5 Nov 2019 08:14:52 +0000 (17:14 +0900)]
tdm_virtual_hwc: fix a typing error

Change-Id: I5c9215625205df38e17bc62cb951bf26c2236c75
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agopackage version up to 2.10.0 72/216772/1 accepted/tizen/unified/20191104.115145 submit/tizen/20191104.003215
SooChan Lim [Fri, 1 Nov 2019 04:15:27 +0000 (13:15 +0900)]
package version up to 2.10.0

tizen 6.0 starts here.

Change-Id: Id0d8986d728499f6c39b9674260a32c865707cc1

4 years agotdm_vblank: execute hwc_vblank set and unset when tdm_vblank_enable_global_fps called 35/215835/2
Junkyeong Kim [Wed, 16 Oct 2019 10:13:35 +0000 (19:13 +0900)]
tdm_vblank: execute hwc_vblank set and unset when tdm_vblank_enable_global_fps called

Change-Id: Ia6f39e191079ad8089337a5b54563c5bfc66887d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_hwc: make hwc_vblank set/unset function 34/215834/2
Junkyeong Kim [Wed, 16 Oct 2019 10:04:28 +0000 (19:04 +0900)]
tdm_hwc: make hwc_vblank set/unset function

if set hwc vblank, use vblank instead of hwc commit handler.

Change-Id: I9329473bb21dec6cee84fe60cd7e33eca80c2875
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 2.9.6 49/215149/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.020352 accepted/tizen/5.5/unified/mobile/hotfix/20201027.080140 accepted/tizen/unified/20191007.234816 submit/tizen/20191002.043121 submit/tizen/20191004.081531 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 tizen_5.5.m2_release
Junkyeong Kim [Wed, 2 Oct 2019 04:16:10 +0000 (13:16 +0900)]
Package version up to 2.9.6

Change-Id: If141ff350ea08c7c8124fba7e2af36f84a395165
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_output: change log 'dpms' to 'DPMS' 48/215148/1
Junkyeong Kim [Wed, 2 Oct 2019 04:15:04 +0000 (13:15 +0900)]
tdm_output: change log 'dpms' to 'DPMS'

Change-Id: I8a2d53631455b9cfef9dd0d799227662408bd567
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 2.9.5 68/213668/1 submit/tizen/20190910.061730
Junkyeong Kim [Tue, 10 Sep 2019 05:13:55 +0000 (14:13 +0900)]
Package version up to 2.9.5

Change-Id: Ic7c5cac389615a28df93542df59943ff4bc08298
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_hwc: support tdm-monitor -fps function 23/213523/1
Junkyeong Kim [Fri, 6 Sep 2019 07:56:31 +0000 (16:56 +0900)]
tdm_hwc: support tdm-monitor -fps function

Change-Id: I4f11ab53483058283717c4b592cb44b989c1daec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 2.9.4 86/213086/1 accepted/tizen/unified/20190902.055245 submit/tizen/20190830.073600
Changyeon Lee [Fri, 30 Aug 2019 06:32:54 +0000 (15:32 +0900)]
Package version up to 2.9.4

Change-Id: Id5280b3bbce59ac1200d4afdf5a7ccbf81202215

4 years agoadd stdout log in tdm_display_init 36/213036/2
Changyeon Lee [Thu, 29 Aug 2019 10:48:16 +0000 (19:48 +0900)]
add stdout log in tdm_display_init

Change-Id: I971cabd91d5ff977a18bb5cd8869245cfbe0704b

4 years agoRevert "tizen: Add additional unit for "unified" user session" 80/212480/2 accepted/tizen/unified/20190828.011048 submit/tizen/20190826.053808
Yunmi Ha [Thu, 22 Aug 2019 02:30:29 +0000 (02:30 +0000)]
Revert "tizen: Add additional unit for "unified" user session"

This reverts commit c912cbe6b33ba30309388719316775e5fc44555a.

We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.

Change-Id: I75ea2b0f4e6762d23cc31c0814953ccb69866e69

4 years agoPackage version up to 2.9.3 76/211976/1 accepted/tizen/unified/20190814.065128 submit/tizen/20190813.062437
Junkyeong Kim [Tue, 13 Aug 2019 05:02:54 +0000 (14:02 +0900)]
Package version up to 2.9.3

Change-Id: I046ee4436411ee9cdc64f54a545952ea7ce1dfcf
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_virtual: support hwc mode 25/211825/2
Junkyeong Kim [Fri, 9 Aug 2019 09:00:36 +0000 (18:00 +0900)]
tdm_virtual: support hwc mode

Change-Id: I0b8241af46e33dab41ce2ab2297871895f00519e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agochange the symbol name related to the voutput 77/211477/2
SooChan Lim [Tue, 6 Aug 2019 00:01:12 +0000 (09:01 +0900)]
change the symbol name related to the voutput

1. The voutput is created at the tdm_display, so it belongs to the tdm_display.
The creation of the voutput should be done at the display.
2. The voutput should be distinguished from the output. The functions associated
with the voutput has to get the voutput symbol name.

Change-Id: Ie21def171a1e8d9c43150e23347542c3a232db23

4 years agoPackage version up to 2.9.2 22/211222/1 accepted/tizen/unified/20190801.025437 submit/tizen/20190731.073840
Junkyeong Kim [Wed, 31 Jul 2019 07:28:58 +0000 (16:28 +0900)]
Package version up to 2.9.2

Change-Id: I0ca8435bf6da984d1761536b0ac96945df3e9b29
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agohaltest: init fb_damage 06/211206/1
Junkyeong Kim [Wed, 31 Jul 2019 06:48:40 +0000 (15:48 +0900)]
haltest: init fb_damage

Change-Id: I6f27a24b548d33edbd094e11ebdb27154039c9a2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_layer: do not free if wait vblank fail by dpms off 92/211192/1
Junkyeong Kim [Wed, 31 Jul 2019 05:02:38 +0000 (14:02 +0900)]
tdm_layer: do not free if wait vblank fail by dpms off

if dpms off, the allocated layer_commit_handler memory free in tdm_output_commit_internal.
so must not free this memory in _tdm_layer_commit.

Change-Id: I0cdb117ccb0c16ec2cb793f873f645f1183d15c8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 2.9.1 61/211061/1 accepted/tizen/unified/20190730.112040 submit/tizen/20190729.123326
SooChan Lim [Mon, 29 Jul 2019 12:31:40 +0000 (21:31 +0900)]
Package version up to 2.9.1

Change-Id: Ia2d03d535a37891931426e763398eca537259370

4 years agohaltest: check calloc fail 13/211013/1
Junkyeong Kim [Mon, 29 Jul 2019 06:28:39 +0000 (15:28 +0900)]
haltest: check calloc fail

Change-Id: I4395553909638d77b870288938f6436deafbd1f9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_output: add sync parameter of tdm_output_set_dpms_async 81/210781/3
Junkyeong Kim [Wed, 24 Jul 2019 12:27:37 +0000 (21:27 +0900)]
tdm_output: add sync parameter of tdm_output_set_dpms_async

if backend wants async function works like sync, tdm backend set the sync parameter.
if sync set, the dpms handler will not be called.

Change-Id: Ibf0ca0a2a5effef02a6479f77581b54a8ab47401
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 2.9.0 01/210501/2 accepted/tizen/unified/20190723.053541 submit/tizen/20190722.105837
SooChan Lim [Mon, 22 Jul 2019 00:39:52 +0000 (09:39 +0900)]
Package version up to 2.9.0

Change-Id: I31441b3a819c6586e98ec1f43e0c320eeeb79e42

4 years agoadd tdm_output_unset_mirror 60/210560/3
SooChan Lim [Mon, 22 Jul 2019 10:05:27 +0000 (19:05 +0900)]
add tdm_output_unset_mirror

This function unset the mirro image of the output.

Change-Id: If67805ebf0d54f2097718c4e3dd3d02ed8d0d798

4 years agoadd tdm_output_set_mirror 00/210500/3
SooChan Lim [Mon, 22 Jul 2019 00:39:10 +0000 (09:39 +0900)]
add tdm_output_set_mirror

This function set the mirro image of the src_output to the output.
If there is the hardware or the implementation to display the mirror image
of the src_output to the output, the backend does it in this function.

Change-Id: Ic661793af90ce4d87684d1f0bbcb14a5052e2585

4 years agoadd TDM_OUTPUT_CAPABILITY_MIRROR 61/210561/1
SooChan Lim [Mon, 22 Jul 2019 10:07:33 +0000 (19:07 +0900)]
add TDM_OUTPUT_CAPABILITY_MIRROR

The backend can set the TDM_OUTPUT_CAPABILITY_MIRROR
when it has the ability of the output mirroring.

Change-Id: I34a6d86a2c7128b93a8b9acee1306b2caefad902

4 years agohaltest: support hwc mode 88/210388/3
Junkyeong Kim [Thu, 18 Jul 2019 12:51:43 +0000 (21:51 +0900)]
haltest: support hwc mode

skip tdm_layer api and output_commit api test if hwc enabled.
do not show the test result to screen if hwc enabled.

Change-Id: I80bee46fa75f16bc34cdb00e3f6c7129295bfd95
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agohwc: referencing target buffer 71/210371/1
Junkyeong Kim [Thu, 18 Jul 2019 11:42:22 +0000 (20:42 +0900)]
hwc: referencing target buffer

while showing the target buffer, increase ref count to prevent buffer destroy.

Change-Id: I2aa715d1649e16fa91b38767411349e59b8c3d6f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 2.8.7 43/210043/1 accepted/tizen/unified/20190716.111348 accepted/tizen/unified/20190719.111630 submit/tizen/20190715.073918 submit/tizen/20190718.005203
Junkyeong Kim [Mon, 15 Jul 2019 07:31:31 +0000 (16:31 +0900)]
Package version up to 2.8.7

Change-Id: Ia464dfe5a2ebe22ed83416a2a3cc1c62a035d94e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_output: execute mutex unlock before call direct commit handler 16/209916/1
Junkyeong Kim [Fri, 12 Jul 2019 08:47:29 +0000 (17:47 +0900)]
tdm_output: execute mutex unlock before call direct commit handler

Change-Id: I14a8899be608cd61ae30603a5ca384d7c8da4393
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_output: fix log parameter 06/209706/1
YoungJun Cho [Wed, 10 Jul 2019 05:57:57 +0000 (14:57 +0900)]
tdm_output: fix log parameter

Change-Id: If32820c0679e29f76c6dadc1df57663fc3114d98
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
4 years agoPackage version up to 2.8.6 04/209604/1 accepted/tizen/unified/20190717.115243 submit/tizen/20190709.083325
Junkyeong Kim [Tue, 9 Jul 2019 08:30:54 +0000 (17:30 +0900)]
Package version up to 2.8.6

Change-Id: Icba91a8d99300925c3d6721c5f2fa85d5c0ee855
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_client: check calloc fail 01/209601/1
Junkyeong Kim [Tue, 9 Jul 2019 08:21:47 +0000 (17:21 +0900)]
tdm_client: check calloc fail

Change-Id: I30ffda55cd4d44d794057321ed79c936d4b186d0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agotdm_output: add missing mutex unlock 98/209598/1
Junkyeong Kim [Tue, 9 Jul 2019 08:04:27 +0000 (17:04 +0900)]
tdm_output: add missing mutex unlock

Change-Id: Ia61c524b809cfa45a25f3415af4fea7e036a53ee
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoPackage version up to 2.8.5 71/205371/1 accepted/tizen/unified/20190508.111033 submit/tizen/20190503.004212 submit/tizen/20190503.062627 submit/tizen/20190507.022324
SooChan Lim [Thu, 2 May 2019 23:41:50 +0000 (08:41 +0900)]
Package version up to 2.8.5

Change-Id: Ie60e55a1c1749ef2049ddbb1d1f38bc94d9545e7

4 years agotizen: Add additional unit for "unified" user session 37/204137/2
Mateusz Moscicki [Fri, 19 Apr 2019 11:54:17 +0000 (13:54 +0200)]
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* VD requirement to remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: I86da33a05560b73c44c39c073f4ac6ca11fd6e86

5 years agoPackage version up to 2.8.4 96/202596/1 accepted/tizen/unified/20190406.011001 submit/tizen/20190401.095506
Junkyeong Kim [Mon, 1 Apr 2019 09:51:12 +0000 (18:51 +0900)]
Package version up to 2.8.4

Change-Id: I731b9115a083a2c412e3c589deaf0f31d62f9766
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agotdm_server: fix stack buffer overflow 34/201934/2
Junkyeong Kim [Thu, 21 Mar 2019 04:31:22 +0000 (13:31 +0900)]
tdm_server: fix stack buffer overflow

Change-Id: I7b762077a0834a4873adaf894668290285f65f7d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoPackage version up to 2.8.3 27/201027/1 accepted/tizen/unified/20190311.072611 submit/tizen/20190307.083826
SooChan Lim [Thu, 7 Mar 2019 08:19:46 +0000 (17:19 +0900)]
Package version up to 2.8.3

Change-Id: Ia72f18868fb5e6db682597edaa095a3e703fd253

5 years agoadd systemd unit before option 42/200942/2
Junkyeong Kim [Wed, 6 Mar 2019 09:14:31 +0000 (18:14 +0900)]
add systemd unit before option

Change-Id: I8b79673a23d8f7be198ab7a88cce2f39ba97f70e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agotdm_helper: add checking hwc mode for tdm-monitor -info 41/200241/2
Junkyeong Kim [Wed, 20 Feb 2019 11:24:16 +0000 (20:24 +0900)]
tdm_helper: add checking hwc mode for tdm-monitor -info

fix seg fault.

Change-Id: I868e8999e07e4b39296ed9691e2e11f528323fdb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoserver: check null of current mode for voutput set mode 86/200186/2
Junkyeong Kim [Wed, 20 Feb 2019 01:20:36 +0000 (10:20 +0900)]
server: check null of current mode for voutput set mode

Change-Id: I11f8753d7493d2b977fd34e3f757fc5a046abafc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agohaltest: enhance tdm_client voutput test 55/200055/2
Junkyeong Kim [Mon, 18 Feb 2019 11:59:37 +0000 (20:59 +0900)]
haltest: enhance tdm_client voutput test

add tdm voutput status handler to check the commands works well.(connect, disconnect, mode set)

Change-Id: Ia02bc04df72387995b0fcfb7b00acb9cf272cfb9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agohwc: add tdm_hwc_get_property 05/200405/1
SooChan Lim [Sun, 24 Feb 2019 05:41:20 +0000 (14:41 +0900)]
hwc: add tdm_hwc_get_property

The user can get the property on the hwc object.

Change-Id: I7ac159c31ddb7532f5e76308969f7e0dc8ae5620

5 years agohwc: add tdm_hwc_set_property 04/200404/2
SooChan Lim [Sun, 24 Feb 2019 05:30:17 +0000 (14:30 +0900)]
hwc: add tdm_hwc_set_property

The user can set the property on the hwc object.

Change-Id: I3b918f99957e72135190af95722ece8ff38341b7

5 years agoPackage version up to 2.8.2 18/199718/1 devel_hwc accepted/tizen/unified/20190215.055052 submit/tizen/20190214.083357
Junkyeong Kim [Thu, 14 Feb 2019 08:28:34 +0000 (17:28 +0900)]
Package version up to 2.8.2

Change-Id: I1badc7be786edbb2956ae27d16914910ffa04755
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agovirtual: fix wrong sizeof argument 16/199616/1
Junkyeong Kim [Wed, 13 Feb 2019 08:26:52 +0000 (17:26 +0900)]
virtual: fix wrong sizeof argument

Change-Id: Ib802b19b1aed42b0646d5bd2dd8e814d0aa9c9b2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agovirtual: add missed mutex unlock in voutput commit function 13/199613/1
Junkyeong Kim [Wed, 13 Feb 2019 08:00:24 +0000 (17:00 +0900)]
virtual: add missed mutex unlock in voutput commit function

Change-Id: Ibda51694a9c4c4e5d404a1885a185f350205b74c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agotdm: check mutex lock status in tdm_display_destroy_private_output 11/199611/1
Junkyeong Kim [Wed, 13 Feb 2019 07:54:50 +0000 (16:54 +0900)]
tdm: check mutex lock status in tdm_display_destroy_private_output

some cases the mutex is not locked when called tdm_display_destroy_private_output.
so in this case, do not execute mutex unlock/lock for vblank destroy.

Change-Id: Ic1439f9d66d763fac00613a37c0154eb0e7c1384
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoserver: fix voutput mode change error 45/198145/1
Junkyeong Kim [Mon, 21 Jan 2019 11:00:45 +0000 (20:00 +0900)]
server: fix voutput mode change error

1. if mode changed, exported wl_buffer is not available. (buffer size changed)
so have to destroy old shared wl_buffers.
2. do not executed tdm_output_set_mode directly in voutput_set_mode cb.

Change-Id: Iec7bb13ee47949562020464ea1656ec078315816
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoserver: fix voutput buffer ref error 44/198144/1
Junkyeong Kim [Mon, 21 Jan 2019 10:56:55 +0000 (19:56 +0900)]
server: fix voutput buffer ref error

Change-Id: I604afb6f48c17f7b724fadd01580f2abe692224b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoPackage version up to 2.8.1 12/197612/1 accepted/tizen/unified/20190115.060027 submit/tizen/20190114.110019
SooChan Lim [Mon, 14 Jan 2019 10:58:55 +0000 (19:58 +0900)]
Package version up to 2.8.1

Change-Id: I11c67c40256a8e4670538b7d51c81de6a346a59f

5 years agotdm_hwc_window: fix the typo 99/197599/1
SooChan Lim [Mon, 14 Jan 2019 09:51:54 +0000 (18:51 +0900)]
tdm_hwc_window: fix the typo

Change-Id: Ie98c84ff409839066ba8568ea60b80191a692dc5

5 years agovirtual: treat unset buffer commit 28/196928/1
Junkyeong Kim [Tue, 8 Jan 2019 04:30:01 +0000 (13:30 +0900)]
virtual: treat unset buffer commit

Change-Id: I41ad012b0fbbdc5ea22b6e1b50be38f8aa99c060
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agotdm_server: execute voutput_disconnect when voutput destroy if voutput is connected 81/196781/1
Junkyeong Kim [Fri, 4 Jan 2019 07:37:26 +0000 (16:37 +0900)]
tdm_server: execute voutput_disconnect when voutput destroy if voutput is connected

Change-Id: Ia469a4c5c0a536010ecfc2137aff0d04fef5dcef
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agotdm_server: fix voutput commit buffer double ref 80/196780/1
Junkyeong Kim [Fri, 4 Jan 2019 07:36:03 +0000 (16:36 +0900)]
tdm_server: fix voutput commit buffer double ref

Change-Id: I0e45baf0c4585109ce5224a9df289a9cf82dfd9d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoclient: documetation for voutput 83/196483/1
Junkyeong Kim [Mon, 31 Dec 2018 03:44:59 +0000 (12:44 +0900)]
client: documetation for voutput

Change-Id: Icf6ebcb1a06ea4deff25e092143d769eab5514ab
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agofix typo 33/196333/1
Seunghun Lee [Thu, 27 Dec 2018 08:31:30 +0000 (17:31 +0900)]
fix typo

Change-Id: I3cc0937b1b09007e1a76da8dfd16e5d0c25dac89

5 years agoPackage version up to 2.8.0 32/196232/2
SooChan Lim [Wed, 26 Dec 2018 10:17:50 +0000 (19:17 +0900)]
Package version up to 2.8.0

Change-Id: I6783f44b97e495b956a1f8187723a052b28f1b53

5 years agovirtual: fix voutput commit buffer send fail 98/195198/4
Junkyeong Kim [Tue, 11 Dec 2018 12:22:03 +0000 (21:22 +0900)]
virtual: fix voutput commit buffer send fail

add tdm_output_set_voutput_commit / tdm_output_unset_voutput_commit
execute set_voutput_commit when connect.
execute unset_voutput_commit when disconnect.

cause of tdm thread, the voutput commit request has to be set by client.
before code the voutput commit was set from server(main thread),
client cannot get buffer attach and commit event from server.

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