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>
SooChan Lim [Mon, 27 Jan 2020 23:28:38 +0000 (08:28 +0900)]
fix the resource leak
Change-Id: I7b4f4ee61712092e17427a743dad5f23941e910a
SooChan Lim [Tue, 14 Jan 2020 23:40:44 +0000 (08:40 +0900)]
package version up to 2.10.2
Change-Id: Ic9744b1fa045f7327c36c79c436b24508b066909
Seunghun Lee [Tue, 14 Jan 2020 05:01:14 +0000 (14:01 +0900)]
fix stringio truncation warning
Change-Id: I8248896a4f6f936f252ba45a5f9ef1649ce41ccd
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
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
Seunghun Lee [Tue, 7 Jan 2020 09:19:37 +0000 (18:19 +0900)]
haltest: silence warning due to dangling-else.
Change-Id: I0a0337dd73d2ffb4fbbce2aa1054ffe92795f461
Changyeon Lee [Thu, 12 Dec 2019 04:58:27 +0000 (13:58 +0900)]
package version up to 2.10.1
Change-Id: I56cac312280a9da8cf227acc36ca43d6b8936b1e
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
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>
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>
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
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>
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>
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>
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>
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>
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>
Changyeon Lee [Fri, 30 Aug 2019 06:32:54 +0000 (15:32 +0900)]
Package version up to 2.9.4
Change-Id: Id5280b3bbce59ac1200d4afdf5a7ccbf81202215
Changyeon Lee [Thu, 29 Aug 2019 10:48:16 +0000 (19:48 +0900)]
add stdout log in tdm_display_init
Change-Id: I971cabd91d5ff977a18bb5cd8869245cfbe0704b
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
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>
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>
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
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>
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>
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>
SooChan Lim [Mon, 29 Jul 2019 12:31:40 +0000 (21:31 +0900)]
Package version up to 2.9.1
Change-Id: Ia2d03d535a37891931426e763398eca537259370
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>
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>
SooChan Lim [Mon, 22 Jul 2019 00:39:52 +0000 (09:39 +0900)]
Package version up to 2.9.0
Change-Id: I31441b3a819c6586e98ec1f43e0c320eeeb79e42
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
SooChan Lim [Thu, 2 May 2019 23:41:50 +0000 (08:41 +0900)]
Package version up to 2.8.5
Change-Id: Ie60e55a1c1749ef2049ddbb1d1f38bc94d9545e7
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
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>
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>
SooChan Lim [Thu, 7 Mar 2019 08:19:46 +0000 (17:19 +0900)]
Package version up to 2.8.3
Change-Id: Ia72f18868fb5e6db682597edaa095a3e703fd253
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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>
SooChan Lim [Mon, 14 Jan 2019 10:58:55 +0000 (19:58 +0900)]
Package version up to 2.8.1
Change-Id: I11c67c40256a8e4670538b7d51c81de6a346a59f
SooChan Lim [Mon, 14 Jan 2019 09:51:54 +0000 (18:51 +0900)]
tdm_hwc_window: fix the typo
Change-Id: Ie98c84ff409839066ba8568ea60b80191a692dc5
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>
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>
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>
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>
Seunghun Lee [Thu, 27 Dec 2018 08:31:30 +0000 (17:31 +0900)]
fix typo
Change-Id: I3cc0937b1b09007e1a76da8dfd16e5d0c25dac89
SooChan Lim [Wed, 26 Dec 2018 10:17:50 +0000 (19:17 +0900)]
Package version up to 2.8.0
Change-Id: I6783f44b97e495b956a1f8187723a052b28f1b53
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>
Changyeon Lee [Wed, 19 Dec 2018 07:47:46 +0000 (16:47 +0900)]
Package version up to 2.7.1
Change-Id: I754504ebcac8b4af01c23e09a6037f264835fbfc
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
SooChan Lim [Fri, 14 Dec 2018 00:58:50 +0000 (09:58 +0900)]
Package version up to 2.7.0
Change-Id: I3f0fbf6c8055b9d200d60dc93ab48bdc30da10e7
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
SooChan Lim [Mon, 3 Dec 2018 08:27:55 +0000 (17:27 +0900)]
Package version up to 2.6.0
Change-Id: Ia420089798803f6e3ae5e8000a466b7600c981f4
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
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
SooChan Lim [Fri, 30 Nov 2018 10:18:08 +0000 (19:18 +0900)]
Package version up to 2.5.1
Change-Id: I61c5e15527581e784e3ffebd9a4c6b37101b29a6
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
SooChan Lim [Wed, 28 Nov 2018 10:37:21 +0000 (19:37 +0900)]
Package version up to 2.5.0
Change-Id: I549452dbc92a1dec46a2af144c996eaae061af18
SooChan Lim [Thu, 29 Nov 2018 00:51:29 +0000 (09:51 +0900)]
add tdm_hwc_window_set_name
Change-Id: I496365a3babeb3e754166e1e1a5c95de124ab15d
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>
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>
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>
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>
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>
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>
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>
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>
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
SooChan Lim [Mon, 12 Nov 2018 12:33:46 +0000 (21:33 +0900)]
fix indent
Change-Id: Ic802bc1822fbb36e7c9c202011bdb9ba0f3b0945
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
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
SooChan Lim [Wed, 7 Nov 2018 05:17:53 +0000 (14:17 +0900)]
Package version up to 2.4.0
Change-Id: If507be05cfc0f18d9f820e10704b0d7c30e0d14e
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>
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
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>
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>
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>
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>
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>
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>