platform/core/uifw/libtdm.git
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>
5 years agohwc: add tdm_hwc_get_video_available_properties. 99/192899/1 accepted/tizen/5.0/unified/20181116.080132 accepted/tizen/unified/20181115.151623 submit/tizen/20181115.024059 submit/tizen_5.0/20181115.024119
SooChan Lim [Mon, 12 Nov 2018 12:27:14 +0000 (21:27 +0900)]
hwc: add tdm_hwc_get_video_available_properties.

The available video properties is different from the ui properties.
The client needs to get the only available video properties.

Change-Id: Ibb13dded2bec0efc486899daf1a59ea8e528e414

5 years agofix indent 98/192898/1
SooChan Lim [Mon, 12 Nov 2018 12:33:46 +0000 (21:33 +0900)]
fix indent

Change-Id: Ic802bc1822fbb36e7c9c202011bdb9ba0f3b0945

5 years agohwc: add the prototypes to avoid build break 22/192822/1 accepted/tizen/5.0/unified/20181113.090047 accepted/tizen/unified/20181113.163439 submit/tizen/20181112.013212 submit/tizen_5.0/20181112.013456
SooChan Lim [Mon, 12 Nov 2018 00:34:02 +0000 (09:34 +0900)]
hwc: add the prototypes to avoid build break

this patch will be reverted later

Change-Id: I0fff096e12ce975fd7c4fd5a6f33d4e1d53afbce

6 years agohwc: modify the some symbol 21/192821/1
SooChan Lim [Fri, 9 Nov 2018 10:21:35 +0000 (19:21 +0900)]
hwc: modify the some symbol

change tdm_hwc_accept_changes to tdm_hwc_accept_validation
add the prefix TDM_HWC_ instead TDM_

Change-Id: I909695e485e1bfab32eb290ce6a8450b301862c4

6 years agoPackage version up to 2.4.0 20/192620/2 accepted/tizen/5.0/unified/20181108.074357 submit/tizen/20181107.044109 submit/tizen_5.0/20181107.044303
SooChan Lim [Wed, 7 Nov 2018 05:17:53 +0000 (14:17 +0900)]
Package version up to 2.4.0

Change-Id: If507be05cfc0f18d9f820e10704b0d7c30e0d14e

6 years agovirtual: default unload virtual module 23/192623/2
Junkyeong Kim [Wed, 7 Nov 2018 05:26:40 +0000 (14:26 +0900)]
virtual: default unload virtual module

Change-Id: Icffbeda1b9f004b4df3f1d58ced94dc2a3d2d38b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoFix a typo 73/192473/2
Zhaowei Yuan [Tue, 6 Nov 2018 03:11:08 +0000 (11:11 +0800)]
Fix a typo

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: If08b47b04df9e0b56c69039e38e535c0caa03ebf

6 years agovblank: fix list add error 42/192342/2
Junkyeong Kim [Fri, 2 Nov 2018 09:17:50 +0000 (18:17 +0900)]
vblank: fix list add error

Change-Id: I1e0545f47760235bb90e8ff4428747891d63c2cc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agotests: add virtual output test 00/191400/3
Junkyeong Kim [Tue, 16 Oct 2018 12:34:07 +0000 (21:34 +0900)]
tests: add virtual output test

use -V option.

sample sequence:
 test client create virtual output and execute voutput_connect.
 test server send buffers to client.
 test client dump received buffers (0~10, 31~40).
 test client execute mode_change_request when received 30th commit.
 test client execute voutput_disconnect and destroy when received 50th commit.

Change-Id: I8864e8a5bc974b3189ff4e3a8fb66ceccc22dd2c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoclient: add tdm_client_output_get_mode function 99/191399/3
Junkyeong Kim [Tue, 16 Oct 2018 12:30:48 +0000 (21:30 +0900)]
client: add tdm_client_output_get_mode function

Change-Id: Ie21b4f8f3179624339bf97e5dce7727b36c5d6bb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: add virtual backend module 98/191398/3
Junkyeong Kim [Tue, 16 Oct 2018 12:28:25 +0000 (21:28 +0900)]
virtual: add virtual backend module

support virtual output create, destroy, connect, disconnect, mode set, size set, buffer commit
default load virtual module when tdm init for support virtual output.

