platform/adaptation/broadcom/libtdm-vc4.git
5 years agoPackage version up to 0.10.0 submit/tizen/20190124.063254
SooChan Lim [Thu, 24 Jan 2019 06:31:53 +0000 (15:31 +0900)]
Package version up to 0.10.0

Change-Id: I44cc952c91efa2260e7ed4c957eeea7decda7678

5 years agoAdd support for drmModeAtomicCommit 54/197754/1
Zhaowei Yuan [Wed, 16 Jan 2019 03:12:50 +0000 (11:12 +0800)]
Add support for drmModeAtomicCommit

Current display commit API drmModeSetPlane() takes too much time
and its caller tdm_layer_commit() holds a lock "private_display->lock"
which is also needed by other thread, it makes performance low.

In order to solve this problem, we need an asynchronous API to do
this job which is drmModeAtomicCommit() here.

Patch's modification includes:
1. Change display commit method to drmModeAtomicCommit.
2. Disable vblank wait event in function vc4_output_commit()
since it's not necessary any more for atomic mode.
3. Create an event and pass it to _tdm_vc4_display_commit_layer()
which is used to API finish callback.

Change-Id: If2ba5c80bcd553cdd7f4cd04364d1e40d203dc10

5 years agoPackage version up to 0.9.0 37/196237/1
SooChan Lim [Wed, 26 Dec 2018 10:21:09 +0000 (19:21 +0900)]
Package version up to 0.9.0

Change-Id: I340c8735cc4e249ede70d0f90d5d06d808645c4c

5 years agoPackage version up to 0.8.0 71/195571/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181217.064549 accepted/tizen/unified/20181219.063313 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 09:53:24 +0000 (18:53 +0900)]
Package version up to 0.8.0

Change-Id: I0a6b011361019094483818efd478308651602766

5 years agohwc: change the hwc_get_video_capability to the hwc_get_capabilities 70/195570/1
SooChan Lim [Fri, 14 Dec 2018 09:50:17 +0000 (18:50 +0900)]
hwc: change the hwc_get_video_capability to the hwc_get_capabilities

Change-Id: I86766ffb505349aafe4632374eff863ef4a53fed

5 years agoPackage version up to 0.7.0 33/192833/1 accepted/tizen/5.0/unified/20181113.090055 accepted/tizen/unified/20181113.163453 submit/tizen/20181112.013212 submit/tizen_5.0/20181112.013456
SooChan Lim [Mon, 12 Nov 2018 00:48:43 +0000 (09:48 +0900)]
Package version up to 0.7.0

Change-Id: I649ea5351729dc9602b0af54d0b8e1460cfdecf0

5 years agohwc: modify the tdm symbols 32/192832/1
SooChan Lim [Fri, 9 Nov 2018 10:26:34 +0000 (19:26 +0900)]
hwc: modify the tdm symbols

tdm api and some enumeration vaules change

Change-Id: Ibee5a68b866c828445f6057cd8f30f2b938cf82a

6 years agoPackage version up to 0.6.0 92/190592/1 accepted/tizen/5.0/unified/20181102.012158 accepted/tizen/unified/20181005.012428 submit/tizen/20181004.045459 submit/tizen_5.0/20181101.000001
SooChan Lim [Thu, 4 Oct 2018 04:28:08 +0000 (13:28 +0900)]
Package version up to 0.6.0

Change-Id: I804a34d16e6b7279b273f405b7d6de28fc6111aa

6 years agohwc: remove hwc_window_get_info 91/190591/1
SooChan Lim [Thu, 4 Oct 2018 04:27:34 +0000 (13:27 +0900)]
hwc: remove hwc_window_get_info

Change-Id: I45b1f2831998ee075eafba5462f5cb6897cab610

6 years agoPackage version up to 0.5.0 22/186522/1 accepted/tizen/unified/20180813.061423 submit/tizen/20180810.062205
Changyeon Lee [Fri, 10 Aug 2018 05:12:41 +0000 (14:12 +0900)]
Package version up to 0.5.0

Change-Id: Ie01b989bbb2952c3fcd611f337c0373105415734

