platform/core/uifw/libtdm.git
7 years agovblank: correct the client request time 48/144248/1
Boram Park [Wed, 16 Aug 2017 05:06:44 +0000 (14:06 +0900)]
vblank: correct the client request time

The client request time SHOULD be bigger than the last vblank time. To make
sure it, we forcely set the last vblank time to the client request time when
the req_time is smaller than the last_time.

Change-Id: Ib1dbec907fa04693d6df05b8260e300f6032563e

7 years agoclient: enhance vblank logs 47/144247/1
Boram Park [Wed, 16 Aug 2017 05:04:00 +0000 (14:04 +0900)]
client: enhance vblank logs

Change-Id: I6b12bc6aa56a1d4cdd2c319d7172dc46945fbd20

7 years agopackage version up to 1.7.5 accepted/tizen/3.0/common/20170808.135630 accepted/tizen/3.0/ivi/20170808.070924 accepted/tizen/3.0/mobile/20170808.070909 accepted/tizen/3.0/tv/20170808.070913 accepted/tizen/unified/20170808.171305 submit/tizen/20170807.103032 submit/tizen_3.0/20170807.103117
Boram Park [Mon, 7 Aug 2017 10:30:08 +0000 (19:30 +0900)]
package version up to 1.7.5

Change-Id: Id40ac9c7d9193125051433a0603f0abbf3a01871

7 years agoadapt ASLR for tdm-monitor and tools 34/142734/3
SooChan Lim [Mon, 7 Aug 2017 06:27:41 +0000 (15:27 +0900)]
adapt ASLR for tdm-monitor and tools

Change-Id: I14544a6fa5f4a9d4ded753ec12f031a7e09309ef

7 years agoremove buffers from commit_buffer_list when commit failed. 76/142776/1
Boram Park [Mon, 7 Aug 2017 07:57:16 +0000 (16:57 +0900)]
remove buffers from commit_buffer_list when commit failed.

When pp, commit is the sync operation, cb_done() will be called at the line of
commit(). In this case, buffers will be freed in cb_done() before
LIST_FOR_EACH_ENTRY_SAFE(b, bb, &commit_buffer_list, commit_link) line done.
So commit_link should be deleted when freed.

When commit() successed, commit_link will be deleted twice. So we need to use
LIST_DELINIT instead of LIST_DEL

Change-Id: I6a09878e1eae49d31eb3f3626e005a3ae10841d8

7 years agofix memory leak 75/142775/1
Boram Park [Mon, 7 Aug 2017 07:53:34 +0000 (16:53 +0900)]
fix memory leak

Change-Id: I3e259c314d069bc76884b96dba2b08d975060716

7 years agopackage version up to 1.7.4 38/141038/1 accepted/tizen/3.0/common/20170731.131807 accepted/tizen/3.0/mobile/20170731.012938 accepted/tizen/3.0/wearable/20170731.012951 accepted/tizen/4.0/unified/20170816.013707 accepted/tizen/4.0/unified/20170816.020122 accepted/tizen/unified/20170731.020751 submit/tizen/20170728.020557 submit/tizen/20170730.030247 submit/tizen_3.0/20170728.020613 submit/tizen_3.0/20170730.030330 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
SooChan Lim [Fri, 28 Jul 2017 01:59:31 +0000 (10:59 +0900)]
package version up to 1.7.4

Change-Id: I30ad6821660e110bf9b51dc80352a6e3092cfb98

7 years agodeinit the event loop after all resources are destroyed. 55/140555/2
Boram Park [Tue, 25 Jul 2017 10:05:18 +0000 (19:05 +0900)]
deinit the event loop after all resources are destroyed.

The event loop should be deinited after all event sources are removed. The
event sources can be removed in _tdm_display_destroy_private_display and
_tdm_display_unload_module function. So we make the tdm thread join to the
main thread and remove all resources. And finally we deinit the event loop.

Change-Id: I32f3b5429b40b0711ef50215d05e0eda1c8b1814

7 years agocorrect the wrong condition 54/140554/2
Boram Park [Tue, 25 Jul 2017 09:58:56 +0000 (18:58 +0900)]
correct the wrong condition

Change-Id: Ie7a60db49527b1f1e71067d10eda4327d0492603

7 years agopackage version up to 1.7.3 submit/tizen/20170724.083827 submit/tizen/20170725.002544 submit/tizen_3.0/20170724.083818
Boram Park [Mon, 24 Jul 2017 08:37:43 +0000 (17:37 +0900)]
package version up to 1.7.3

Change-Id: I16d73e08975905546d71fe413e8395de75eba99d

7 years agolayer: check always commit handler list when checking commit possible 24/140224/2
Changyeon Lee [Mon, 24 Jul 2017 07:30:30 +0000 (16:30 +0900)]
layer: check always commit handler list when checking commit possible

Change-Id: I3a121f7a90e3ff68a473f473fbc6b4c864a0d859
Signed-off-by: Boram Park <boram1288.park@samsung.com>
7 years agopackage version up to 1.7.2 92/140092/1 accepted/tizen/3.0/common/20170724.093001 accepted/tizen/3.0/ivi/20170724.075559 accepted/tizen/3.0/mobile/20170724.075529 accepted/tizen/3.0/tv/20170724.075525 accepted/tizen/3.0/wearable/20170724.075622 submit/tizen/20170724.003539 submit/tizen_3.0/20170724.003534
Boram Park [Mon, 24 Jul 2017 00:34:15 +0000 (09:34 +0900)]
package version up to 1.7.2

