platform/adaptation/samsung_exynos/libtdm-exynos.git
2 years agoremove legacy libtdm backend 52/276852/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.060627 accepted/tizen/7.0/unified/hotfix/20221116.104511 accepted/tizen/8.0/unified/20231005.092530 accepted/tizen/unified/20220628.220154 submit/tizen/20220627.072238 submit/tizen/20220628.044343 tizen_7.0_m2_release tizen_8.0_m2_release
Changyeon Lee [Wed, 22 Jun 2022 07:18:05 +0000 (16:18 +0900)]
remove legacy libtdm backend

Change-Id: Ice464b1ecf4967ae2e8dccf60015a1224e142602

3 years agoPackage version up to 3.0.1 47/259947/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.093651 accepted/tizen/unified/20210618.120841 submit/tizen/20210617.022514 submit/tizen_6.5/20211028.161601 tizen_6.5.m2_release
SooChan Lim [Thu, 17 Jun 2021 01:53:26 +0000 (10:53 +0900)]
Package version up to 3.0.1

Change-Id: Ib553fe40c2a57e1dfb25db114b625718dfc59a5a

3 years agodo not deintialize the display when it fails. 46/259946/1
SooChan Lim [Thu, 17 Jun 2021 01:51:48 +0000 (10:51 +0900)]
do not deintialize the display when it fails.

The deinitialization of the display has to be done outside
initialization function.

Change-Id: I208ec55ad5bf2ec6c6aead0f200c41cbf3d3e949

4 years agoPackage version up to 3.0.0 95/259295/1 accepted/tizen/unified/20210607.124759 submit/tizen/20210604.060903
SooChan Lim [Fri, 4 Jun 2021 03:18:29 +0000 (12:18 +0900)]
Package version up to 3.0.0

Change-Id: I56a75061bcb505cad7479e28cf0ce9e4c8a049ae

4 years agoinstall COPYING to /hal 46/258246/1
SooChan Lim [Thu, 13 May 2021 00:10:31 +0000 (09:10 +0900)]
install COPYING to /hal

Change-Id: I42df9cd3b69f6ed1f6a8146ae2d4c86fbaec2f30

4 years agomake libhal-backend-tdm-exynos package 45/253545/5
SooChan Lim [Mon, 15 Feb 2021 05:00:55 +0000 (14:00 +0900)]
make libhal-backend-tdm-exynos package

This is the first step for implementing the new hal backend.
libhal-backend-tdm-exynos package has a new hal backend module.
The new hal architecture will be available for Tizen 6.5.

Change-Id: I6fb84743e4b8689ca92abfb97028fc4005aa8c77
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agomove source files to src/libtdm-exynos/ 47/252847/1
SooChan Lim [Wed, 3 Feb 2021 00:36:37 +0000 (09:36 +0900)]
move source files to src/libtdm-exynos/

Change-Id: I98c9bb0b4752bb892aba9a9c70d67961abf6d311

4 years agopackage version up to 2.7.1 07/249707/1 accepted/tizen/unified/20201217.124254 submit/tizen/20201216.092113
SooChan Lim [Wed, 16 Dec 2020 08:11:25 +0000 (17:11 +0900)]
package version up to 2.7.1

Change-Id: I5026a0c4650d92a9f673daebc964b7dc0cce1e59

4 years agofix the memory leak 06/249706/1
SooChan Lim [Wed, 16 Dec 2020 08:10:40 +0000 (17:10 +0900)]
fix the memory leak

Change-Id: Ide3f6fadbadc56e8629b27e4c77eae8b073c82b6

5 years agopackage version up to 2.7.0 75/216775/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.123822 accepted/tizen/6.0/unified/hotfix/20201103.051948 accepted/tizen/unified/20191104.115218 submit/tizen/20191104.003215 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 tizen_6.0.m2_release
SooChan Lim [Fri, 1 Nov 2019 04:18:43 +0000 (13:18 +0900)]
package version up to 2.7.0

tizen 6.0 starts here.

Change-Id: Ia99c88052e41498103c962dcfd18fb434038408c

6 years agolayer: execute buffer unref if layer's display_buffer_force_unset flag set when unset... 30/196930/4
Junkyeong Kim [Mon, 7 Jan 2019 10:28:24 +0000 (19:28 +0900)]
layer: execute buffer unref if layer's display_buffer_force_unset flag set when unset buffer

if output is disconnected, primary layer buffer also has to be released.
so if output disconnected, set the display_buffer_force_unset flag to true to unref primary layer displaying buffer.