6 years agohwc: rename acquire/release buffer_queue 21/186521/1
Changyeon Lee [Fri, 10 Aug 2018 05:11:59 +0000 (14:11 +0900)]
hwc: rename acquire/release buffer_queue

Change-Id: I2bd49824a486e210cac52152feebc2df48072143

6 years agopackage version up to 0.4.0 10/186510/2
Changyeon Lee [Fri, 10 Aug 2018 04:32:21 +0000 (13:32 +0900)]
package version up to 0.4.0

Change-Id: Ief8146a45bab82ce30c72723a83b57cfe6cd9fbb

6 years agofix typo 12/186512/1
Changyeon Lee [Fri, 10 Aug 2018 04:44:14 +0000 (13:44 +0900)]
fix typo

Change-Id: Ica9e506fc106fb0ca95bf40ee5f1549b08c2a295

6 years agohwc: added backend function of video 36/185636/2
Changyeon Lee [Tue, 31 Jul 2018 11:33:06 +0000 (20:33 +0900)]
hwc: added backend function of video

Change-Id: Ic2c3d202922aed10cd5cbec08a7f630504f7c9ab

6 years agohwc: remove DEVICE_CANDIDATE 63/185663/1
Changyeon Lee [Wed, 1 Aug 2018 10:23:49 +0000 (19:23 +0900)]
hwc: remove DEVICE_CANDIDATE

Change-Id: I9b5fb88f79cf0abf6a66de64b9a63c04b47e9112

6 years agopackage version up to 0.3.1 74/176374/1 accepted/tizen/unified/20180419.041125 submit/tizen/20180419.015727
SooChan Lim [Thu, 19 Apr 2018 02:00:12 +0000 (11:00 +0900)]
package version up to 0.3.1

Change-Id: I0b88710617e39bc2c4132dcf32f77b13567380cb

6 years agohwc: add vc4_output_get_hwc 73/176373/1
SooChan Lim [Thu, 19 Apr 2018 01:59:41 +0000 (10:59 +0900)]
hwc: add vc4_output_get_hwc

Change-Id: I9ae66a39ef42a2191edf450a83d914f1dfc35b7a

6 years agopackage version up to 0.3.0 48/175848/1 accepted/tizen/unified/20180416.213820 submit/tizen/20180413.020731 submit/tizen/20180413.052944 submit/tizen/20180416.011552
SooChan Lim [Fri, 13 Apr 2018 01:53:40 +0000 (10:53 +0900)]
package version up to 0.3.0

Change-Id: I2cbf75812876215d4a8230db1fdc5055432fb635

6 years agohwc: modify the functions with the new hwc api 43/175843/1
SooChan Lim [Thu, 12 Apr 2018 23:10:34 +0000 (08:10 +0900)]
hwc: modify the functions with the new hwc api

Change-Id: I2710e2f1529622f03d1894b71c93aab2a2abf009

6 years agopackage version up to 0.2.4 accepted/tizen/unified/20180326.075316 submit/tizen/20180326.024853
Boram Park [Mon, 26 Mar 2018 02:48:44 +0000 (11:48 +0900)]
package version up to 0.2.4

Change-Id: I56c7e37fb38e653d6577721e83b4b57cae232b72

6 years agofix memory leak 87/173787/1
Boram Park [Mon, 26 Mar 2018 02:44:35 +0000 (11:44 +0900)]
fix memory leak

Change-Id: I749b5fc35e79f40b43bcbb305e3ff02d88bd5d55

6 years agopackage version up to 0.2.3 accepted/tizen/unified/20180316.062423 submit/tizen/20180314.093754
Boram Park [Thu, 15 Mar 2018 07:58:00 +0000 (16:58 +0900)]
package version up to 0.2.3

Change-Id: If6e97e3ef103d7e2bbff76875abe296d0ec6a2e7

6 years agoref/unref display_buffer by using buffer's user_data 90/172690/2
Boram Park [Thu, 15 Mar 2018 07:23:51 +0000 (16:23 +0900)]
ref/unref display_buffer by using buffer's user_data