Change-Id: I1131954ba752ae4d6d2fc9e5bb79483e99015e63

7 years agodump: add function to check whether file is link or not 12/139912/4
Sangjin Lee [Fri, 21 Jul 2017 04:44:23 +0000 (13:44 +0900)]
dump: add function to check whether file is link or not

According to security code guide, before open the file for write it
should be check the file is symbolic link.

Change-Id: I11e5be6898640995669c470cec703aef93869bfd

7 years agolock/unlock outside of the helper function 70/139970/1
Boram Park [Fri, 21 Jul 2017 07:09:57 +0000 (16:09 +0900)]
lock/unlock outside of the helper function

Change-Id: I58ffefedb39143391a62a3f9526dea09256f647b

7 years agolock/unlock when calling a tdm_output internal function 97/139497/1 accepted/tizen/3.0/common/20170721.115114 accepted/tizen/3.0/ivi/20170721.023843 accepted/tizen/3.0/mobile/20170721.023759 accepted/tizen/3.0/tv/20170721.023813 accepted/tizen/3.0/wearable/20170721.023829 accepted/tizen/unified/20170720.164852 submit/tizen/20170719.053735 submit/tizen_3.0/20170719.053725
Boram Park [Wed, 19 Jul 2017 06:10:06 +0000 (15:10 +0900)]
lock/unlock when calling a tdm_output internal function

Change-Id: I0b3e4023f79309fd276142a9706e6ade564e001c

7 years agopackage version up to 1.7.1
Boram Park [Wed, 19 Jul 2017 05:36:16 +0000 (14:36 +0900)]
package version up to 1.7.1

Change-Id: Ie7163eaa657b052afe4be96e7e46ad02b54fb295

7 years agofix invariant result 58/139458/3
Boram Park [Wed, 19 Jul 2017 05:06:34 +0000 (14:06 +0900)]
fix invariant result

Change-Id: Iecb805dfda52036b6bf9a37bb9af994dbe2979d8

7 years agoadd tdm_output_set_dpms_async 40/139440/1
Boram Park [Wed, 19 Jul 2017 03:23:44 +0000 (12:23 +0900)]
add tdm_output_set_dpms_async

Change-Id: I9775ea2e5e78e8a4b11ec85b2b7481b670959b13

7 years agoincrease version to 1.7.0 39/139439/1
Boram Park [Thu, 6 Jul 2017 02:42:23 +0000 (11:42 +0900)]
increase version to 1.7.0

Change-Id: I69d8bc1d44f992e66a097e6aae7569e13e6df194

7 years agolog: use public wayland api 72/138072/1
Sangjin Lee [Tue, 11 Jul 2017 04:34:58 +0000 (13:34 +0900)]
log: use public wayland api

remove useless code for protocol log.

Change-Id: Ide45ca176c8998f604f8f55664271a1c89d5208b

7 years agopackage version up to 1.7.0 accepted/tizen/3.0/common/20170707.091514 accepted/tizen/3.0/ivi/20170706.222058 accepted/tizen/3.0/mobile/20170706.221947 accepted/tizen/3.0/tv/20170706.222012 accepted/tizen/3.0/wearable/20170706.222036 accepted/tizen/unified/20170705.162215 submit/tizen/20170705.013716 submit/tizen_3.0/20170705.085031
Boram Park [Wed, 5 Jul 2017 01:35:32 +0000 (10:35 +0900)]
package version up to 1.7.0

Change-Id: I16fa39bb01c3547de50988e47794546578d6331c

7 years agosupport tdm_value type 46/136946/3
Boram Park [Tue, 4 Jul 2017 01:08:12 +0000 (10:08 +0900)]
support tdm_value type

Change-Id: I88a97af9c00566cb6d21ce8062fb4d73eb678751

7 years agopackage version up to 1.6.21 accepted/tizen/3.0/common/20170614.124939 accepted/tizen/3.0/ivi/20170614.000357 accepted/tizen/3.0/mobile/20170614.000340 accepted/tizen/3.0/tv/20170614.000347 accepted/tizen/3.0/wearable/20170614.000352 accepted/tizen/unified/20170613.194531 submit/tizen/20170613.064539 submit/tizen_3.0/20170613.064516
Boram Park [Tue, 13 Jun 2017 06:43:42 +0000 (15:43 +0900)]
package version up to 1.6.21

Change-Id: Ia2a26859bdbe445abc36a72c6c6b7a6b04e5e963

7 years agohelper: consider the real buffer size 25/133625/1
Boram Park [Sat, 10 Jun 2017 23:25:27 +0000 (08:25 +0900)]
helper: consider the real buffer size

Change-Id: I6950f430aa2581c93709c80200f7b60600b56af4

7 years agohelper: add tdm_helper_get_buffer_full_size() to get the real buffer size 24/133624/1
Boram Park [Sat, 10 Jun 2017 23:24:07 +0000 (08:24 +0900)]
helper: add tdm_helper_get_buffer_full_size() to get the real buffer size

Change-Id: Ie27d3b52ab57171b25628e8a85fc509d1e643e21

7 years agopackage version up to 1.6.20 accepted/tizen/3.0/common/20170601.105940 accepted/tizen/3.0/ivi/20170531.231426 accepted/tizen/3.0/mobile/20170531.231416 accepted/tizen/3.0/tv/20170531.231419 accepted/tizen/3.0/wearable/20170531.231421 accepted/tizen/unified/20170531.082746 submit/tizen_3.0/20170530.054055
Boram Park [Tue, 30 May 2017 05:37:17 +0000 (14:37 +0900)]
package version up to 1.6.20