Change-Id: I9fde9546316d1ac65a0be544921e8c24286fb158
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoPackage version up to 2.6.0 33/196233/1
SooChan Lim [Wed, 26 Dec 2018 10:18:48 +0000 (19:18 +0900)]
Package version up to 2.6.0

Change-Id: Ibeeba8f06879ac5ea1d0ffc704e2f47f51754f60

6 years agoPackage version up to 2.5.0 65/195565/1 accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.0/unified/20181217.064540 accepted/tizen/5.5/unified/20191031.004127 accepted/tizen/5.5/unified/mobile/hotfix/20201027.081940 accepted/tizen/5.5/unified/wearable/hotfix/20201027.123257 accepted/tizen/unified/20181219.063303 submit/tizen/20181214.070524 submit/tizen/20181218.082737 submit/tizen_5.0/20181214.070517 submit/tizen_5.0/20181214.103426 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185101 submit/tizen_5.5_wearable_hotfix/20201026.184301 tizen_5.5.m2_release
SooChan Lim [Fri, 14 Dec 2018 09:51:00 +0000 (18:51 +0900)]
Package version up to 2.5.0

Change-Id: I1e69447ceb9d365a8e5034d0b0e35fb5629e5a63

6 years agohwc: change the hwc_get_video_capability to the hwc_get_capabilities 64/195564/1
SooChan Lim [Fri, 14 Dec 2018 09:39:52 +0000 (18:39 +0900)]
hwc: change the hwc_get_video_capability to the hwc_get_capabilities

Change-Id: If2af14aed6801c0fd36a4b3febffe9a2edb543ee

6 years agoPackage version up to 2.4.1 accepted/tizen/unified/20181130.065039 submit/tizen/20181130.013527
SooChan Lim [Fri, 30 Nov 2018 01:35:11 +0000 (10:35 +0900)]
Package version up to 2.4.1

Change-Id: I9bf82446fcb9b163c15674b339d0014839f538f8

6 years agoFix display layer list creation for exynos 542x HDMI/Odroid XU4 53/193353/2
Sylwester Nawrocki [Mon, 19 Nov 2018 15:22:16 +0000 (16:22 +0100)]
Fix display layer list creation for exynos 542x HDMI/Odroid XU4

On Odroid XU4 there are only 2 display planes available so with
tizen-next (4.14) kernel, where zpos property is not immutable,
_tdm_exynos_display_create_layer_list_not_fixed() function fails.
This causes failure of the Display Manager initialization.

To fix this the test for at least 5 planes is changed so minimum
required number of planes is now 2 per display output.
"zpos" index for primary plane is changed to 1 and assignment of
background to plane with zpos=0 is removed.

Change-Id: I4ad07b5d828f7ac70af333592ffeb54801eb52c4
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
6 years agoPackage version up to 2.4.0 24/192824/1 accepted/tizen/5.0/unified/20181113.090049 accepted/tizen/unified/20181113.163445 submit/tizen/20181112.013212 submit/tizen_5.0/20181112.013456 submit/tizen_5.0/20181112.013531
SooChan Lim [Mon, 12 Nov 2018 00:35:55 +0000 (09:35 +0900)]
Package version up to 2.4.0

Change-Id: I4abd63fba7d31fb9dbac2910bfb63532c3204164

6 years agohwc: modify the tdm symbols 23/192823/1
SooChan Lim [Fri, 9 Nov 2018 10:25:34 +0000 (19:25 +0900)]
hwc: modify the tdm symbols

tdm api and some enumeration vaules change

Change-Id: I47d92db3bab08f1b48d1fe0e09eccf834fd41e24

6 years agohwc: remove the unused variable 76/191076/1 accepted/tizen/5.0/unified/20181102.012733 accepted/tizen/unified/20181015.161452 submit/tizen/20181011.042605 submit/tizen_5.0/20181101.000001
SooChan Lim [Thu, 11 Oct 2018 06:44:20 +0000 (15:44 +0900)]
hwc: remove the unused variable

Change-Id: I12c7959e7ce263380a908c228e3a868bdea81b2c

6 years agoPackage version up to 2.3.0 84/190584/1 accepted/tizen/unified/20181005.012419 submit/tizen/20181004.045459
SooChan Lim [Thu, 4 Oct 2018 04:22:15 +0000 (13:22 +0900)]
Package version up to 2.3.0

Change-Id: I993a45dcb510ef06b8a8ebe2fafa7b63f3204923