Freeing a buffer before removing a buffer from DRM system makes a issue.
To ensure that a buffer is alive until removing it from DRM, do ref/unref
a buffer.

Change-Id: I97bcd451ab1e4e7cb4a40d5358312c8a898a10c8

6 years agofix prop's index 89/172689/1
Boram Park [Thu, 15 Mar 2018 05:20:51 +0000 (14:20 +0900)]
fix prop's index

Change-Id: I58d2117fed3176dc92c4d48b07a0fd3703180961

6 years agopackage version up to 0.2.2
Boram Park [Wed, 14 Mar 2018 09:37:27 +0000 (18:37 +0900)]
package version up to 0.2.2

Change-Id: If4d704b6e51228d57dde2acb983eed3c0eea72a1

6 years agonot support cropping. 01/172501/1
Boram Park [Wed, 14 Mar 2018 07:43:43 +0000 (16:43 +0900)]
not support cropping.

cropping doesn't work properly

Change-Id: I619f4d84521b096e9239ff051b3a1ff87aa22919

6 years agolimit the plane count to use 98/172498/1
Boram Park [Wed, 14 Mar 2018 07:41:32 +0000 (16:41 +0900)]
limit the plane count to use

When we use 8 layers at the same time, it doesn't work properly.

Change-Id: I6cdde37b9522aaea998bc9d20dd7a3b5ba968138

6 years agocorrect supported formats 97/172497/1
Boram Park [Wed, 14 Mar 2018 07:38:35 +0000 (16:38 +0900)]
correct supported formats

Changing between RGB and YUV format for a plane doesn't work properly.
And YUV420 format also dosen't work properly.

Change-Id: Ic926932fa0306576418d10fd119e4474d3fc4855

6 years agoset output status when mode setted 56/172456/1
Boram Park [Wed, 14 Mar 2018 05:09:00 +0000 (14:09 +0900)]
set output status when mode setted

Change-Id: I6588f96cf576c6039136b1518cb370023b37b4ad

6 years agopackage version up to 0.2.1 35/170735/1 accepted/tizen/unified/20180222.080249 submit/tizen/20180222.022035
Junkyeong Kim [Thu, 22 Feb 2018 01:29:11 +0000 (10:29 +0900)]
package version up to 0.2.1

Change-Id: Ide77a7c113e87f05012c38f8897ed83b16fd854f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agofree allocated display buffers when deinit 91/170691/1
Junkyeong Kim [Wed, 21 Feb 2018 10:52:23 +0000 (19:52 +0900)]
free allocated display buffers when deinit

Change-Id: Iec06bd226659fec6e08641e880570b610da9d5c5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoerase pixman dependency 58/169958/1
Junkyeong Kim [Mon, 12 Feb 2018 09:20:01 +0000 (18:20 +0900)]
erase pixman dependency

Change-Id: If43cda1154902af738451a7d47bc917cd4e175b1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agopackage version up to 0.2.0 43/169143/1 accepted/tizen/unified/20180205.144514 submit/tizen/20180202.111706
SooChan Lim [Fri, 2 Feb 2018 11:10:49 +0000 (20:10 +0900)]
package version up to 0.2.0

Change-Id: Iecb936871644ac740c459f4b85501725fcf38d55

6 years agohwc: follow the new hwc apis 39/169139/1
SooChan Lim [Fri, 2 Feb 2018 10:53:36 +0000 (19:53 +0900)]
hwc: follow the new hwc apis

modify the apis to prevent the build break due to the tdm api changes

Change-Id: Ide4a95ef1ea7e62c82a9d1656b400fcd0500e7f0

6 years agoset correct mode info 79/168279/1
Junkyeong Kim [Thu, 25 Jan 2018 09:06:50 +0000 (18:06 +0900)]
set correct mode info

Change-Id: Ia5be18011e4892d0123cb8a7be0ba83503203837
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agopackage version up to 0.1.5 12/166812/1 accepted/tizen/unified/20180115.074424 submit/tizen/20180112.044114
SooChan Lim [Fri, 12 Jan 2018 04:22:34 +0000 (13:22 +0900)]
package version up to 0.1.5