Change-Id: I6aa36f184b3d4e23c9388af1fc89e1d0ea24c11b

7 years agoserver: ignore chown & chmod errors 69/131569/2
Boram Park [Tue, 30 May 2017 04:57:18 +0000 (13:57 +0900)]
server: ignore chown & chmod errors

Change-Id: I0a923486ca44f8b2b0232bfe4d728a39a66d6df0

7 years agopackage version up to 1.6.19 accepted/tizen/3.0/common/20170530.103800 accepted/tizen/3.0/ivi/20170529.225822 accepted/tizen/3.0/mobile/20170529.225810 accepted/tizen/3.0/tv/20170529.225814 accepted/tizen/3.0/wearable/20170529.225818 submit/tizen_3.0/20170526.071727
Boram Park [Fri, 26 May 2017 04:32:45 +0000 (13:32 +0900)]
package version up to 1.6.19

Change-Id: Ide4d9c9d0deeb0cf0e034497d40824ac8ebd4f8e

7 years agoserver: skip chown if not a super user 43/131243/1
Boram Park [Fri, 26 May 2017 04:08:34 +0000 (13:08 +0900)]
server: skip chown if not a super user

If tdm_display_init is called by non super user, we don't need to
change the owner and group of a tdm socket file. And also changing
the owner of the tdm socket file which is created by non super user
is not allowed. So we just skip chown in this case.

Change-Id: Ib119becc4b9048f0fcc79c52089cfe04907cac60

7 years agopackage version up to 1.6.18 accepted/tizen/3.0/common/20170523.125958 accepted/tizen/3.0/ivi/20170523.020705 accepted/tizen/3.0/mobile/20170523.020628 accepted/tizen/3.0/tv/20170523.020656 accepted/tizen/3.0/wearable/20170523.020700 submit/tizen_3.0/20170522.152331
Boram Park [Mon, 22 May 2017 15:23:07 +0000 (00:23 +0900)]
package version up to 1.6.18

Change-Id: I6fc719c0eee8e70d6bf482251490697d6d355492

7 years agoserver: set permission and group to tdm-socket when it is added 20/130520/2
Changyeon Lee [Mon, 22 May 2017 13:23:05 +0000 (22:23 +0900)]
server: set permission and group to tdm-socket when it is added

Change-Id: I9052f391202781a9ac34c2fce7efacdd75e83761

7 years agopackage version up to 1.6.17 accepted/tizen/3.0/common/20170515.150157 accepted/tizen/3.0/ivi/20170515.064400 accepted/tizen/3.0/mobile/20170515.064350 accepted/tizen/3.0/tv/20170515.064352 accepted/tizen/3.0/wearable/20170515.064357 accepted/tizen/unified/20170511.033600 submit/tizen/20170511.001324 submit/tizen_3.0/20170511.105516 tizen_4.0.m1_release
Boram Park [Thu, 11 May 2017 00:12:51 +0000 (09:12 +0900)]
package version up to 1.6.17

Change-Id: I302bba1a0087af5ba28a90b8cca52e99d70c174b

7 years agovblank: support global fps 40/128640/2
Boram Park [Thu, 27 Apr 2017 04:39:10 +0000 (13:39 +0900)]
vblank: support global fps

Change-Id: Iec9c621fc270336a0d95c4a2f90b583704f9cc46

7 years agovblank: correct target time 39/128639/2
Boram Park [Tue, 2 May 2017 05:25:12 +0000 (14:25 +0900)]
vblank: correct target time

We should consider the vblank interval to calculate the target time.

Change-Id: I7f78631d644ce5dce0e2dfb2c8d8bcefbab45205

7 years agomonitor: add trace option to debug server-client protocol 38/128638/2
Boram Park [Tue, 2 May 2017 04:47:32 +0000 (13:47 +0900)]
monitor: add trace option to debug server-client protocol

Change-Id: Id27af997282b51db1541e2d7e59e521d95097d66

7 years agovblank: use tdm_server_get_client_name 37/128637/2
Boram Park [Tue, 2 May 2017 02:35:53 +0000 (11:35 +0900)]
vblank: use tdm_server_get_client_name

Change-Id: I4f47cca1d1f4fa268ab330fd947cd91e5c9458b8

7 years agoserver: trace client information 36/128636/2
Boram Park [Tue, 2 May 2017 02:33:43 +0000 (11:33 +0900)]
server: trace client information

Change-Id: I3e9ae2599119240628ff276aeebdd7cb34ff1341

7 years agopackage version up to 1.6.16 accepted/tizen/3.0/common/20170508.153030 accepted/tizen/3.0/ivi/20170508.050235 accepted/tizen/3.0/mobile/20170508.050201 accepted/tizen/3.0/tv/20170508.050213 accepted/tizen/3.0/wearable/20170508.050225 accepted/tizen/unified/20170429.023631 submit/tizen/20170428.002735 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170428.002945 submit/tizen_3.0_common/20170508.091735
SooChan Lim [Fri, 28 Apr 2017 00:26:57 +0000 (09:26 +0900)]
package version up to 1.6.16

Change-Id: I8f48e66666d0e2e664facf5a179b327c21683d7b