6 years agoremove hwc_window_get_info 83/190583/1
SooChan Lim [Thu, 4 Oct 2018 04:21:53 +0000 (13:21 +0900)]
remove hwc_window_get_info

Change-Id: I1d3b11bbd4de553753d057babae41b559a369a16

6 years agoPackage version up to 2.2.0 24/189724/1 accepted/tizen/unified/20180921.042514 submit/tizen/20180920.071005
SooChan Lim [Thu, 20 Sep 2018 05:34:15 +0000 (14:34 +0900)]
Package version up to 2.2.0

Change-Id: I012ffe1b257404706ef47c6a75d97e2e1b540c40

6 years agohwc: change the hwc_window_get_preparation_types into hwc_window_get_constraints 42/189642/1
SooChan Lim [Wed, 19 Sep 2018 10:37:33 +0000 (19:37 +0900)]
hwc: change the hwc_window_get_preparation_types into hwc_window_get_constraints

Change-Id: Ic02bfbbe66b5b7d27cb9127d6c875dffd6fddce6

6 years agoPackage version up to 2.1.0 20/186520/1 accepted/tizen/unified/20180813.061414 submit/tizen/20180810.062205
Changyeon Lee [Fri, 10 Aug 2018 05:11:10 +0000 (14:11 +0900)]
Package version up to 2.1.0

Change-Id: I16f2da5d5b8170f9c25c83816deb1efbaa931fe3

6 years agohwc: rename acquire/release buffer_queue 19/186519/1
Changyeon Lee [Fri, 10 Aug 2018 05:09:04 +0000 (14:09 +0900)]
hwc: rename acquire/release buffer_queue

Change-Id: Ia7262cd892ce4144f9bee0467e26bd463678ff99

6 years agoPackage version up to 2.0.0 04/186504/1
Changyeon Lee [Fri, 10 Aug 2018 04:03:16 +0000 (13:03 +0900)]
Package version up to 2.0.0

Change-Id: Ie1b1dcf7b19d232fab1715b03bc0dbbc4047258b

6 years agohwc: added hwc_window_get_preparation_types 03/186503/1
Changyeon Lee [Fri, 10 Aug 2018 04:07:38 +0000 (13:07 +0900)]
hwc: added hwc_window_get_preparation_types

Change-Id: I53c627c40952d5f728dccba3147e59f8a69a75a5

6 years agoABI version up to 2.0 32/186432/1
Changyeon Lee [Thu, 9 Aug 2018 12:08:21 +0000 (21:08 +0900)]
ABI version up to 2.0

Change-Id: Idee0aee848e8d579c0e923c810d0d24156403d41

6 years agohwc: assigned zpos layer to video type 38/185638/1
Changyeon Lee [Tue, 31 Jul 2018 11:43:12 +0000 (20:43 +0900)]
hwc: assigned zpos layer to video type

Change-Id: Id5b9f6f667665dd6adf0cec4b223ee1f9bb93300

6 years agohwc: added backend function of video 37/185637/1
Changyeon Lee [Tue, 31 Jul 2018 11:41:55 +0000 (20:41 +0900)]
hwc: added backend function of video

Change-Id: I3176b11babf555efc6aeb0ad8971bc58a1529a52

6 years agohwc: fixed wrong checking to restriction of buffer 49/185549/1
Changyeon Lee [Tue, 31 Jul 2018 11:39:59 +0000 (20:39 +0900)]
hwc: fixed wrong checking to restriction of buffer

Change-Id: I8146226e5901100324a5931139a5668ef3b41855

6 years agohwc: removed DEVICE_CANDIDATE 48/185548/1
Changyeon Lee [Tue, 31 Jul 2018 11:37:37 +0000 (20:37 +0900)]
hwc: removed DEVICE_CANDIDATE

Change-Id: I4ff3fd2195ce9cfd602146542ca5e0ae7dcdad12

7 years agopackage version up to 1.6.1 87/181187/1 accepted/tizen/unified/20180612.044152 submit/tizen/20180611.035505 submit/tizen/20180611.230536
SooChan Lim [Mon, 11 Jun 2018 02:32:31 +0000 (11:32 +0900)]
package version up to 1.6.1

Change-Id: I0cdd63cec1d51e4092f70ac83caf2a11491c84d2

7 years agopp: fix interpretation of TDM_TRANSFORM_FLIPPED* surfaces 16/180216/1
Marek Szyprowski [Fri, 25 May 2018 11:06:34 +0000 (13:06 +0200)]
pp: fix interpretation of TDM_TRANSFORM_FLIPPED* surfaces