Change-Id: Ib970dd3ade87873e1b9e3be96c410f5e355a7ff8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: share buffer with client 94/191394/3
Junkyeong Kim [Tue, 16 Oct 2018 12:16:31 +0000 (21:16 +0900)]
virtual: share buffer with client

 - attach buffer
 - commit buffer
 - commit done

sequence :
 output commit -> backend call voutput commit func(not output commit handler this time) ->
 execute voutput attach buffer and commit buffer from voutput commit func(send buffer to client) ->
 commit done by client -> backend receive commit done so execute output commit handler

Change-Id: Ie0dde85f016ead14153c12e71d0d0ae6c2a65459
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: implementations for virtual output 83/191083/6
Junkyeong Kim [Thu, 11 Oct 2018 07:36:08 +0000 (16:36 +0900)]
virtual: implementations for virtual output

 - voutput connect & disconnect
 - set voutput available modes
 - set voutput mode
 - set voutput physical size

Change-Id: I7aae9f5b425dfbdcf0b50843ee5b31e93e7ca353
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: support virtual output create & destroy 58/191058/4
Junkyeong Kim [Thu, 11 Oct 2018 05:47:03 +0000 (14:47 +0900)]
virtual: support virtual output create & destroy

Change-Id: I863304cefa6358950ab354b824d7acf2e81dcea6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agovirtual: define functions and structure for supporting virtual output 21/188521/9
Junkyeong Kim [Wed, 5 Sep 2018 11:58:54 +0000 (20:58 +0900)]
virtual: define functions and structure for supporting virtual output

Change-Id: I71b298a2917645261c838dce51b9ae1854b341c3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agotdm_client: Introduce 'tdm_virtual_output' on the client side. 41/188441/6
Seunghun Lee [Wed, 27 Jun 2018 10:23:33 +0000 (19:23 +0900)]
tdm_client: Introduce 'tdm_virtual_output' on the client side.

NOTE: This needs extra implementation of server side to be operated properly.

APIs of 'tdm_virtual_output' will provide services to applications like
Wi-Fi display manager. Any application which has proper privilege can ask
tdm_server for considering itself as a sort of virtual output.
Once an application acquires the instance of 'tdm_virtual_output' successfully,
server considers it as a normal output.

Change-Id: Ib6085db09521facd90d28637056b48e166f8a90e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoPackage version up to 2.3.1 40/191040/1 accepted/tizen/5.0/unified/20181102.023418 accepted/tizen/unified/20181015.161447 submit/tizen/20181011.042605 submit/tizen_5.0/20181101.000005
SooChan Lim [Thu, 11 Oct 2018 01:28:16 +0000 (10:28 +0900)]
Package version up to 2.3.1

Change-Id: I7397ead44069ada32db5591e15b3c5a56e596976

6 years agohwc: modify the doxygen of tdm_hwc_window_composition 75/190975/1
SooChan Lim [Wed, 10 Oct 2018 06:10:45 +0000 (15:10 +0900)]
hwc: modify the doxygen of tdm_hwc_window_composition

Change-Id: Ie27771f551f9885ed2168d7a05ad717acba20c18

6 years agohwc: remove the unused enum type 71/190971/1
SooChan Lim [Wed, 10 Oct 2018 05:47:01 +0000 (14:47 +0900)]
hwc: remove the unused enum type

Change-Id: I8ccb01dd67b0b75c96274974007231290d2ee118

6 years agoPackage version up to 2.3.0 96/190596/1 accepted/tizen/unified/20181005.012412 submit/tizen/20181004.045459
SooChan Lim [Thu, 4 Oct 2018 04:28:57 +0000 (13:28 +0900)]
Package version up to 2.3.0

Change-Id: I1cf990285993fde51116809aab1654d3c69ff7b3

6 years agobackend: remove hwc_window_get_info 95/190595/1
SooChan Lim [Thu, 4 Oct 2018 04:20:16 +0000 (13:20 +0900)]
backend: remove hwc_window_get_info

Change-Id: I78dcb2ec122f8b00ae8355df78187eb5dafe20a2

6 years agohwc: rearrange the api position 94/190594/1
SooChan Lim [Thu, 4 Oct 2018 04:19:21 +0000 (13:19 +0900)]
hwc: rearrange the api position