7 years agochange sscanf to strtol for getting fd 54/125454/1
Junkyeong Kim [Mon, 17 Apr 2017 08:43:42 +0000 (17:43 +0900)]
change sscanf to strtol for getting fd

Change-Id: I7fed3efbd3fc9a9273a670b3b967707453471be2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.6.15 accepted/tizen/unified/20170414.163558 submit/tizen/20170414.032341 submit/tizen_3.0/20170414.032646
Boram Park [Fri, 14 Apr 2017 03:23:26 +0000 (12:23 +0900)]
package version up to 1.6.15

Change-Id: Ied1c6d1fb9b1a09b2e495c7ee39366d7b3fd675b

7 years agotdm: don't send output changes if client doesn't watch them 32/125132/1
Boram Park [Fri, 14 Apr 2017 02:46:50 +0000 (11:46 +0900)]
tdm: don't send output changes if client doesn't watch them

Change-Id: I0c77afab20462f01cc8d2676e868d48b32978878

7 years agopackage version up to 1.6.14 42/123842/1 accepted/tizen/3.0/common/20170410.142601 accepted/tizen/3.0/ivi/20170410.090253 accepted/tizen/3.0/mobile/20170410.090152 accepted/tizen/3.0/tv/20170410.090211 accepted/tizen/3.0/wearable/20170410.090235 accepted/tizen/unified/20170407.190916 submit/tizen/20170407.080244 submit/tizen_3.0/20170407.080348
Boram Park [Fri, 7 Apr 2017 07:51:59 +0000 (16:51 +0900)]
package version up to 1.6.14

Change-Id: Ic05b0a42b8ec8f5856afeaba3d74e05525f3e62d

7 years agolog: enable dlog by default to debug client error 41/123841/1
Boram Park [Fri, 7 Apr 2017 07:51:19 +0000 (16:51 +0900)]
log: enable dlog by default to debug client error

Change-Id: Id3c2a1b7fc7089efb6d62fdb1832fcd48fd4f688

7 years agoclient: allow set-fps during vblank running 40/123840/1
Boram Park [Fri, 7 Apr 2017 07:51:02 +0000 (16:51 +0900)]
client: allow set-fps during vblank running

Change-Id: I8139d220d7938b5b5001e68c066c066cf2e49f61

7 years agopackage version up to 1.6.13 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170327.141000 accepted/tizen/3.0/ivi/20170327.052514 accepted/tizen/3.0/mobile/20170327.052405 accepted/tizen/3.0/tv/20170327.052450 accepted/tizen/3.0/wearable/20170327.052501 accepted/tizen/common/20170323.154640 accepted/tizen/ivi/20170324.024021 accepted/tizen/mobile/20170324.023923 accepted/tizen/tv/20170324.023943 accepted/tizen/unified/20170324.024044 accepted/tizen/wearable/20170324.024001 submit/tizen/20170323.101716 submit/tizen_3.0/20170323.101730
Boram Park [Thu, 23 Mar 2017 10:15:17 +0000 (19:15 +0900)]
package version up to 1.6.13

Change-Id: I622f6d65a5d106d7f8ac86e6f92eb8441d8f8d55

7 years agolog: add debugging logs for dump 08/120608/1
Boram Park [Thu, 23 Mar 2017 09:18:50 +0000 (18:18 +0900)]
log: add debugging logs for dump

Change-Id: If8d84e12c2ece5cd46379d97c42f45ffaa80cc36

7 years agotest: remove sig handler to avoid deadlock 74/120574/1
Boram Park [Thu, 23 Mar 2017 07:59:32 +0000 (16:59 +0900)]
test: remove sig handler to avoid deadlock

Change-Id: I4db7accacebca43bca85751d18918a94dfb43d94

7 years agoevent_loop: set the user func and data before calling wayland API. 20/120520/1
Boram Park [Thu, 23 Mar 2017 06:51:33 +0000 (15:51 +0900)]
event_loop: set the user func and data before calling wayland API.

The user func can be called at the line of wl api by the backend implementation

Change-Id: Idfc19afa17f584531ef37834c592f59f803d2823

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

Change-Id: I66b44ad1d92bf2db69cd7215ae16d5eca309e46e

7 years agopackage version up to 1.6.12
Boram Park [Thu, 9 Mar 2017 04:17:11 +0000 (13:17 +0900)]
package version up to 1.6.12

to upload patch to server again

Change-Id: I62aceb2224fa19e41849123d6ede17c0f4726f42

7 years agopackage version up to 1.6.11
Boram Park [Thu, 9 Mar 2017 03:58:58 +0000 (12:58 +0900)]
package version up to 1.6.11

Change-Id: I33a8efdb08ce79a280fc52476b3b7999f52c188c

7 years agooutput: don't refresh current_dpms_value in case of commit-per-vblank disabled 42/118142/1
Boram Park [Thu, 9 Mar 2017 03:58:11 +0000 (12:58 +0900)]
output: don't refresh current_dpms_value in case of commit-per-vblank disabled

Change-Id: I76bef3fa002e1112faa3a1ad17a23d2dc5ea624e

7 years agooutput: don't call output_get_dpms in case of commit-per-vblank disabled 12/118012/1
Boram Park [Wed, 8 Mar 2017 08:48:37 +0000 (17:48 +0900)]
output: don't call output_get_dpms in case of commit-per-vblank disabled

Change-Id: I3e1b57d58b6a71586a247b7611dd592baa2ad73e