According to TDM documentation (tdm_common.h) TDM_TRANSFORM_FLIPPED*
means 'horizontal flip'. This matches to DRM_MODE_REFLECT_Y in Exynos DRM,
so fix code to use then instead of DRM_MODE_REFLECT_X.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Idca9c7c69664de0d682176430e05facfae2bc302

7 years agohwc: called hwc_commit_func when hwc_mode is set 33/178133/1
Changyeon Lee [Tue, 8 May 2018 08:23:41 +0000 (17:23 +0900)]
hwc: called hwc_commit_func when hwc_mode is set

Change-Id: I03c55757d4d066d4b2b58c5554a280883c1d13b6

7 years agohwc: removed need_set_crtc flag 32/178132/1
Changyeon Lee [Tue, 8 May 2018 08:08:42 +0000 (17:08 +0900)]
hwc: removed need_set_crtc flag

Change-Id: I9d3f8751933c46d12c34c36caf95a99ef051e5e3

7 years agohwc: implement initial hwc_commit 56/177256/2
Changyeon Lee [Thu, 26 Apr 2018 11:55:33 +0000 (20:55 +0900)]
hwc: implement initial hwc_commit

Change-Id: Ib0cfac9a6b05eb9909bee401650ee1b20ac8d824

7 years agohwc: fixed size of target window 55/177255/1
Changyeon Lee [Thu, 26 Apr 2018 11:50:10 +0000 (20:50 +0900)]
hwc: fixed size of target window

Change-Id: I841c800bef6121e8cf29b74160d6d04a169b7300

7 years agoregister hwc backend func 65/176865/1
Changyeon Lee [Tue, 24 Apr 2018 05:12:28 +0000 (14:12 +0900)]
register hwc backend func

Change-Id: I4fc46053caf77089060381ccf4992fabd741c64f

7 years agopackage version up to 1.6.0 45/175845/4 accepted/tizen/unified/20180416.213808 submit/tizen/20180413.020731 submit/tizen/20180413.052944 submit/tizen/20180416.011552
SooChan Lim [Fri, 13 Apr 2018 01:52:20 +0000 (10:52 +0900)]
package version up to 1.6.0

Change-Id: I5a0e46c8647f85cf589c7219daebd83f02810ccf

7 years agohwc: modify the functions with the new hwc api 51/175051/6
SooChan Lim [Thu, 5 Apr 2018 10:18:11 +0000 (19:18 +0900)]
hwc: modify the functions with the new hwc api

Change-Id: I284a0659ea55966ccfa6d252f0dc9060eff29268

7 years agofix memory leak 87/175587/2 accepted/tizen/unified/20180412.073823 submit/tizen/20180411.042300
Boram Park [Tue, 10 Apr 2018 23:53:33 +0000 (08:53 +0900)]
fix memory leak

Change-Id: Id91b56d3b92ce34851a03a10c37878dabf35d2e6

7 years agopackage version up to 1.5.1 79/175179/1 accepted/tizen/unified/20180410.063643 submit/tizen/20180409.080724
SooChan Lim [Mon, 9 Apr 2018 07:35:54 +0000 (16:35 +0900)]
package version up to 1.5.1

Change-Id: I69ba8bd296f3c2c4b09bd42062fa20c4ea81df59

7 years agoinitilize the local value 14/175114/1
SooChan Lim [Mon, 9 Apr 2018 02:32:02 +0000 (11:32 +0900)]
initilize the local value

Change-Id: I98f233fbe26171ebaf63b38149fc09cfb650f814

7 years agopackage version up to 1.5.0 accepted/tizen/unified/20180404.063408 submit/tizen/20180330.043331 submit/tizen/20180403.011904
Boram Park [Fri, 30 Mar 2018 04:33:21 +0000 (13:33 +0900)]
package version up to 1.5.0

Change-Id: I08ab54cdb45e900d6afd7852e7860f01f617a753

7 years agopp: find the correct bo for nth plane 57/174257/7
Boram Park [Thu, 29 Mar 2018 09:36:13 +0000 (18:36 +0900)]
pp: find the correct bo for nth plane

Change-Id: Ibeab7e812f8e0cd8705c2b35c70d98e1845c2f1e

7 years agolibtdm-exynos: seperate ippv1 and ippv2 54/174254/6
Boram Park [Thu, 29 Mar 2018 08:59:49 +0000 (17:59 +0900)]
libtdm-exynos: seperate ippv1 and ippv2