Change-Id: I9dc2ed38b18031d09629f9322bc4883cbdf7efdd

6 years agoRevert "add temporary code to prevent the build break" 93/190593/1
SooChan Lim [Thu, 4 Oct 2018 04:18:17 +0000 (13:18 +0900)]
Revert "add temporary code to prevent the build break"

This reverts commit 477497ef5c7d0812398b33de2bc5824638ba4a48.

Change-Id: I9987d470e5f2fa51be7c6f634655057904f7dee2

6 years agohwc: modify the doxygen of the hwc apis 80/190480/4
SooChan Lim [Tue, 2 Oct 2018 11:12:18 +0000 (20:12 +0900)]
hwc: modify the doxygen of the hwc apis

Change-Id: I275d882f5ac466fd9755ccc9d4f4a1e2b89ec6d2

6 years agohwc: fix the wrong parameter 92/190192/1
SooChan Lim [Fri, 28 Sep 2018 05:58:04 +0000 (14:58 +0900)]
hwc: fix the wrong parameter

Change-Id: I087e2c0e3f5154453c60cd07c8947c74f0fd7db5

6 years agoadd temporary code to prevent the build break 49/189649/2 accepted/tizen/unified/20180921.042507 submit/tizen/20180920.071005
SooChan Lim [Wed, 19 Sep 2018 10:51:40 +0000 (19:51 +0900)]
add temporary code to prevent the build break

this code will be reverted later...

Change-Id: I4b0f88519d705c64fe368d6429a4765cf0115541

6 years agotdm_hwc: change the symbol names of preperation types into constraints 40/189640/2
SooChan Lim [Wed, 19 Sep 2018 10:21:02 +0000 (19:21 +0900)]
tdm_hwc: change the symbol names of preperation types into constraints

Change-Id: Ia02711a6d927edf6785048db171929e446398020

6 years agoPackage version up to 2.2.1 08/189208/1 accepted/tizen/unified/20180917.041241 submit/tizen/20180914.075107
SooChan Lim [Fri, 14 Sep 2018 07:46:50 +0000 (16:46 +0900)]
Package version up to 2.2.1

Change-Id: If8e3ace70b17d8a76763ef4e1d1d63f6a89d4cab

6 years agohaltest: change ClientVblankWaitSetFps test error condition 06/189106/1
Junkyeong Kim [Thu, 13 Sep 2018 10:22:44 +0000 (19:22 +0900)]
haltest: change ClientVblankWaitSetFps test error condition

tw2 cannot success before condition. reduce error checking condition.

Change-Id: I291207363b42ea0dc2e51fca60c4dae4b609a63e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agotdm_helper: show the width of the tbm_surface 72/189072/1
SooChan Lim [Thu, 13 Sep 2018 07:22:28 +0000 (16:22 +0900)]
tdm_helper: show the width of the tbm_surface

When tdm-monitor shows the information, the result
shows the width of the tbm_surface
instead of showing the real size of the buffer(stride/4).

Change-Id: Ib25a118d05798a96dcf4e99a31fd3c7f1462e399

6 years agoPackage version up to 2.2.0 28/186528/1 accepted/tizen/unified/20180813.061409 submit/tizen/20180810.062205
Changyeon Lee [Fri, 10 Aug 2018 04:59:55 +0000 (13:59 +0900)]
Package version up to 2.2.0

Change-Id: I3dc25c4ee4d55b5b16a324cf07a5ac19ac0d7e36

6 years agohwc_window: rename get_buffer_queue to acquire_buffer_queue 27/186527/1
Changyeon Lee [Fri, 10 Aug 2018 04:57:37 +0000 (13:57 +0900)]
hwc_window: rename get_buffer_queue to acquire_buffer_queue

Change-Id: Ie5e45480833bee69978192bdd2a98b875456a404

6 years agohwc_window: rename free_buffer_queue to release_buffer_queue 26/186526/1
Changyeon Lee [Fri, 10 Aug 2018 04:53:57 +0000 (13:53 +0900)]
hwc_window: rename free_buffer_queue to release_buffer_queue

Change-Id: I5ef4cb1a3f9be9d9cd943fb107b027f5a167df30