7 years agolayer: init local variable 60/117860/1 accepted/tizen/3.0/common/20170308.133916 accepted/tizen/3.0/ivi/20170308.084130 accepted/tizen/3.0/mobile/20170308.084042 accepted/tizen/3.0/tv/20170308.084105 accepted/tizen/3.0/wearable/20170308.084120 accepted/tizen/common/20170309.175006 accepted/tizen/ivi/20170308.120431 accepted/tizen/mobile/20170308.120345 accepted/tizen/tv/20170308.120400 accepted/tizen/unified/20170310.080656 accepted/tizen/wearable/20170308.120411 submit/tizen/20170308.022253 submit/tizen_3.0/20170308.022418 submit/tizen_unified/20170310.011402
Boram Park [Wed, 8 Mar 2017 01:05:40 +0000 (10:05 +0900)]
layer: init local variable

Change-Id: I73bb6e3f2ae443b4d571395e13b5eae39d2d9c94

7 years agopackage version up to 1.6.10
Boram Park [Tue, 7 Mar 2017 10:57:11 +0000 (19:57 +0900)]
package version up to 1.6.10

Change-Id: I3e0e98825a48f5ab2ac9d1ee1330e64beb3b3b56

7 years agolayer: support to remove the commit handler 59/117759/1
Boram Park [Tue, 7 Mar 2017 09:43:18 +0000 (18:43 +0900)]
layer: support to remove the commit handler

Change-Id: I732e0ffbe44b47d195fcec3ecbff3b2221e6de09

7 years agolayer: remove the commit handler when all resource are freed 58/117758/1
Boram Park [Tue, 7 Mar 2017 09:42:31 +0000 (18:42 +0900)]
layer: remove the commit handler when all resource are freed

Change-Id: I0f8afee8189a806cf4014faace4c09cdde8d51f1

7 years agopackage version up to 1.6.9
Boram Park [Tue, 7 Mar 2017 08:49:33 +0000 (17:49 +0900)]
package version up to 1.6.9

Change-Id: Ic0b49e444558d4fb643a765af7ddc1bc274c4b80

7 years agovblank: remove the vblank handler when wait_info freed 42/117742/1
Boram Park [Tue, 7 Mar 2017 08:36:43 +0000 (17:36 +0900)]
vblank: remove the vblank handler when wait_info freed

If not removed, it makes the crash when the vblank handler is called
for the freed wait_info.

Change-Id: I07b168da39d1ff9f4e5effe69b99dd249d976027

7 years agooutput: support to remove the commit & vblank handler 41/117741/1
Boram Park [Tue, 7 Mar 2017 07:56:25 +0000 (16:56 +0900)]
output: support to remove the commit & vblank handler

Change-Id: I36a569d4e6fdc018fb188444c3ca10f082c4c672

7 years agolog: enhance debugging log for DPMS change 49/117349/1
Boram Park [Sat, 4 Mar 2017 14:11:09 +0000 (23:11 +0900)]
log: enhance debugging log for DPMS change

Change-Id: I77ad1ebcc5b9f2b6434970446d429cdd26640fe5

7 years agolayer: call the layer commit handlers once tdm_layer_commit returns success 48/117348/1
Boram Park [Sat, 4 Mar 2017 14:09:47 +0000 (23:09 +0900)]
layer: call the layer commit handlers once tdm_layer_commit returns success

Once _tdm_layer_commit returns success, the layer commit handler MUST be called always.
That is, even if we get error in _tdm_layer_got_output_vblank() function for some reasons,
the layer commit handler MUST be called.

Change-Id: Ia251061c965a9dec89ed655266bb23667a097e5e

7 years agooutput: use tdm_output_get_dpms_internal to get the DPMS value. 47/117347/1
Boram Park [Sat, 4 Mar 2017 14:07:12 +0000 (23:07 +0900)]
output: use tdm_output_get_dpms_internal to get the DPMS value.

To make sure that the backend's output_get_dpms is called inside of a function
because it can change the current_dpms_value variable.

Change-Id: I207213776aa90033c2e03068ef86ff7d1986ce31

7 years agopackage version up to 1.6.8 accepted/tizen/common/20170303.153627 accepted/tizen/ivi/20170305.223602 accepted/tizen/mobile/20170305.223515 accepted/tizen/tv/20170305.223530 accepted/tizen/unified/20170309.034712 accepted/tizen/wearable/20170305.223546 submit/tizen/20170303.113322 submit/tizen_3.0/20170303.113310 submit/tizen_unified/20170308.100410
Boram Park [Fri, 3 Mar 2017 10:54:54 +0000 (19:54 +0900)]
package version up to 1.6.8

Change-Id: I98d1bba2549bb099b4bc220d392df3cf920f3d5b

7 years agolog: enhance debug log 50/117250/1
Boram Park [Fri, 3 Mar 2017 10:50:46 +0000 (19:50 +0900)]
log: enhance debug log

Change-Id: Idf32a49c6fb5380f0b01837d91fc28f196839bfc

7 years agooutput: call the output commit handler immediately when dpms off 32/117232/2
Boram Park [Fri, 3 Mar 2017 08:20:36 +0000 (17:20 +0900)]
output: call the output commit handler immediately when dpms off

Change-Id: I33264947381669d3104c37c99f41b88b961b4c3f