Change-Id: I89dd7c900d76f036009acb7fb1f72a8f01d3747c

7 years agolibtdm-exynos: set correct buf info for pp 29/174229/2
Junkyeong Kim [Thu, 29 Mar 2018 07:22:35 +0000 (16:22 +0900)]
libtdm-exynos: set correct buf info for pp

Change-Id: I5fb9ef8683c1d074863a24beab0db5e17a7ef723
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agolibtdm-exynos: initial port to Exynos DRM IPPv2 userspace API 55/171655/4
Marek Szyprowski [Thu, 15 Mar 2018 12:34:08 +0000 (13:34 +0100)]
libtdm-exynos: initial port to Exynos DRM IPPv2 userspace API

PP function has been ported to the new Exynos DRM IPPv2 API.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Id7eab00c4d8dcb366448d746844850f7b0eaa4e4

7 years agolibtbm-exynos: remove stream capture pp feature 48/172748/2
Marek Szyprowski [Thu, 15 Mar 2018 11:28:12 +0000 (12:28 +0100)]
libtbm-exynos: remove stream capture pp feature

It depends on legacy Exynos DRM IPP API and was not working properly.
Keep 'oneshot' capture pp feature for taking screen-shots.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I9e525405466d6b01b97e92531a1bf68e108f0593

7 years agopackage version up to 1.4.4 accepted/tizen/unified/20180321.060810 submit/tizen/20180320.093933
Boram Park [Tue, 20 Mar 2018 09:40:18 +0000 (18:40 +0900)]
package version up to 1.4.4

Change-Id: I38eb4e5364aa473e6b2d206fc2769bc3aee91da8

7 years agopp: return if pp_list not inited 27/173127/1
Boram Park [Tue, 20 Mar 2018 00:40:52 +0000 (09:40 +0900)]
pp: return if pp_list not inited

Change-Id: I7dde3a5b7aebd848ae4bf8154bd7df4e41ec31b4

7 years agopackage version up to 1.4.3 accepted/tizen/unified/20180316.062426 submit/tizen/20180314.093754
Boram Park [Thu, 15 Mar 2018 07:57:44 +0000 (16:57 +0900)]
package version up to 1.4.3

Change-Id: Iec719d31c4cf963b34b531e1e207194a1f0dc84b

