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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
SooChan Lim [Tue, 17 Mar 2020 01:10:55 +0000 (10:10 +0900)]
package version up to 2.10.7
Change-Id: If75489a74d769ead519c9be995c1b9ae80b8ca8f
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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