platform/core/uifw/libtdm.git
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>
5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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

5 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

5 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

5 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>
5 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>
5 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

5 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>
5 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>
5 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>
5 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

5 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>
5 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>
5 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

5 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

5 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

5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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

5 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>
5 years agoPackage version up to 2.7.1 91/195891/2 submit/tizen/20181219.080305
Changyeon Lee [Wed, 19 Dec 2018 07:47:46 +0000 (16:47 +0900)]
Package version up to 2.7.1

Change-Id: I754504ebcac8b4af01c23e09a6037f264835fbfc

5 years agotdm_server: check timeout flag and vblank_info in timeout callback 90/195890/2
Changyeon Lee [Wed, 19 Dec 2018 07:42:08 +0000 (16:42 +0900)]
tdm_server: check timeout flag and vblank_info in timeout callback

Change-Id: Ie203b32e29bab94dcb386884e05a1e87a9c5bab4

5 years agoPackage version up to 2.7.0 74/195474/3 accepted/tizen/5.0/unified/20181217.064535 accepted/tizen/unified/20181219.063300 submit/tizen/20181214.070524 submit/tizen/20181218.082737 submit/tizen_5.0/20181214.070517 submit/tizen_5.0/20181214.103426
SooChan Lim [Fri, 14 Dec 2018 00:58:50 +0000 (09:58 +0900)]
Package version up to 2.7.0

Change-Id: I3f0fbf6c8055b9d200d60dc93ab48bdc30da10e7

5 years agohwc: add the hwc capabilities 67/195467/4
SooChan Lim [Thu, 13 Dec 2018 23:42:07 +0000 (08:42 +0900)]
hwc: add the hwc capabilities

replace hwc video capabilities into hwc capabilities

Change-Id: I1b9640b5c3bd06dff5899f9628de40f3ac0fa911

5 years agoPackage version up to 2.6.0 43/194343/5 accepted/tizen/5.0/unified/20181207.061549 accepted/tizen/unified/20181206.141108 submit/tizen/20181206.023927 submit/tizen_5.0/20181206.023933
SooChan Lim [Mon, 3 Dec 2018 08:27:55 +0000 (17:27 +0900)]
Package version up to 2.6.0

Change-Id: Ia420089798803f6e3ae5e8000a466b7600c981f4

5 years agoadd tdm_hwc_window_set_cursor_image 84/194384/4
SooChan Lim [Tue, 4 Dec 2018 02:18:59 +0000 (11:18 +0900)]
add tdm_hwc_window_set_cursor_image

let the tdm backend know the virtual address and
information of the cursor image.

Change-Id: I31716a8fae97affb5ab801027c081bd0d2bdccbc

5 years agoRevert "hwc: add the prototypes to avoid build break" 42/194342/1
SooChan Lim [Mon, 3 Dec 2018 08:27:16 +0000 (17:27 +0900)]
Revert "hwc: add the prototypes to avoid build break"

This reverts commit 360af47b34a4fbcfb48be27fdae57654f22c91ef.

Change-Id: Iff209d517462a5929f251187a523bfbfdd2776fe

5 years agoPackage version up to 2.5.1 accepted/tizen/5.0/unified/20181203.061725 accepted/tizen/unified/20181203.061748 submit/tizen/20181130.102133 submit/tizen/20181130.102224 submit/tizen_5.0/20181130.102123
SooChan Lim [Fri, 30 Nov 2018 10:18:08 +0000 (19:18 +0900)]
Package version up to 2.5.1

Change-Id: I61c5e15527581e784e3ffebd9a4c6b37101b29a6

5 years agotdm_client: add timeout timer to tdm_server vblank 53/194253/3
Changyeon Lee [Fri, 2 Nov 2018 05:09:51 +0000 (14:09 +0900)]
tdm_client: add timeout timer to tdm_server vblank

if callback of timeout is called, send done event to
client with TDM_ERROR_TIMEOUT.

Change-Id: I3a1bd15bc733cf685f84f6eeb81acd03952b6183

5 years agoPackage version up to 2.5.0 accepted/tizen/5.0/unified/20181129.174947 accepted/tizen/unified/20181129.175003 submit/tizen/20181129.040927 submit/tizen_5.0/20181129.040934
SooChan Lim [Wed, 28 Nov 2018 10:37:21 +0000 (19:37 +0900)]
Package version up to 2.5.0

Change-Id: I549452dbc92a1dec46a2af144c996eaae061af18

5 years agoadd tdm_hwc_window_set_name
SooChan Lim [Thu, 29 Nov 2018 00:51:29 +0000 (09:51 +0900)]
add tdm_hwc_window_set_name

Change-Id: I496365a3babeb3e754166e1e1a5c95de124ab15d

5 years agoPackage version up to 2.4.2 67/193667/1 accepted/tizen/5.0/unified/20181126.062121 accepted/tizen/unified/20181126.062112 submit/tizen/20181123.060120 submit/tizen_5.0/20181123.060127
Junkyeong Kim [Fri, 23 Nov 2018 03:02:13 +0000 (12:02 +0900)]
Package version up to 2.4.2

Change-Id: I2c4b5f7e77f9bdeef03b4b0cedbaa6e6360833c0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoclient: fix dealloacated error 66/193666/1
Junkyeong Kim [Fri, 23 Nov 2018 03:01:28 +0000 (12:01 +0900)]
client: fix dealloacated error

Change-Id: If64862dc4ac1cec654ac45e57bce5e5733ffea86
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agofix dummy module loading fail of no output device 61/193661/1
Junkyeong Kim [Fri, 23 Nov 2018 02:29:35 +0000 (11:29 +0900)]
fix dummy module loading fail of no output device

cause of _tdm_display_load_modules fail _tdm_display_setup cannot execute.
the dummy backend is loaded in _tdm_display_setup.

Change-Id: I4880095ad688fbccb259dd91cbefab8e8df1eaad
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoPackage version up to 2.4.1 82/193582/1 accepted/tizen/unified/20181123.063302 submit/tizen/20181122.064410 submit/tizen_5.0/20181122.071638
Junkyeong Kim [Thu, 22 Nov 2018 06:18:38 +0000 (15:18 +0900)]
Package version up to 2.4.1

Change-Id: If3616fb2030168d2dc7ceb2df44f95b30c365f16
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoprevent copying error over TDM_NAME_LEN(64) length string 08/193508/3
Junkyeong Kim [Wed, 21 Nov 2018 09:01:46 +0000 (18:01 +0900)]
prevent copying error over TDM_NAME_LEN(64) length string

Change-Id: I63b7a3f869fae588127bc5ea9c7b4728980a51aa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoset initialization value 06/193506/2
Junkyeong Kim [Wed, 21 Nov 2018 08:58:25 +0000 (17:58 +0900)]
set initialization value

Change-Id: I5dfa735093995ff286a232db539063d441cce92d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoerase unreachable code 05/193505/3
Junkyeong Kim [Wed, 21 Nov 2018 08:55:41 +0000 (17:55 +0900)]
erase unreachable code

Change-Id: I67ac16533a0261ed62bb2591ae783e80f74c2e7e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoadd null checking before set error value 04/193504/2
Junkyeong Kim [Wed, 21 Nov 2018 08:52:12 +0000 (17:52 +0900)]
add null checking before set error value

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