summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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