7 years agoset null init for tdm_private_vblank *v 81/115681/1 accepted/tizen/3.0/common/20170222.125713 accepted/tizen/3.0/ivi/20170222.081911 accepted/tizen/3.0/mobile/20170222.081500 accepted/tizen/3.0/tv/20170222.081648 accepted/tizen/3.0/wearable/20170222.081746 accepted/tizen/common/20170221.135431 accepted/tizen/ivi/20170221.230117 accepted/tizen/mobile/20170221.225949 accepted/tizen/tv/20170221.230032 accepted/tizen/wearable/20170221.230058 submit/tizen/20170221.074644 submit/tizen_3.0/20170221.074919
Junkyeong Kim [Tue, 21 Feb 2017 05:08:09 +0000 (14:08 +0900)]
set null init for tdm_private_vblank *v

Change-Id: Iac60a6f0330a28b7bc82248748967bdc8f5e9441
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.6.7 accepted/tizen/3.0/common/20170216.151622 accepted/tizen/3.0/ivi/20170216.060701 accepted/tizen/3.0/mobile/20170216.060633 accepted/tizen/3.0/tv/20170216.060647 accepted/tizen/3.0/wearable/20170216.060655 accepted/tizen/common/20170215.171210 accepted/tizen/ivi/20170216.094732 accepted/tizen/mobile/20170216.094705 accepted/tizen/tv/20170216.094714 accepted/tizen/wearable/20170216.094718 submit/tizen/20170215.124736 submit/tizen_3.0/20170215.124721
Boram Park [Wed, 15 Feb 2017 12:45:38 +0000 (21:45 +0900)]
package version up to 1.6.7

Change-Id: Iee6a3cb8506ac95b5d94eaadef9cfe6cba6f847c

7 years agovblank: move the set-client-vblank-fps function to server function 98/114898/1
Boram Park [Wed, 15 Feb 2017 12:09:46 +0000 (21:09 +0900)]
vblank: move the set-client-vblank-fps function to server function

Change-Id: Iaca45f4daa29c1d070f976f011633a10f2e3483d

7 years agomutex: don't use the tdm macros for gLock variable. 19/114819/1
Boram Park [Wed, 15 Feb 2017 07:29:05 +0000 (16:29 +0900)]
mutex: don't use the tdm macros for gLock variable.

When _pthread_mutex_unlock macro, tdm_mutex_locked becomes 0. Then, TDM_MUTEX_IS_LOCKED
return 0 even though display->lock is locked. TDM_MUTEX_IS_LOCKED actually is for
display->lock.

Change-Id: Idd4f638b84c0d244de61404e08ee4dfcf81921a2

7 years agodebug: enhance debug information for mutex lock/unlock 18/114818/1
Boram Park [Wed, 15 Feb 2017 07:26:24 +0000 (16:26 +0900)]
debug: enhance debug information for mutex lock/unlock

Change-Id: I0ec99252d2a71d5f770fe3ecb8ce803df74c1c75

7 years agopackage version up to 1.6.6 accepted/tizen/3.0/common/20170213.160533 accepted/tizen/3.0/ivi/20170213.034823 accepted/tizen/3.0/tv/20170213.034602 accepted/tizen/3.0/wearable/20170213.034718 accepted/tizen/common/20170210.170450 accepted/tizen/ivi/20170214.225530 accepted/tizen/mobile/20170214.225425 accepted/tizen/tv/20170214.225444 accepted/tizen/wearable/20170214.225513 submit/tizen/20170210.072046 submit/tizen_3.0/20170210.070135 submit/tizen_3.0/20170210.071009
Boram Park [Fri, 10 Feb 2017 05:43:05 +0000 (14:43 +0900)]
package version up to 1.6.6

Change-Id: If839d522bcc6a67723cc2eafd5941634d8bfda9c

7 years agodisplay: separate output & layer part from display 24/114124/1
Boram Park [Fri, 10 Feb 2017 05:32:35 +0000 (14:32 +0900)]
display: separate output & layer part from display

tdm_display.c had more than 2000 lines. To increase readability, separate
output & layer part from display

Change-Id: I06493e50fbd931a006bef0cf402f02fb7f3d4a0e

7 years agobuffer: correct the buffer management 99/114099/2
Boram Park [Fri, 10 Feb 2017 00:09:35 +0000 (09:09 +0900)]
buffer: correct the buffer management

Change-Id: Ica59998a4739b95727e0cf19bad8a5387c795d3a

7 years agobuffer: use tdm_private_layer_buffer structure for layer buffers 98/114098/2
Boram Park [Thu, 9 Feb 2017 11:25:38 +0000 (20:25 +0900)]
buffer: use tdm_private_layer_buffer structure for layer buffers

Change-Id: I45b5e8842328da77e9fd78bce811d018f3229431

7 years agodisplay: correct fps count 35/113835/1
Boram Park [Thu, 9 Feb 2017 05:19:50 +0000 (14:19 +0900)]
display: correct fps count

Change-Id: I0cbe1789db617f4c8ffc81735b33628048f2d6a7

7 years agovblank: add set_vblank_fps functionality for the given PID 02/113502/2
Boram Park [Wed, 8 Feb 2017 03:39:16 +0000 (12:39 +0900)]
vblank: add set_vblank_fps functionality for the given PID

Change-Id: I28a8b5ca1e585f68817da6f887aed13f188b64f0