7 years agoref/unref display_buffer by using buffer's user_data 86/172686/2
Boram Park [Thu, 15 Mar 2018 06:56:00 +0000 (15:56 +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: If24e558b0136c0f0072b223f62837e2a55557db9

7 years agofix prop's index 85/172685/1
Boram Park [Thu, 15 Mar 2018 05:19:47 +0000 (14:19 +0900)]
fix prop's index

Change-Id: Ief9a591ea6136d3b31b9b4ea9afb0f02b34781cc

7 years agopackage version up to 1.4.2 accepted/tizen/unified/20180307.071400 submit/tizen/20180307.022920
Boram Park [Wed, 7 Mar 2018 02:30:38 +0000 (11:30 +0900)]
package version up to 1.4.2

Change-Id: I6c61f0919fdd47b64871253debd5a2903d8933d7

7 years agoremove unsupported formats 70/171270/1
Boram Park [Wed, 28 Feb 2018 04:23:00 +0000 (13:23 +0900)]
remove unsupported formats

Change-Id: I80934e79b81955f6123c18b5550b787f784abb46

7 years agopackage version up to 1.4.1 33/170733/1 accepted/tizen/unified/20180222.080235 submit/tizen/20180222.022002
Junkyeong Kim [Thu, 22 Feb 2018 01:26:47 +0000 (10:26 +0900)]
package version up to 1.4.1

Change-Id: Ia2044e5de5e18de795958e3b3e1393043d187d73
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agofree allocated display buffers when deinit 94/170694/1
Junkyeong Kim [Wed, 21 Feb 2018 11:06:41 +0000 (20:06 +0900)]
free allocated display buffers when deinit

Change-Id: I487c14a4372f06562515b67a8488a3c8f98674d1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.4.0 96/170396/2 accepted/tizen/unified/20180220.130008 submit/tizen/20180220.004345
SooChan Lim [Tue, 20 Feb 2018 00:54:37 +0000 (09:54 +0900)]
package version up to 1.4.0

Change-Id: I4a26f01e74d7bcc65dbbbafb4043c7bfb70be7f9

7 years agohwc: add exynos_hwc_window_get_layer 09/169909/3
SooChan Lim [Mon, 12 Feb 2018 05:03:42 +0000 (14:03 +0900)]
hwc: add exynos_hwc_window_get_layer

Change-Id: I49660e27f3f7ba28b58cbad414c7df7798792956

7 years agohwc: add exynos_output_hwc_get_client_target_buffer_layer 08/169908/3
SooChan Lim [Mon, 12 Feb 2018 04:39:31 +0000 (13:39 +0900)]
hwc: add exynos_output_hwc_get_client_target_buffer_layer

Change-Id: I07ece56b374abe1f4b295df129d621184d265d83

7 years agohwc: add exynos_output_hwc_get_client_target_buffer 07/169907/3
SooChan Lim [Mon, 12 Feb 2018 04:21:08 +0000 (13:21 +0900)]
hwc: add exynos_output_hwc_get_client_target_buffer

Change-Id: Ie6b479618af901049813732d6f9e9e5af2cba5c4

7 years agohwc: add exynos_output_hwc_unset_client_target_buffer 06/169906/3
SooChan Lim [Mon, 12 Feb 2018 04:11:08 +0000 (13:11 +0900)]
hwc: add exynos_output_hwc_unset_client_target_buffer

Change-Id: I064bae620fdc1c6e001b7afe3f707aba4de4ee60

7 years agohwc: add exynos_hwc_window_get_buffer 05/169905/3
SooChan Lim [Mon, 12 Feb 2018 03:56:36 +0000 (12:56 +0900)]
hwc: add exynos_hwc_window_get_buffer

Change-Id: I36151cbe562c50349685fde2ddb641fa44b8dcb2

7 years agohwc: add exynos_hwc_window_unset_buffer 04/169904/3
SooChan Lim [Mon, 12 Feb 2018 03:48:58 +0000 (12:48 +0900)]
hwc: add exynos_hwc_window_unset_buffer

Change-Id: I85b4b6529009606c060327f6e177153272ab279f

7 years agohwc: add exynos_hwc_window_get_info 03/169903/5
SooChan Lim [Mon, 12 Feb 2018 03:45:27 +0000 (12:45 +0900)]
hwc: add exynos_hwc_window_get_info

Change-Id: I78f596b8535d055e7f9fbc61d0eabf041b4440a6

7 years agohwc: change the calulation of the candidate_zpos 52/169352/3
SooChan Lim [Tue, 6 Feb 2018 06:36:21 +0000 (15:36 +0900)]
hwc: change the calulation of the candidate_zpos

Change-Id: Ic9710d4cdf649742cb22c0293384d5642f733771

7 years agohwc: move the log 80/169280/3
SooChan Lim [Mon, 5 Feb 2018 11:09:12 +0000 (20:09 +0900)]
hwc: move the log

Change-Id: Ic7b6f4f715173d1ba60a8f18bdf952af81c54304

7 years agoremove unused function 69/169269/8
SooChan Lim [Mon, 5 Feb 2018 09:57:18 +0000 (18:57 +0900)]
remove unused function

Change-Id: If002ab771482b66cc6fd229049ac6adb9defd786

7 years agopackage version up to 1.3.0 40/169140/1 accepted/tizen/unified/20180205.144506 submit/tizen/20180202.111706
SooChan Lim [Fri, 2 Feb 2018 11:09:04 +0000 (20:09 +0900)]
package version up to 1.3.0

Change-Id: Id46b3f73f485390df19b052cb2249820989c5469

7 years agohwc: remove exynos_hwc_window_set_zpos api 35/169135/1
SooChan Lim [Fri, 2 Feb 2018 10:19:57 +0000 (19:19 +0900)]
hwc: remove exynos_hwc_window_set_zpos api

Change-Id: Icdcb465869443c6f8e4c13cce1256e0fba48c647

7 years agohwc: change the exynos_output_set_client_target_buffer api 34/169134/1
SooChan Lim [Fri, 2 Feb 2018 09:50:13 +0000 (18:50 +0900)]
hwc: change the exynos_output_set_client_target_buffer api

Change-Id: I401fc26d5cb9ed51194c06fc1e71ce0324198a67

7 years agohwc: change the exynos_output_validate api 33/169133/1
SooChan Lim [Fri, 2 Feb 2018 06:20:47 +0000 (15:20 +0900)]
hwc: change the exynos_output_validate api

Change-Id: I57276092f1c9d714f620b89539e7d0c44cb85425

7 years agohwc: change the hwc policy. 25/169025/2
SooChan Lim [Fri, 2 Feb 2018 02:27:23 +0000 (11:27 +0900)]
hwc: change the hwc policy.

if there is the changes of the validation,
the backend assigns the candidated zpos at the accept function.

Change-Id: I6ac90da7a3c033b6e1cd78beaa2522de677b5f83

7 years agohwc: pending to free the display buffer 22/169022/1
SooChan Lim [Fri, 2 Feb 2018 01:59:05 +0000 (10:59 +0900)]
hwc: pending to free the display buffer

If the buffer is displaying, it is removed when the new buffer
or the null buffer is set to the layer.

Change-Id: I6806c93a3857d503566a07b8941ec1a79ee8d540

7 years agoprint the zpos of the layers 67/167367/1
SooChan Lim [Wed, 17 Jan 2018 07:59:57 +0000 (16:59 +0900)]
print the zpos of the layers

Change-Id: Id65f3a48a49981a0611423eb4b5f255536f34c9b

7 years agohwc: destory the video window 45/166845/1 accepted/tizen/unified/20180115.074418 submit/tizen/20180112.044114
SooChan Lim [Fri, 12 Jan 2018 06:04:01 +0000 (15:04 +0900)]
hwc: destory the video window

Change-Id: Ibcec8d3787f919149b2f17cd0c7e2a2d19e7013d

7 years agopackage version up to 1.2.4 05/166805/1
SooChan Lim [Fri, 12 Jan 2018 04:19:55 +0000 (13:19 +0900)]
package version up to 1.2.4

Change-Id: I8a5fdd712b8e204fc9581a6fec62894136f8637a

7 years agochange the type of the zpos 04/166804/1
SooChan Lim [Fri, 12 Jan 2018 04:19:28 +0000 (13:19 +0900)]
change the type of the zpos

Change-Id: I6c73ea719481b2375714c8de1b80161bf8bf2030

7 years agonot allow setting the negative position to a layer. 12/166412/3
Boram Park [Wed, 10 Jan 2018 05:41:13 +0000 (14:41 +0900)]
not allow setting the negative position to a layer.

Change-Id: I3dc92c2ddaa190589e8c7984a66a0bbb9e32e65e

7 years agocorrect printf formats 11/166411/1
Boram Park [Wed, 10 Jan 2018 05:40:19 +0000 (14:40 +0900)]
correct printf formats

Change-Id: I76e0ab0e7ed5e62ba5793772384ace9748fbcfa8

7 years agopackage version up to 1.2.3 93/165293/1 accepted/tizen/unified/20171229.070232 submit/tizen/20171228.043213 submit/tizen/20171228.075303
SooChan Lim [Thu, 28 Dec 2017 04:14:02 +0000 (13:14 +0900)]
package version up to 1.2.3

Change-Id: I448450ae7ac4f958ca9873fede02316208d10e2a

7 years agohwc: reset buffers for unvis hwc_windows in _tdm_exynos_display_prepare_commit()... 33/165233/1
Konstantin Drabeniuk [Wed, 27 Dec 2017 07:06:26 +0000 (09:06 +0200)]
hwc: reset buffers for unvis hwc_windows in _tdm_exynos_display_prepare_commit() func

Change-Id: I810f6eaee6bda8a43db9fd903a34d30557a3c3e4
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years ago_reset_composition_types: reset grabbed_layer_zpos for unvis hwc_windows 31/165131/1
Konstantin Drabeniuk [Tue, 26 Dec 2017 09:59:37 +0000 (11:59 +0200)]
_reset_composition_types: reset grabbed_layer_zpos for unvis hwc_windows

Change-Id: I9512f692cf5edec403daf63d36d019d44bf8b4eb
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years ago_is_reset_to_client_needed: check the is_device_to_client_transition variable for... 19/165119/1
Konstantin Drabeniuk [Tue, 26 Dec 2017 08:48:25 +0000 (10:48 +0200)]
_is_reset_to_client_needed: check the is_device_to_client_transition variable for all hwc_windows

Change-Id: I94a73939ef3e5ffb842b5b6d35b0e2fc6a2173b7
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years ago_map_hwc_windows_to_layers: set need_target_window if num_unmarked_layers is 0 93/164893/3
Konstantin Drabeniuk [Thu, 21 Dec 2017 11:48:36 +0000 (13:48 +0200)]
_map_hwc_windows_to_layers: set need_target_window if num_unmarked_layers is 0

Change-Id: I8c7b25478327d0c765dbd92efb14b581cbfc0975
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agochange the names of the variables 00/164800/1
SooChan Lim [Thu, 21 Dec 2017 05:48:40 +0000 (14:48 +0900)]
change the names of the variables

hw --> hwc_window_data
exynos_hwc_window --> hwc_window_data
exynos_output --> output_data

Change-Id: I871e86c8fc80fbda823171e66d83271748689d60

7 years agohwc: don't reset hwc_window's surface when the device to client transition is finished 56/164656/2 accepted/tizen/unified/20171221.071306 submit/tizen/20171220.070422
Konstantin Drabeniuk [Wed, 20 Dec 2017 07:50:38 +0000 (09:50 +0200)]
hwc: don't reset hwc_window's surface when the device to client transition is finished

Change-Id: Ic047fa49552a3443ea9b0a10a1d37fe9b168a591
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agolayer_get_property: add validation of a property id 46/164646/2
Roman Marchenko [Wed, 20 Dec 2017 06:39:42 +0000 (08:39 +0200)]
layer_get_property: add validation of a property id

Change-Id: I93158765c88ab35509a5985c836b27b585b67b3f
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agopackage version up to 1.2.2 41/164641/1
SooChan Lim [Wed, 20 Dec 2017 06:57:47 +0000 (15:57 +0900)]
package version up to 1.2.2

Change-Id: I2197ed8f75faf9027bc2e9ca6c71de65a576d655

7 years agohwc: set need_target_window if there are no visible hwc_windows 92/164492/2
Konstantin Drabeniuk [Tue, 19 Dec 2017 09:04:28 +0000 (11:04 +0200)]
hwc: set need_target_window if there are no visible hwc_windows

Change-Id: Ia2bc21752ec662fafbf5ba44e5b9b23c8dd3bf24
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agopackage version up to 1.2.1 68/164368/1 accepted/tizen/unified/20171219.072727 submit/tizen/20171219.015150
SooChan Lim [Tue, 19 Dec 2017 01:45:55 +0000 (10:45 +0900)]
package version up to 1.2.1

Change-Id: Ib674b9e9d2bc6c482d8d598bef5d119760941a14

7 years agouse smooth transition if the layer is really grabbed 36/164336/1
Konstantin Drabeniuk [Mon, 18 Dec 2017 16:01:27 +0000 (18:01 +0200)]
use smooth transition if the layer is really grabbed

Change-Id: Iaa324722102308d31c94f01631cc62fa9445560f
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agohwc: add cursor support 51/164151/3
Konstantin Drabeniuk [Fri, 15 Dec 2017 15:58:33 +0000 (17:58 +0200)]
hwc: add cursor support

Change-Id: I5526a04a3e8169eccced84fcdba14ead3b64d62a
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agofix black screen issue 26/164126/1
Sergey Sizonov [Fri, 15 Dec 2017 09:09:10 +0000 (12:09 +0300)]
fix black screen issue

Wm makes an ec invisible before the target buffer it was composited to
gets scheduled to be shown.

Change-Id: Ib4533075fc5d4264d85e9bfd595f31c183535290
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agofix potential dead lock (hanging out within device to client transition) 10/164010/1
Sergey Sizonov [Thu, 14 Dec 2017 12:48:48 +0000 (15:48 +0300)]
fix potential dead lock (hanging out within device to client transition)

Change-Id: I9fde7b00d0b8511cd4286ce7a3a9ad5c99d31743
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agopackage version up to 1.2.0 08/163908/1 accepted/tizen/unified/20171215.060626 submit/tizen/20171214.044336
SooChan Lim [Thu, 14 Dec 2017 04:20:10 +0000 (13:20 +0900)]
package version up to 1.2.0

Change-Id: I026200f63b36f19355150e185ed0644fe2b5a8d8

7 years agoimplement new mechanism for smooth transition from DEVICE to CLIENT 56/163356/5
Sergey Sizonov [Mon, 11 Dec 2017 11:11:19 +0000 (14:11 +0300)]
implement new mechanism for smooth transition from DEVICE to CLIENT

This implementation is based on the list of composited
hwc_wnds passed along with target_surface these hwc_wnds
are composited at.

Change-Id: I8f2b1c5b8bc1d6df4f271707dedefa0c5e826362
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agowrite comments on the hwc_windows mapping algorithm 88/163488/2 accepted/tizen/unified/20171213.040839 submit/tizen/20171212.223103
Konstantin Drabeniuk [Mon, 11 Dec 2017 11:56:01 +0000 (13:56 +0200)]
write comments on the hwc_windows mapping algorithm

Change-Id: I0ff7561dbf61164d1433d663095be0760f97f0d1
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>