Change-Id: Id4063e408cb579def27bb813370df6ac3d3daefd

6 years agohwc: change the type of zpos 11/166811/1
SooChan Lim [Fri, 12 Jan 2018 04:22:06 +0000 (13:22 +0900)]
hwc: change the type of zpos

Change-Id: I13a8e92da6f6778aafe614a1a88b0251a3185921

6 years agouse hdmi connector to main output if there is no connected connector 68/165568/1
Junkyeong Kim [Tue, 2 Jan 2018 07:07:52 +0000 (16:07 +0900)]
use hdmi connector to main output if there is no connected connector

Change-Id: I5e97b72904439a691b90009502924b6195e57b2b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoset correct cursor zpos 53/165553/1
Junkyeong Kim [Tue, 2 Jan 2018 06:25:57 +0000 (15:25 +0900)]
set correct cursor zpos

Change-Id: I8a3cc00dc8391415460366a65bd1be7fa43d5886
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agohwc: implement the first draft of HWC based on exynos implamantation. 65/164865/5
Roman Marchenko [Thu, 3 Aug 2017 12:37:08 +0000 (15:37 +0300)]
hwc: implement the first draft of HWC based on exynos implamantation.

Change-Id: I1fa0efabb65c890e32c9a8541cabcbb2527b0c16
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
6 years agopackage version up to 0.1.4 48/163248/1 accepted/tizen/unified/20171211.061249 submit/tizen/20171208.065647
SooChan Lim [Fri, 8 Dec 2017 06:49:39 +0000 (15:49 +0900)]
package version up to 0.1.4

Change-Id: I902bdfe1f1f884f33df290ce6ae0d769ef679ec3

6 years agoset correct handle info for AddFB2 32/162832/1
Junkyeong Kim [Tue, 5 Dec 2017 12:33:48 +0000 (21:33 +0900)]
set correct handle info for AddFB2

Change-Id: I270f8a2684a5be82df072cc52245098407527040
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoadd NV12 and YUV format 29/162829/1
Junkyeong Kim [Tue, 5 Dec 2017 12:25:39 +0000 (21:25 +0900)]
add NV12 and YUV format

Change-Id: I1737b7807730fbdeaf3bad505c1061b985647f87
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoerase pp
Junkyeong Kim [Fri, 1 Dec 2017 05:33:58 +0000 (14:33 +0900)]
erase pp

Change-Id: I18ebf9f6b84390f1e23622067ef388cb5c8c9ce5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agochange plane list
Junkyeong Kim [Thu, 30 Nov 2017 06:44:01 +0000 (15:44 +0900)]
change plane list

do not use oringin primay layer because of yuv format data showing problem.
set 2nd overlay plane to primary.
do not use pageflip. use only setplane.

Change-Id: I0cb2021a32627b6ebe95d3eecc88aafac3107226
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 0.1.3 accepted/tizen/4.0/unified/20170929.075536 accepted/tizen/unified/20170928.072130 submit/tizen/20170927.064133 submit/tizen_4.0/20170927.064121 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Boram Park [Wed, 27 Sep 2017 06:39:44 +0000 (15:39 +0900)]
package version up to 0.1.3

Change-Id: I57276c268c70dc8dd8eff4b10b17fd55ac836c50

7 years agofix memory leak 14/152714/1
Boram Park [Wed, 27 Sep 2017 00:58:23 +0000 (09:58 +0900)]
fix memory leak

Change-Id: I1e3779b8f37b261fb0145b746318f808d9b61bc9

7 years agopackage version up to 0.1.2 accepted/tizen/4.0/unified/20170925.071814 accepted/tizen/unified/20170925.071319 submit/tizen/20170922.080343 submit/tizen_4.0/20170922.080338
Boram Park [Fri, 22 Sep 2017 08:00:05 +0000 (17:00 +0900)]
package version up to 0.1.2

Change-Id: I7f60300e4ed36897063479b20495850416510db5