7 years agopackage version up to 1.6.5 accepted/tizen/3.0/common/20170209.112953 accepted/tizen/3.0/ivi/20170209.033556 accepted/tizen/3.0/mobile/20170209.033504 accepted/tizen/3.0/tv/20170209.033530 accepted/tizen/3.0/wearable/20170209.033543 accepted/tizen/common/20170208.155357 accepted/tizen/ivi/20170210.004543 accepted/tizen/mobile/20170210.004433 accepted/tizen/tv/20170210.004507 accepted/tizen/wearable/20170210.004530 submit/tizen/20170208.112407 submit/tizen_3.0/20170208.112400
Boram Park [Wed, 8 Feb 2017 11:23:06 +0000 (20:23 +0900)]
package version up to 1.6.5

Change-Id: I41c28ddc3a78c58e8914ab86530f0c1f526c63c2

7 years agocommit: fix the double registration for layer vblank handler 01/113701/4
Boram Park [Wed, 8 Feb 2017 10:51:39 +0000 (19:51 +0900)]
commit: fix the double registration for layer vblank handler

Change-Id: I5154539f0b6f0f7656035aff9d54d6178be058e2

7 years agolist: add a new item in the end of a list 04/113704/2
Boram Park [Wed, 8 Feb 2017 10:19:32 +0000 (19:19 +0900)]
list: add a new item in the end of a list

Change-Id: Id2606821f49de083ab698f201cc9b01bae18328b

7 years agopackage version up to 1.6.4 accepted/tizen/3.0/common/20170206.110258 accepted/tizen/3.0/ivi/20170206.033727 accepted/tizen/3.0/mobile/20170206.033342 accepted/tizen/3.0/tv/20170206.033451 accepted/tizen/3.0/wearable/20170206.033613 accepted/tizen/common/20170203.161714 accepted/tizen/ivi/20170205.233942 accepted/tizen/mobile/20170205.233853 accepted/tizen/tv/20170205.233908 accepted/tizen/wearable/20170205.233927 submit/tizen/20170203.064758 submit/tizen_3.0/20170203.064747
Boram Park [Fri, 3 Feb 2017 06:46:46 +0000 (15:46 +0900)]
package version up to 1.6.4

Change-Id: I4977e0ec9ca0a2e4726ee2c7f9b0f8850466fabc

7 years agocommit: enhance debug log 88/112888/1
Boram Park [Fri, 3 Feb 2017 06:41:16 +0000 (15:41 +0900)]
commit: enhance debug log

Change-Id: Ifd020ef0723b4d7d2121e77aa6be5682aaeeaa2d

7 years agopackage version up to 1.6.3 accepted/tizen/3.0/common/20170203.150924 accepted/tizen/3.0/ivi/20170203.022707 accepted/tizen/3.0/mobile/20170203.022138 accepted/tizen/3.0/tv/20170203.022319 accepted/tizen/3.0/wearable/20170203.022533 accepted/tizen/common/20170202.175150 accepted/tizen/ivi/20170203.023234 accepted/tizen/mobile/20170203.023113 accepted/tizen/tv/20170203.023138 accepted/tizen/wearable/20170203.023206 submit/tizen/20170202.112833 submit/tizen_3.0/20170202.112845
Boram Park [Thu, 2 Feb 2017 05:39:53 +0000 (14:39 +0900)]
package version up to 1.6.3

Change-Id: I8bf469b2dd657964faa8bf1406f47512d97080e8

7 years agocommit: use _tdm_output_commit in case of non commit-per-vblank 21/112621/1
Boram Park [Thu, 2 Feb 2017 04:00:18 +0000 (13:00 +0900)]
commit: use _tdm_output_commit in case of non commit-per-vblank

Change-Id: If83c02ab7a6801dbae64f14337bf0baf364a7df8

7 years agocommit: add function to check whether commit-per-vblank is enabled 96/112596/1
Boram Park [Thu, 2 Feb 2017 01:31:54 +0000 (10:31 +0900)]
commit: add function to check whether commit-per-vblank is enabled

Change-Id: Ib5b58f06c4fe11d81c0cfc61343e0b9ea676c6cb

7 years agovblank: use mutex to protect the vblank lists for multi-thread 66/112566/1
Boram Park [Wed, 1 Feb 2017 12:07:02 +0000 (21:07 +0900)]
vblank: use mutex to protect the vblank lists for multi-thread

Change-Id: I332407aeb258b7b51165db87bfa47405d3c82efa

7 years agopackage version up to 1.6.2 accepted/tizen/3.0/common/20170119.110011 accepted/tizen/3.0/ivi/20170119.021304 accepted/tizen/3.0/mobile/20170119.021209 accepted/tizen/3.0/tv/20170119.021229 accepted/tizen/3.0/wearable/20170119.021246 accepted/tizen/common/20170119.171710 accepted/tizen/ivi/20170119.222421 accepted/tizen/mobile/20170119.222400 accepted/tizen/tv/20170119.222410 accepted/tizen/wearable/20170119.222415 submit/tizen/20170119.042233 submit/tizen_3.0/20170118.120050
Boram Park [Wed, 18 Jan 2017 12:25:12 +0000 (21:25 +0900)]
package version up to 1.6.2

Change-Id: Ib975943b530c3e159a049aa8db68f8c8f3ae2c96

7 years agouse vblank instead of the output commit handler in case of tdm_layer_commit 89/110889/1
Boram Park [Tue, 17 Jan 2017 11:51:31 +0000 (20:51 +0900)]
use vblank instead of the output commit handler in case of tdm_layer_commit

Change-Id: Ib2a29cc331b8243922d43325265891119c809510

