summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
SooChan Lim [Wed, 22 Mar 2017 06:44:20 +0000 (15:44 +0900)]
use %license macro to copy the COPYING file.
Change-Id: I498e72741500017ae68382b931ca6a7397683311
Mun, Gwan-gyeong [Tue, 21 Mar 2017 02:33:04 +0000 (11:33 +0900)]
Apply tbm_drm_helper_set / unset_fd both of server(master) and client.
Some GLES/EGL Driver ,like as MESA, can call tbm_drm_helper_get_fd() both of
server(master) and client. so, tbm backend should call tbm_drm_helper_set / unset
over both of server(master) and client case.
Change-Id: I4597f904bec3d4e6e20868a6ebf402d808ab7a9a
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
SooChan Lim [Wed, 22 Feb 2017 05:38:33 +0000 (14:38 +0900)]
fix the excludeArch for i586
Change-Id: I500538bfef920d9a07eb4f6ee820b11fb2801ed8
SooChan Lim [Wed, 22 Feb 2017 02:06:54 +0000 (11:06 +0900)]
Revert "Revert "Do not use tizen-target-name""
This reverts commit
60d0228a98d1929dd9454269ca4228b508363429.
SooChan Lim [Tue, 21 Feb 2017 10:04:20 +0000 (19:04 +0900)]
Revert "Do not use tizen-target-name"
This reverts commit
47b7175b6d7bab7aefaceda5c6e0f7ebbaeaf0f2.
Change-Id: Ib517bc120f54d94df322aeff238ab6333cd9daee
SooChan Lim [Tue, 21 Feb 2017 08:28:34 +0000 (17:28 +0900)]
Do not use tizen-target-name
In unified build environment (Tizen:Unified), you should not
use any macro that depends on repository/profile.
Without this commit, this package won't be able to be built
in Tizen:Unified.
Change-Id: I71bbd0a83abab6cd38be582febe711a624dd2c98
Changyeon Lee [Thu, 12 Jan 2017 10:19:19 +0000 (19:19 +0900)]
added tbm_drm_helper_set/unset_fd
Change-Id: Ic09676af10fb55dc6a615fa357fe158e3a3bb4fc
Boram Park [Thu, 5 Jan 2017 03:55:46 +0000 (12:55 +0900)]
package version up to 1.0.8
Change-Id: I36f7f3d3d3296cb126ed14f3fb6fc5fdde6198e7
Roman Marchenko [Wed, 28 Dec 2016 09:11:49 +0000 (11:11 +0200)]
fix memory leak in init_tbm_bufmgr_priv()
- bufmgr_sprd->device_name is come from strdup(). so it should be free if init failed.
Change-Id: I862d057ce6bd503685a6ff1576baa1e9423ca7d3
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
SooChan Lim [Mon, 5 Dec 2016 07:22:12 +0000 (16:22 +0900)]
package version up to 1.0.7
Change-Id: Ieb539c12177937b64283fca567bcbc36b58d0a01
YoungJun Cho [Thu, 1 Dec 2016 02:55:13 +0000 (11:55 +0900)]
tbm_bufmgr_sprd: fix wrong ioctl() parameter
This patch fixes wrong ioctl() parameter.
Change-Id: Ic8cea15bd8c2a16b6aadbc362a6cd185f5bad83f
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
SooChan Lim [Fri, 25 Nov 2016 05:23:05 +0000 (14:23 +0900)]
package version up to 1.0.6
Change-Id: I0e1d973401b7b861a08209b6ee5c2abdba1e520b
SooChan Lim [Fri, 25 Nov 2016 03:46:50 +0000 (12:46 +0900)]
remove the unused code
We do not use tgl and do not use the user lock of the dmafence at tm1
- remove lock/unlock
- block the tgl codes
Change-Id: If71fd61f4def380959079e8feb8f3aa163ed99ee
SooChan Lim [Thu, 24 Nov 2016 06:19:54 +0000 (15:19 +0900)]
package version up to 1.0.5
Change-Id: Iad2dec014becabfddb4363cae70f97ad25a12cdc
SooChan Lim [Thu, 24 Nov 2016 06:07:13 +0000 (15:07 +0900)]
use slp_global_lock temporarily
we remove slp_global_lock after kernel enables tgl
Change-Id: I356c344863a7d700929cb53151db7c6fda1b75cc
SooChan Lim [Thu, 24 Nov 2016 06:22:32 +0000 (15:22 +0900)]
Revert "Revert "refactor the sprd log""
This reverts commit
c05a617dc5d39c556a8995289202d7f2c9630198.
Change-Id: Ib4cb9b5b0449d465a42e75424a72c46af156e122
SooChan Lim [Thu, 24 Nov 2016 05:50:34 +0000 (14:50 +0900)]
Revert "Revert "change the slp_global_lock to the tgl""
This reverts commit
1b2b409b690224f724eff0581f6d22e76732c443.
Change-Id: Ib1da168fea7009e3185e82a62d5f52a620e284fe
SooChan Lim [Thu, 24 Nov 2016 05:38:09 +0000 (14:38 +0900)]
Revert "change the slp_global_lock to the tgl"
This reverts commit
c0aa72545a4e3cab567478909dfd0d209e66e373.
Change-Id: Iff09ca999d21d30e000fd5c86308e05f6607c727
SooChan Lim [Thu, 24 Nov 2016 05:37:54 +0000 (14:37 +0900)]
Revert "refactor the sprd log"
This reverts commit
af693bed8064dc40cf31986644579d5f5644d3e2.
Change-Id: Ia1076aaf64e6f9ddb22b9473f69acb90fa860b7c
SooChan Lim [Wed, 23 Nov 2016 00:56:33 +0000 (09:56 +0900)]
package version up to 1.0.4
Change-Id: I7eafdb04f3dbbbc4443b87d5785155ccbdfdb58e
SooChan Lim [Tue, 22 Nov 2016 06:15:50 +0000 (15:15 +0900)]
refactor the sprd log
make TBM_SPRD_ERROR and TBM_SPRD_DEBUG
Change-Id: I76a078d11d3a8e88d6e6bbecc9519bd4a1f45eab
SooChan Lim [Mon, 21 Nov 2016 04:49:26 +0000 (13:49 +0900)]
change the slp_global_lock to the tgl
We do not use slp_global_lock device anymore on
tm1 target. We use tgl device instead and
the use space interface is changed because of this change.
This is only for the tm1 target.
p.s. When the kernel version is up and kernel can use
the dma_fence, libtbm-sprd does not use the tgl for
the bo lock and for the bo cache_flush anymore.
Change-Id: I4631a5f600bfaea47d8618036f40b17885c45493
YoungJun Cho [Mon, 14 Nov 2016 07:24:06 +0000 (16:24 +0900)]
tbm_bufmgr_sprd: clean up tbm_sprd_bo_unmap()
This patch cleans up tbm_sprd_bo_unmap().
- The bufmgr_sprd->use_dma_fence is checked unnecessarily.
Change-Id: I7e133e680b320dc0022ce10cac6e99798832d014
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Mon, 14 Nov 2016 07:20:50 +0000 (16:20 +0900)]
tbm_bufmgr_sprd: change functions as static one
This patch changes functions as static one.
- tbm_sprd_bo_export_fd()
- tbm_sprd_surface_supported_format()
- tbm_sprd_surface_get_plane_data()
- tbm_sprd_bo_get_flags()
- tbm_sprd_bufmgr_bind_native_display()
Change-Id: I4b67b9200434cb1950b16bb4b734ecec902696b9
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Mon, 14 Nov 2016 07:17:44 +0000 (16:17 +0900)]
tbm_bufmgr_sprd: clean up tbm_sprd_bo_import(_fd)()
This patch cleans up tbm_sprd_bo_import(_fd)().
- Changes return value.
- Closes gem handle for error routines.
Change-Id: Ibf6a27cc05a155deec483d87179dcb428fb611f4
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Mon, 14 Nov 2016 07:11:58 +0000 (16:11 +0900)]
tbm_bufmgr_sprd: clean up tbm_sprd_bo_alloc()
This patch cleans up tbm_sprd_bo_alloc().
- The privGem could be NULL if calloc() is failed.
Change-Id: I6052b6d5767191a6dc660a8aa7e5bd24b85a6d6d
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Mon, 14 Nov 2016 07:06:54 +0000 (16:06 +0900)]
tbm_bufmgr_sprd: clean up tbm_sprd_bo_size()
This patch cleans up tbm_sprd_bo_size().
- The tbm_exynos_bo_size() checkes whether bo_exynos is NULL or not.
So it's safer to check also.
Change-Id: Ie328c166a784a9e483f416707c512f79cc18cbf6
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Mon, 14 Nov 2016 07:04:31 +0000 (16:04 +0900)]
tbm_bufmgr_sprd: clean up _sprd_bo_cache_flush()
This patch cleans up _sprd_bo_cache_flush().
- There is a routine for bo_sprd is NULL case,
so the NULL check routine is wrong.
Change-Id: I7f62cc19300c6bec770d013e614f79d22224a8e0
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Mon, 14 Nov 2016 06:53:19 +0000 (15:53 +0900)]
tbm_bufmgr_sprd: clean up _tbm_sprd_open_drm()
This patch cleans up _tbm_sprd_open_drm().
Change-Id: Ic55b1b347f1c09e698da21fb10e10e2977fbac5f
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
YoungJun Cho [Mon, 14 Nov 2016 06:49:23 +0000 (15:49 +0900)]
tbm_bufmgr_sprd: clean up target_name()
This patch cleans up target_name().
- Renames it as _target_name().
Change-Id: I93ac6144a99ae6937377b8fadf0d21e48675adab
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
SooChan Lim [Thu, 10 Nov 2016 10:45:22 +0000 (19:45 +0900)]
package version up to 1.0.3
Change-Id: I22c9363ea85c046e67217b8ea783c22ddf17d9cc
SooChan Lim [Wed, 9 Nov 2016 04:57:06 +0000 (13:57 +0900)]
change the supported format
four format supported.
ARGB8888, XRGB8888, NV12 and YUV420
Change-Id: I7eca1bb90ec813a92c49cc3d74836952c84d120d
SooChan Lim [Tue, 8 Nov 2016 01:47:38 +0000 (10:47 +0900)]
package version up to 1.0.2
Change-Id: Ib232582e96f5122e1d5d4fccfe08fc1fa785390b
YoungJun Cho [Tue, 1 Nov 2016 02:41:16 +0000 (11:41 +0900)]
tbm_bufmgr_sprd: clean up init_tbm_bufmgr_priv()
This patch cleans up code and
adds missed drmHashDestroy() calls.
Change-Id: Ib87679562358dedaceda09088b78f1f57926627f
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Changyeon Lee [Mon, 22 Aug 2016 06:21:54 +0000 (15:21 +0900)]
Apply tizen coding rule
Change-Id: I59637ebe0abb94986c1096680b5af24191fdc842
Changyeon Lee [Fri, 29 Jul 2016 04:33:17 +0000 (13:33 +0900)]
tbm_surface: align height of NV12 format when calculate size
sprd hw codec need to size with align height
Change-Id: I83092fc97409f882c3ddb498c0be22bca692e617
SooChan Lim [Wed, 29 Jun 2016 02:49:21 +0000 (11:49 +0900)]
remove pthread-stub dependency
Change-Id: I54a5b9f228e68d347615de4dae60382e8b1bd16d
Changyeon Lee [Wed, 18 May 2016 06:45:52 +0000 (15:45 +0900)]
Add udev rules file for slp_global_lock node
Change-Id: I436a69d98ef76ea07273668bdc48d33d5bf25d08
Junkyeong Kim [Mon, 18 Apr 2016 07:07:23 +0000 (16:07 +0900)]
fix handle leak error
Change-Id: I788f0ee9a34d45e186f066ecb16e5c0222a32a05
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Mon, 11 Apr 2016 05:32:05 +0000 (14:32 +0900)]
only display server unset tbm master fd if tbm_bufmgr_init fail
Change-Id: I1662647f30e0e341f871ab0f9eb8ae28e05048ab
Changyeon Lee [Wed, 30 Mar 2016 11:47:38 +0000 (20:47 +0900)]
use tgl lock if don't support dma fence
Change-Id: Ia8cd5f7d666418cf3902fad9b8df7b7637051ddf
Changyeon Lee [Wed, 30 Mar 2016 10:33:39 +0000 (19:33 +0900)]
only use tgl if cache control enable and fix memory leak
Change-Id: I6c460bdf9c640aff1214a47fc910e2c66de69faf
Changyeon Lee [Fri, 25 Mar 2016 05:24:30 +0000 (14:24 +0900)]
Set and unset tbm master fd
Change-Id: I5f0eb70d6dcef075ea4fec644fee9b0c3405b9cd
Changyeon Lee [Thu, 24 Mar 2016 12:02:12 +0000 (21:02 +0900)]
Change parameter of backend fuction
Change-Id: Ie32b515a0313e9005a8e100f4d72210cc05dd03e
Changyeon Lee [Thu, 24 Mar 2016 12:00:36 +0000 (21:00 +0900)]
Fix flink name type
Change-Id: I2a2b627d27263c57714b09f9a8f2a558e224369e
Changyeon Lee [Mon, 7 Mar 2016 12:14:05 +0000 (21:14 +0900)]
Share master fd widh tdm backend
Change-Id: Iecb82426fd0beeb9f7cda78035293ed1c9cc68c4
Changyeon Lee [Mon, 7 Mar 2016 12:13:12 +0000 (21:13 +0900)]
Remove backend flag LOCK CTRL
Change-Id: Ia8bb8743d6e49119e506c19962f4bf5a08532d12
Junkyeong Kim [Thu, 31 Mar 2016 10:45:19 +0000 (19:45 +0900)]
add type casting for size vaule and fix handle leak
Change-Id: I69de677bf924cee119d97bcd2946a7f5606bae77
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Tue, 22 Mar 2016 05:00:04 +0000 (14:00 +0900)]
chanage the COPYING file
Change-Id: I8eac8a76d8959929bbd47741a7b72d6cff5120fe
SooChan Lim [Fri, 11 Mar 2016 05:03:35 +0000 (14:03 +0900)]
use the tizen directory macros at spec file
Change-Id: I5f92b0ab642bea8fe6a86b47eb46a21b6b24858a
Changyeon Lee [Thu, 3 Mar 2016 07:35:49 +0000 (16:35 +0900)]
Package version up
Change-Id: Iec9968da483ea3818343b87b77cea73f0f53dce6
Changyeon Lee [Thu, 3 Mar 2016 06:52:09 +0000 (15:52 +0900)]
Merge branch 'sandbox/cyeon/devel' into tizen
Change-Id: I003b4937403a1fb5b023c851e0ade0aeef46a340
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Thu, 3 Mar 2016 06:48:52 +0000 (15:48 +0900)]
Don't use sharing master fd code with libtdm-sprd backend
Change-Id: I850fc4d50bb0e3a16a72fe0ce2a1ed602585f2fa
Changyeon Lee [Thu, 3 Mar 2016 06:36:30 +0000 (15:36 +0900)]
Fix fd leak
Change-Id: Ia8d6a821b58bf2532dda86a0e9ac7d1f27299f9c
Changyeon Lee [Wed, 2 Mar 2016 06:07:50 +0000 (15:07 +0900)]
Use device name by drmGetDeviceNameFromFd and search drm device by udev if drmopen is failed
Change-Id: Ib96929a7aa01fcd6f7e82b62ff8e85cd24507d1d
Changyeon Lee [Mon, 29 Feb 2016 12:45:17 +0000 (21:45 +0900)]
Apply tizen coding rule
Change-Id: I319067a0bdfa293ced385a6a4466a4c29c816ee1
Changyeon Lee [Fri, 26 Feb 2016 04:37:17 +0000 (13:37 +0900)]
User 2.0 backend
Change-Id: Ic580bb54df87637a2dc3bfd06bab66059a7cd4a5
Roman Marchenko [Tue, 16 Feb 2016 09:51:56 +0000 (01:51 -0800)]
Revert "fix a leak of file descriptors"
This reverts commit
791c0e2daf69cf0dfd132b021f08252f0ad9324c.
The user of libtbm have to control state of "fd" by himself. So libtbm shouldn't save fd which received by tbm_bo_import_fd()
Change-Id: Ic62d6a6363762691bfd06bab913949e907ee660a
Roman Marchenko [Fri, 12 Feb 2016 15:22:15 +0000 (17:22 +0200)]
fix a leak of file descriptors
Change-Id: I4b1c4fe3119d720c13e158e5aa9cc3d79d760124
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Changyeon Lee [Sun, 10 Jan 2016 08:52:13 +0000 (17:52 +0900)]
If drm fd is negative value, get fd with wayland protocol
Change-Id: I71dfe3aab0f4e2b502f1a96613aa48a0baefecea
SooChan Lim [Mon, 7 Dec 2015 11:10:28 +0000 (20:10 +0900)]
implement the missing backend functions
tbm_sprd_bo_import_fd
tbm_sprd_bo_export_fd
tbm_sprd_fd_to_handle
tbm_sprd_bo_get_flags
Change-Id: I0a2afd0f281f46901a633f232f7d8b2cb63bf79b
Changyeon Lee [Tue, 24 Nov 2015 06:06:30 +0000 (15:06 +0900)]
if target_name isn't TM1, ExclusiveArch
Change-Id: Ia3baa532230cf668c2c154d13e7b8a36e436fe7b
Changyeon Lee [Tue, 24 Nov 2015 04:45:37 +0000 (13:45 +0900)]
ExcludeArch x86_64
Change-Id: I3c77f0dfd8cc604a89755cb95900d4a3549ac2fa
Changyeon Lee [Tue, 24 Nov 2015 04:31:07 +0000 (13:31 +0900)]
Build only tm1
Change-Id: I6e6858f63e1cb8377c2d6fb38d632726f0e122a0
Changyeon Lee [Tue, 24 Nov 2015 02:46:24 +0000 (11:46 +0900)]
if profile isn't mobile, ExcludeArch armv7l aarch64
Change-Id: I06a9c7fcdb1e28019cdbbd473ba4f546a0d6d6b8
SooChan Lim [Mon, 23 Nov 2015 07:34:40 +0000 (16:34 +0900)]
remove install dependency
libdrm2 and libtbm
Change-Id: I5756e8d60a685ee98ad53091b9841b56f976b83a
Changyeon Lee [Mon, 23 Nov 2015 07:52:03 +0000 (16:52 +0900)]
Align RGB format with 128 byte
Change-Id: I478a8d99e97517af148cb88a53aa9e4580b08bab
SooChan Lim [Mon, 23 Nov 2015 04:19:04 +0000 (13:19 +0900)]
add initial codes
Change-Id: I31582209771bae7887837dd4c7a5614f62e37296
KyungMi Lee [Thu, 19 Nov 2015 01:22:27 +0000 (17:22 -0800)]
Initial empty repository