7 years agonot using enviroment variable to get drm fd 18/150718/1
Boram Park [Fri, 15 Sep 2017 07:40:31 +0000 (16:40 +0900)]
not using enviroment variable to get drm fd

Change-Id: I9a3960df0bb23f79b0750a88ee2f7c949640170d

7 years agoapply coding rule 04/148904/2 accepted/tizen/4.0/unified/20170913.003218 accepted/tizen/unified/20170911.160103 submit/tizen/20170911.080123 submit/tizen_4.0/20170911.080340
SooChan Lim [Mon, 11 Sep 2017 06:03:59 +0000 (15:03 +0900)]
apply coding rule

Change-Id: I6189e2e2b078aeb385dfac63021a94795445ff89

7 years agopackage version up to 0.1.1 90/148490/1 accepted/tizen/4.0/unified/20170908.222204 accepted/tizen/unified/20170908.220609 submit/tizen/20170908.045238 submit/tizen_4.0/20170908.045250
SooChan Lim [Fri, 8 Sep 2017 04:05:05 +0000 (13:05 +0900)]
package version up to 0.1.1

Change-Id: I10b381a1f7f5a21f837f04b0097ec01560789b25

7 years agowait vblanks according to the pipe. 46/148446/2
SooChan Lim [Fri, 8 Sep 2017 02:21:21 +0000 (11:21 +0900)]
wait vblanks according to the pipe.

Change-Id: I3560c2108cf1cef0fb85120b0c7c766434de3bc5

7 years agofree allocated memory before error return 02/128302/2 accepted/tizen/4.0/unified/20170816.010910 accepted/tizen/4.0/unified/20170816.014511 accepted/tizen/4.0/unified/20170828.224341 accepted/tizen/unified/20170508.153435 submit/tizen/20170508.094936 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100001 submit/tizen_4.0/20170828.110001 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.m1_release
Junkyeong Kim [Mon, 8 May 2017 11:41:02 +0000 (20:41 +0900)]
free allocated memory before error return

Change-Id: I5d0c84891c852ae95965fe4950aee3e6dce12d50
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoBuild libtdm-vc4 only on ARM architectures 92/128292/1
Maciej Wereski [Mon, 8 May 2017 10:34:19 +0000 (12:34 +0200)]
Build libtdm-vc4 only on ARM architectures

Change-Id: Ibaa97df493172ec22135e0e8b8fb591307590f58
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
7 years agoerase unreachable code and free allocated memory before return 65/128265/1
Junkyeong Kim [Mon, 8 May 2017 08:22:30 +0000 (17:22 +0900)]
erase unreachable code and free allocated memory before return

Change-Id: I18b036ddf0a26b5cbfc01189e4e49e6ba5edbf30
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 0.1.0 72/127672/1 accepted/tizen/unified/20170502.041130 submit/tizen/20170428.081809
SooChan Lim [Fri, 28 Apr 2017 08:14:24 +0000 (17:14 +0900)]
package version up to 0.1.0

Change-Id: Icaca944a861412ac67fb36c48ec6216c3c11d466

7 years agouse %license macro to copy the COPYING file. 61/120261/1
SooChan Lim [Wed, 22 Mar 2017 07:24:48 +0000 (16:24 +0900)]
use %license macro to copy the COPYING file.

Change-Id: I0863b6952335006065286c70d1f41200e22229d2

7 years agorename file names, package name and the prefix of the symbols 88/118888/2
SooChan Lim [Tue, 14 Mar 2017 08:11:03 +0000 (17:11 +0900)]
rename file names, package name and the prefix of the symbols

change drm to vc4..

Change-Id: I43fa091be38f75a75e77fedd6e46b0079c115f4c
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
7 years agoadd inital code 35/118835/1
SooChan Lim [Tue, 14 Mar 2017 07:45:08 +0000 (16:45 +0900)]
add inital code

libtdm-vc4 is based on the libtdm-drm code.

Change-Id: Ief3e6f2301e95fd7fb54f8d5e6225e3f89771f1a
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Fri, 10 Mar 2017 07:57:42 +0000 (23:57 -0800)]
Initial empty repository