7 years agopackage version up to 1.6.1 accepted/tizen/3.0/common/20170118.130842 accepted/tizen/3.0/ivi/20170118.042906 accepted/tizen/3.0/mobile/20170118.042816 accepted/tizen/3.0/tv/20170118.042835 accepted/tizen/3.0/wearable/20170118.042847 accepted/tizen/common/20170116.181747 accepted/tizen/ivi/20170117.054120 accepted/tizen/mobile/20170117.054024 accepted/tizen/tv/20170117.054042 accepted/tizen/wearable/20170117.054102 submit/tizen/20170116.123757 submit/tizen_3.0/20170116.123744
Boram Park [Mon, 16 Jan 2017 12:35:44 +0000 (21:35 +0900)]
package version up to 1.6.1

Change-Id: I20a1eb1fc3fe4bfc07b7c58fed36be848b39b33e

7 years agoenhance the debugging information 50/110450/1
Boram Park [Mon, 16 Jan 2017 06:43:11 +0000 (15:43 +0900)]
enhance the debugging information

Change-Id: I637f7ff180eceefa821ef66e45513ea46f62df09

7 years agounlock mutex before return 49/110449/1
Boram Park [Mon, 16 Jan 2017 06:33:28 +0000 (15:33 +0900)]
unlock mutex before return

Change-Id: I7f31a7a6f2eded7ba07af8b6cb33e5ca68e6c592

7 years agopackaging version up to 1.6.0 accepted/tizen/3.0/common/20170113.072345 accepted/tizen/3.0/ivi/20170113.001145 accepted/tizen/3.0/mobile/20170113.001055 accepted/tizen/3.0/tv/20170113.001114 accepted/tizen/3.0/wearable/20170113.001128 accepted/tizen/common/20170112.174654 accepted/tizen/ivi/20170112.222758 accepted/tizen/mobile/20170112.222712 accepted/tizen/tv/20170112.222727 accepted/tizen/wearable/20170112.222740 submit/tizen/20170112.052510 submit/tizen_3.0/20170112.052456
Boram Park [Thu, 12 Jan 2017 05:03:05 +0000 (14:03 +0900)]
packaging version up to 1.6.0

Change-Id: I1662dbb355ac039eacd612efad423c3f2ef58698

7 years agoAdd return value check. 68/109568/4
Anamika Singh [Tue, 10 Jan 2017 12:58:12 +0000 (18:28 +0530)]
Add return value check.

Change-Id: If2bebc87b5ba75c286bae6c7215055938d506c7b
Signed-off-by: Anamika Singh <anamika.sd@samsung.com>
Signed-off-by: Boram Park <boram1288.park@samsung.com>
7 years agosupport the commit-per-vblank
Boram Park [Tue, 29 Nov 2016 03:23:07 +0000 (12:23 +0900)]
support the commit-per-vblank

If TDM_COMMIT_PER_VBLANK enviroment is set to 1, tdm frontend will
call the backend's output_commit function once per a vblank.

Change-Id: I9df27288fd9318a64305491e4dc96d686a223baf

7 years agoapply tizen coding rule
Boram Park [Wed, 11 Jan 2017 10:38:22 +0000 (19:38 +0900)]
apply tizen coding rule

Change-Id: I22de70e36d516c2c4dce32642945e46c64477573

7 years agochange capture destroy eina_list element structure 20/109120/1 accepted/tizen/3.0/common/20170109.195955 accepted/tizen/3.0/ivi/20170109.073949 accepted/tizen/3.0/mobile/20170109.073442 accepted/tizen/3.0/tv/20170109.073532 accepted/tizen/3.0/wearable/20170109.073605 accepted/tizen/common/20170110.155114 accepted/tizen/ivi/20170110.224650 accepted/tizen/mobile/20170110.224503 accepted/tizen/tv/20170110.224558 accepted/tizen/wearable/20170110.224624 submit/tizen/20170110.094105 submit/tizen_3.0/20170106.131754
Junkyeong Kim [Mon, 9 Jan 2017 02:38:33 +0000 (11:38 +0900)]
change capture destroy eina_list element structure

Change-Id: Ifc52fd72ae0b484d01e0f4533d8439c961b92eb7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.5.3
Boram Park [Fri, 6 Jan 2017 13:15:11 +0000 (22:15 +0900)]
package version up to 1.5.3

Change-Id: I9647ce823de2d4e110425a09a28a9829415f16c6

7 years agochange capture destroy eina_list element structure 31/109031/1
Junkyeong Kim [Fri, 6 Jan 2017 13:07:19 +0000 (22:07 +0900)]
change capture destroy eina_list element structure

Change-Id: Ide6c78700e72ab6831027dccbd43d6321bfd6b9a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.5.2 38/108538/1 accepted/tizen/3.0/common/20170109.195527 accepted/tizen/3.0/ivi/20170106.094734 accepted/tizen/3.0/mobile/20170106.094544 accepted/tizen/3.0/tv/20170106.094635 accepted/tizen/3.0/wearable/20170106.094706 submit/tizen_3.0/20170105.071718
Boram Park [Thu, 5 Jan 2017 04:03:59 +0000 (13:03 +0900)]
package version up to 1.5.2

Change-Id: I6da09389f211179d474bcbaf5c86b71fe62adc44

8 years agofix ATOMICITY issue 86/107186/2
Boram Park [Tue, 27 Dec 2016 05:32:15 +0000 (14:32 +0900)]
fix ATOMICITY issue

Change-Id: I08cf135d0a5511c312c3b5f4c2e40857099c714d