Boram Park [Tue, 26 Apr 2016 07:50:12 +0000 (16:50 +0900)]
add doxygen document
Change-Id: I41cdc17d84206dc473369f7f9145b5cb35f82ead
Boram Park [Tue, 26 Apr 2016 07:30:23 +0000 (16:30 +0900)]
apply wayland coding style
Change-Id: I127ffebe17c53ce82c4bd3580f6d059081831ac1
Boram Park [Tue, 26 Apr 2016 07:29:35 +0000 (16:29 +0900)]
add sw_timer param
Need to implement more
Change-Id: I44ef299564d09e3c8788a04dc191518f7ab67436
Boram Park [Tue, 26 Apr 2016 02:08:52 +0000 (11:08 +0900)]
rename test tools and enhance logs
Change-Id: I0ef5b4639c3a555ddcd0217f78d7ec3ba47a515a
Boram Park [Mon, 25 Apr 2016 14:30:58 +0000 (23:30 +0900)]
changing test log
Change-Id: Ia09d2f5af48af1e1eb6351f5acbed8e202ebf3ea
Boram Park [Mon, 25 Apr 2016 14:05:49 +0000 (23:05 +0900)]
don't call tdm_event_loop_flush in a main thread.
All requests and events of a wayland display are handled
in a TDM thread.
Change-Id: I9469304a631c45a5d71dfcd27c8cc8d78d7be253
Andrii Sokolenko [Mon, 25 Apr 2016 07:45:16 +0000 (10:45 +0300)]
Implement deadlock checker. To enable this function, compile with TDM_CONFIG_MUTEX_TIMEOUT
Change-Id: I20e04366aaefa7dd1369a482028cb3c2b4e7c47f
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
Boram Park [Mon, 25 Apr 2016 10:42:53 +0000 (19:42 +0900)]
init variable
Change-Id: I73691449738ad137cac39c6573afd2881ada2b6e
Junkyeong Kim [Mon, 25 Apr 2016 02:05:22 +0000 (11:05 +0900)]
set tdm output list's first element to main
Change-Id: I6208106cf1023c007a2b519258dc7907cad4b5b9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Mon, 25 Apr 2016 01:58:49 +0000 (10:58 +0900)]
add TDM_LAYER_CAPABILITY_NO_CROP
Change-Id: I78bbf9b71353426beb3aa69f675b0167be52fc97
Boram Park [Fri, 22 Apr 2016 09:26:12 +0000 (18:26 +0900)]
enhance log
Change-Id: I05e236e01c32d5873192a9ff913484a574adfc1f
Boram Park [Fri, 22 Apr 2016 09:25:27 +0000 (18:25 +0900)]
backend can have no output_set_dpms
Change-Id: Ifc34ff143f52182a1bd1e418b49d82458a4b2188
Boram Park [Fri, 22 Apr 2016 05:36:41 +0000 (14:36 +0900)]
enhance log
Change-Id: I05970c643cebda9d9cc3313bf3b26ffeba95469e
Boram Park [Thu, 21 Apr 2016 07:30:10 +0000 (16:30 +0900)]
check if input param is valid
Change-Id: Ic1cd413a0205c05226c9b955011e82ac5dbbaf2b
Boram Park [Thu, 21 Apr 2016 07:29:48 +0000 (16:29 +0900)]
use tdm_dump_enable variable to check if dump needed
Change-Id: I8287bc0eca5198ade708b26a585cd6c88bc2bd66
Boram Park [Thu, 21 Apr 2016 07:20:32 +0000 (16:20 +0900)]
remove unuseful error log
Change-Id: Id215f5bf40d6f8b2563560f2683bc57b71062469
Boram Park [Thu, 21 Apr 2016 06:43:47 +0000 (15:43 +0900)]
fix deadlock and enhance lock/unlock to protect the backend module's data
Change-Id: I4e057d3238779702af5e878be96ecb9c33573d10
Boram Park [Thu, 21 Apr 2016 06:35:13 +0000 (15:35 +0900)]
assertion if there is error or warning
Change-Id: Ie2a0586b28fd54bf6712603b2c316c3845d23869
Boram Park [Thu, 21 Apr 2016 02:01:35 +0000 (11:01 +0900)]
print log with color
red - error
yellow - warning
green - info
white - debug
Change-Id: I9861b058efefc40c5d04677d5c1f952c959ffe60
Boram Park [Wed, 20 Apr 2016 09:52:46 +0000 (18:52 +0900)]
fix segfault when the vblank resource is gone
Change-Id: I4acfe93a46d85dcdcc4db81d79d78b8165b88a9e
Junkyeong Kim [Tue, 19 Apr 2016 10:46:28 +0000 (19:46 +0900)]
make dump at tdm_layer_set_buffer function
add tdm dump helper functions
Change-Id: I64f1d7018ede69256d45181774b91f5a27f7f341
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Tue, 19 Apr 2016 09:45:32 +0000 (18:45 +0900)]
fix syntax error
Change-Id: I0a7822a23bda1ecbc2af12dbf2eae15c737d086a
Boram Park [Mon, 18 Apr 2016 12:33:24 +0000 (21:33 +0900)]
fix syntax error
Change-Id: Icdf0b36c6bc81d3382b31ab63272599593b9be37
Boram Park [Mon, 18 Apr 2016 12:24:27 +0000 (21:24 +0900)]
disable the tdm thread as default
Change-Id: I4f5584bd37e82a265b7a4fc350994076336387f7
Junkyeong Kim [Mon, 18 Apr 2016 07:35:05 +0000 (16:35 +0900)]
erase dereference of null code
Change-Id: I3726b755d568255e3a82da65ada40828a40414b3
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Sun, 17 Apr 2016 23:39:05 +0000 (08:39 +0900)]
set the initial dpms value to be off
Change-Id: I3413ce4256133d58b5e02a27c4ecb036e184fae4
Andrii Sokolenko [Tue, 12 Apr 2016 13:58:24 +0000 (16:58 +0300)]
For store user data of buffer used new surface api of libtbm
Change-Id: I7fb0f7e3956a68e84c3e497222b16a8115e291bb
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
Boram Park [Mon, 11 Apr 2016 08:34:24 +0000 (17:34 +0900)]
fix 64bit build error
Change-Id: I19f591063dc4c824aec8599fed8bb0a740debd15
Boram Park [Mon, 11 Apr 2016 06:50:57 +0000 (15:50 +0900)]
call the change handler when dpms changed
Change-Id: I34e856fceb1840b4a2fecba867550b5637571e47
Boram Park [Fri, 8 Apr 2016 09:24:11 +0000 (18:24 +0900)]
need to close fd of tdm_helper_get_fd
Change-Id: I5c06586ae3e07c84187137b4294a74a0505b0ca1
Boram Park [Fri, 8 Apr 2016 08:36:27 +0000 (17:36 +0900)]
return error during DPMS off
Change-Id: Idb99a669b6d4dffe78e7914b130ec78d97617fe1
Boram Park [Mon, 4 Apr 2016 10:22:29 +0000 (19:22 +0900)]
add tdm-client to test tdm client API
Change-Id: Ifa6219f85b35d1d9d119211c276062974967986d
Boram Park [Thu, 31 Mar 2016 09:53:37 +0000 (18:53 +0900)]
support client API for wait_vblank
Change-Id: Id7df85559d73324556752ac2a4f572ee259fd731
Boram Park [Fri, 1 Apr 2016 04:51:34 +0000 (13:51 +0900)]
rename tdm_event to tdm_event_loop
Change-Id: Ied704a81006333d47a87206adb0cc7e44b981562
Boram Park [Wed, 30 Mar 2016 08:18:00 +0000 (17:18 +0900)]
support thread
Change-Id: I8f9b5b7393af5990e46bf51142db3005a430535f
Boram Park [Thu, 24 Mar 2016 11:49:53 +0000 (20:49 +0900)]
support the output change handler
Change-Id: Icc9887e49f39fb6a8dddcf8a61d32b5f6c8e07aa
Boram Park [Wed, 30 Mar 2016 00:18:55 +0000 (09:18 +0900)]
Using a wl_display object to create a event loop
Change-Id: Id47aa310967328283db7ebb43a326d4305176a49
Boram Park [Wed, 30 Mar 2016 08:16:48 +0000 (17:16 +0900)]
use wl_event_loop to support the event handling system
Conflicts:
src/tdm_private.h
Change-Id: Ie7be4057582a58d6c9db54edd39521e7bc7c4ab3
Boram Park [Wed, 23 Mar 2016 02:51:06 +0000 (11:51 +0900)]
return TDM_ERROR_NOT_IMPLEMENTED if backend doesn't implenment
Change-Id: Ic4b297c8992aa9e6bc60d8530cb9ed72e2ccc694
Boram Park [Wed, 23 Mar 2016 02:22:09 +0000 (11:22 +0900)]
use a tab instead of 8 spaces
Change-Id: I43e97a5d0ab49ba06f281a4c077c070e9534d744
Boram Park [Wed, 23 Mar 2016 02:13:44 +0000 (11:13 +0900)]
use macro to debug mutex lock
Change-Id: I7dd7d6d4674444068009c8d2288b4ff5a1daa828
Boram Park [Mon, 21 Mar 2016 00:28:20 +0000 (09:28 +0900)]
add tdm_helper_get_fd & tdm_helper_set_fd
Change-Id: I07027116cf37fd312eda56c49b271b2f36575c8f
Boram Park [Tue, 22 Mar 2016 12:55:45 +0000 (21:55 +0900)]
Revert "add display_buffer_get_fd to TDM backend interface"
This reverts commit
748a516c6f3f754be4ff0e32d21a0985839cbea1.
Conflicts:
include/tdm_backend.h
src/tdm.c
src/tdm_private.h
Change-Id: Ida5296ea6fcc210cabb62361d416afca3cfbc691
SooChan Lim [Wed, 6 Apr 2016 05:24:18 +0000 (14:24 +0900)]
add TDM_LAYER_CAPABILITY_RESERVED_MEMORY
Change-Id: I0a67874a6ff3345d83d02b9c325a58e3d4543cd2
Boram Park [Thu, 17 Mar 2016 04:58:22 +0000 (13:58 +0900)]
fix doxygen document
Change-Id: I588b867d55069ed8199bd24894d85fd51e850e7c
Boram Park [Thu, 17 Mar 2016 04:03:52 +0000 (13:03 +0900)]
fix syntax error
Change-Id: If368fcb353e920ecb0f362c52c38c75dead52751
Boram Park [Thu, 17 Mar 2016 03:03:06 +0000 (12:03 +0900)]
unref buffer when destroyed
Change-Id: I71ed02cfe70569c25b175142c0420387e70825c1
Boram Park [Thu, 17 Mar 2016 00:04:22 +0000 (09:04 +0900)]
fix syntax error
Change-Id: I5fdb2e30bb3e0d1c664cfa14d881f067f5c3f04e
Boram Park [Wed, 16 Mar 2016 10:06:18 +0000 (19:06 +0900)]
return error if a buffer is attached twice
We have to handle attaching a buffer twice as error. Display server
should attach a buffer after finishing a previous converting.
Change-Id: I98ee0a585af19f3a3009133f99a2c27b4e51b438
Boram Park [Wed, 16 Mar 2016 08:12:33 +0000 (17:12 +0900)]
map/unmap for dump
Change-Id: Ib91a52e7c3dbb95db719da201efe8a0d34a3d999
Sangjin Lee [Mon, 14 Mar 2016 09:02:56 +0000 (18:02 +0900)]
change deprecated APIs
Change-Id: I82daf13d77b949e9bffb8db14df39f1efcda981d
SooChan Lim [Fri, 11 Mar 2016 04:34:12 +0000 (13:34 +0900)]
install the license file
Change-Id: I3e4c22abba4ad716e9c4d14cfc1ad1a0e15ead42
Boram Park [Thu, 10 Mar 2016 13:37:51 +0000 (22:37 +0900)]
fix TDM buffer management
- enhance logs
- use pending_list to rollback if commit is failed
- increase buffer ref_count if commit is successed
Change-Id: I6823202d9c1764c99d14378a1f37d55e47672c08
Boram Park [Wed, 9 Mar 2016 07:39:26 +0000 (16:39 +0900)]
keep buffer_list in buf_info
Change-Id: Ie987de6779a3ed63204d009cc4d68ffd6f4953a0
Boram Park [Wed, 9 Mar 2016 04:27:31 +0000 (13:27 +0900)]
enhance log for buffer debugging
Change-Id: I0b5cda4cf5cb00e4ef3d000a8a16844db3b36e17
Boram Park [Wed, 2 Mar 2016 00:45:37 +0000 (09:45 +0900)]
fix dependency error for build-break
Change-Id: Iffbda4fde6879f2fa258bf8f8821a76cceb592d9
Boram Park [Mon, 29 Feb 2016 07:31:41 +0000 (16:31 +0900)]
enhance log
Change-Id: Ica6faba6cf7144d6efd5991f7e08a436e85784bc
Boram Park [Mon, 29 Feb 2016 01:49:16 +0000 (10:49 +0900)]
apply wayland coding style
Change-Id: I7e829ceedea51cd60989022205cab0fe5bbeb97e
Boram Park [Sun, 28 Feb 2016 22:35:43 +0000 (07:35 +0900)]
add ttrace
Change-Id: I3312d93151cbf7f73dd26e0976a278c11cbb3fc8
Boram Park [Thu, 18 Feb 2016 01:38:59 +0000 (10:38 +0900)]
version up to 1.1.0
Change-Id: Icad6a02ed7c39e53b3eb8840db76a9c97f38ccdf
Boram Park [Fri, 19 Feb 2016 02:36:00 +0000 (11:36 +0900)]
fix syntax error
Change-Id: I8db1427ff18ba4a537493ebcc6becf50dcab65c4
Boram Park [Thu, 18 Feb 2016 01:38:46 +0000 (10:38 +0900)]
checking backend ABI version
Change-Id: I484eb38ad2a62cec2b26cac62cc7abe578ef7b6f
Boram Park [Fri, 19 Feb 2016 04:39:53 +0000 (13:39 +0900)]
add display_buffer_get_fd to TDM backend interface
Change-Id: I1069e5b799c3a0c5a3592668575b40125ad78157
Boram Park [Thu, 18 Feb 2016 01:29:28 +0000 (10:29 +0900)]
remove tdm_helper_drm_fd
Change-Id: I8c8fcdcc71d716b573bad3d2c1eb8532e3bf947e
Boram Park [Sun, 14 Feb 2016 10:51:23 +0000 (19:51 +0900)]
enhance mode information of output
Change-Id: Id0560973ddb6541db8ec4df339e92d33bd4a9f4c
Boram Park [Sun, 14 Feb 2016 10:24:15 +0000 (19:24 +0900)]
add maker, model, name to tdm_caps_output
Change-Id: I12b393d4918e206a12392306a66b7b2006d05568
Boram Park [Sun, 14 Feb 2016 09:34:59 +0000 (18:34 +0900)]
seperate tdm_func_ouput, tdm_func_layer from tdm_func_diplay
Change-Id: I1fd0ffab9fecbad43308ff54def71f3cb5b8452c
Sangjin Lee [Fri, 5 Feb 2016 04:29:33 +0000 (13:29 +0900)]
Support tbm_surface_queue
Change-Id: Ia18d4d002623efd0b2f606b21e9bb7e96661c28b
Boram Park [Wed, 3 Feb 2016 13:44:26 +0000 (22:44 +0900)]
packaging: update version to 1.0.3
Change-Id: Ibdc0bf08629890109dc7144b89dece5fdfcf9871
Boram Park [Wed, 3 Feb 2016 13:44:04 +0000 (22:44 +0900)]
add TDM_LAYER_CAPABILITY_SCANOUT
some hardware only accets scanout buffers. In this case, the
display server will pass only a scanout buffer to a TDM layer.
Change-Id: Ie7fd294b7da7e8ccd525924df8f76387ed5410b3
Boram Park [Fri, 22 Jan 2016 05:10:17 +0000 (14:10 +0900)]
packaging: update version to 1.0.2
Change-Id: Ic2448a8a8ef3c079380990f2dad2f1eb48915345
Junkyeong Kim [Fri, 22 Jan 2016 04:45:54 +0000 (13:45 +0900)]
add -lpthread to Makefile
Change-Id: I0ddd04eacd02ef0af3e0c85b7017030b94eebafa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Wed, 20 Jan 2016 01:06:04 +0000 (10:06 +0900)]
add dump function for debugging
Change-Id: Ifb2abab9390a850e1224c38c3ae693a0ec1b1815
Boram Park [Fri, 8 Jan 2016 11:56:47 +0000 (20:56 +0900)]
doc: add tdm_helper.h to doxygen
Change-Id: I7b972dc4a3ef24238d37212d4e1fbc9720b8721d
Boram Park [Wed, 30 Dec 2015 06:00:48 +0000 (15:00 +0900)]
modify doxygen
Change-Id: Iad1714e3224f39e4b77452e2fa4456949857711b
Boram Park [Wed, 30 Dec 2015 02:41:43 +0000 (11:41 +0900)]
add README file
Change-Id: I54495cefc4dcf7d2467a6bf5e8aaf4d6675a70e5
Boram Park [Wed, 30 Dec 2015 01:35:49 +0000 (10:35 +0900)]
fix doxygen bug
Change-Id: Iee68da29728dcc907b589af08dfa5d7f59632e15
Boram Park [Tue, 29 Dec 2015 04:36:53 +0000 (13:36 +0900)]
add doxygen document
Change-Id: I12b2711b22f6ffe62162ec19464867711be8cef5
Boram Park [Wed, 23 Dec 2015 10:43:48 +0000 (19:43 +0900)]
fix svace issue
Change-Id: I1adae5445f0e403ce4e482b182e1903c9508c648
Boram Park [Tue, 22 Dec 2015 11:27:43 +0000 (20:27 +0900)]
packaging: upgrade version to 1.0.1
Change-Id: I6c860b3db08c982213ed09e2b5670487e5fa6ce2
Boram Park [Tue, 22 Dec 2015 07:43:06 +0000 (16:43 +0900)]
change buffer type from tdm_buffer to tbm_surface
Change-Id: Idd7dc7aea84488b76ba78b91c9b98a02ea4563c5
Boram Park [Tue, 22 Dec 2015 02:36:51 +0000 (11:36 +0900)]
change input/output parameter's type
Change-Id: Id8f985919a9da55448852b70715068a934c2a909
Boram Park [Mon, 21 Dec 2015 01:51:57 +0000 (10:51 +0900)]
unlock mutex after try_lock
Change-Id: I7e11a01bc27edfd9aff8168833c3b1813544d0b4
Boram Park [Tue, 15 Dec 2015 10:01:11 +0000 (19:01 +0900)]
add layer_set_video_pos to backend interface
Change-Id: I80d1d31ab78f68f8859ce70b67d2e56a431e18b5
Junkyeong Kim [Fri, 11 Dec 2015 05:27:00 +0000 (14:27 +0900)]
use tdm_buffer instead of tbm_surface for backend
- add tdm buffer destroy handler
Change-Id: I6edf927ded6c7e07cfcf396f279c5ab8fc49e4de
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Wed, 9 Dec 2015 03:45:00 +0000 (12:45 +0900)]
change double pointer to one pointer in tdm_caps_output
Change-Id: I81737bfacdf0423dce368d0dd6188ec71d41ad98
Boram Park [Tue, 8 Dec 2015 11:35:50 +0000 (20:35 +0900)]
elimiate race condition of capture callback
Change-Id: I0eeeaac9b76474174272eba47ebfd7e23f0d14f6
Junkyeong Kim [Mon, 7 Dec 2015 08:13:09 +0000 (17:13 +0900)]
elimiate race condition of pp callback
Change-Id: Ie0599e2d7670ce2c31d2c8537c243a8e9d6f1fa7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Mon, 7 Dec 2015 11:05:49 +0000 (20:05 +0900)]
Merge branch 'devel' into tizen
Change-Id: I46f69bf79e51f8ae8f40b48d5ccd35b56f10ca9b
Boram Park [Sat, 5 Dec 2015 01:42:43 +0000 (10:42 +0900)]
buffer will be released when next buffer is showing
Change-Id: I0db820a7d5b303b213040d1958badcdf6a925034
Boram Park [Sat, 5 Dec 2015 01:41:55 +0000 (10:41 +0900)]
add comments
Change-Id: Ib98d898f5caac6fb4f0a429c2475e43ee5e4b558
Boram Park [Fri, 4 Dec 2015 12:20:16 +0000 (21:20 +0900)]
remove private_display_backend variable
Change-Id: I2e6ae54deeee46c503d717bce7be45082db3979a
Boram Park [Fri, 4 Dec 2015 12:19:27 +0000 (21:19 +0900)]
destroy tdm_buffer when ref_count and backend_ref_count == 0
Change-Id: I19592b24b0260a09cb6aa809471a30df4ad80030
Boram Park [Fri, 4 Dec 2015 10:47:15 +0000 (19:47 +0900)]
change variable names
Change-Id: I76b1add55684bcbe2d9ba483e1a9b3d81f1224b6
Boram Park [Fri, 4 Dec 2015 03:58:10 +0000 (12:58 +0900)]
fix syntax error
Change-Id: I2a7aa2526254c72f8e325d9700d0f7387a1ff751
Junkyeong Kim [Thu, 3 Dec 2015 12:50:52 +0000 (21:50 +0900)]
eliminate race condition
Change-Id: I9a76a4d631ad4a479bd59cdb487c99a79c3446d1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Fri, 4 Dec 2015 02:13:49 +0000 (11:13 +0900)]
use pp flags instead of pp property
Change-Id: I8476c1f89059e442787545b67a8da2f7eea1a8cb
Boram Park [Thu, 3 Dec 2015 07:29:14 +0000 (16:29 +0900)]
fix syntax error
Change-Id: I3e591def832108dd44774b6173ceacc20868cf9c
Boram Park [Thu, 3 Dec 2015 05:35:50 +0000 (14:35 +0900)]
remove buffer from list when destroyed
Change-Id: I98ee5fb7af54c30c4231c53dfd8f14f2045a9d79
Boram Park [Thu, 3 Dec 2015 01:25:30 +0000 (10:25 +0900)]
unref current_buffer after getting next buffer
Change-Id: Iaf9b52276daf92e40754dce2fbba8a29a6702e40