summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-02-03exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctlssubmit/tizen_3.0.2014.q4_common/20150224.000000submit/tizen/20150206.025423submit/tizen/20150206.024952submit/tizen/20150204.080651submit/tizen/20150203.075405accepted/tizen/wearable/20150210.014731accepted/tizen/tv/20150211.042342accepted/tizen/mobile/20150210.015244accepted/tizen/common/20150209.120958accepted/tizen/common/20150209.120851accepted/tizen/3.0.2014.q4/common/20150224.150708tizen_3.0.2015.q1_commontizen_3.0.2014.q4_commonaccepted/tizen_3.0.2014.q4_commonHyungwon Hwang1-40/+0
This patch removes the ioctls which are removed from the linux kernel. Change-Id: I22cc748362aa87e6b62049ff884b1c697d4dec64 Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Rob Clark <robclark@freedesktop.org>
2015-02-03exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctlsHyungwon Hwang2-10/+16
The ioctl DRM_EXYNOS_GEM_MAP_OFFSET and DRM_EXYNOS_GEM_MMAP are removed from the linux kernel. This patch modifies libdrm and libkms to use drm generic ioctls instead of the removed ioctls. v2: The original patch was erroneous. In case the MODE_MAP_DUMB ioctl failed it would return the retvalue as a void-pointer. Users of libdrm would then happily use that ptr, eventually leading to a segfault. Change this to return NULL in that case and also restore the previous behaviour of logging to stderr. The other error was that 'bo->vaddr' was never filled with the mapped buffer address. Hence exynos_bo_map still returned NULL even if the buffer mapping succeeded. Change-Id: I4ecf8006f0cb2316dab8f368fc6870f7eb1440b5 Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Rob Clark <robclark@freedesktop.org>
2015-02-03ipptest: replace DRM_EXYNOS_GEM_MAP_OFFSET/MMAP with generic mmapSeung-Woo Kim10-36/+97
The DRM_EXYNOS_GEM_MAP_OFFSET and DRM_EXYNOS_GEM_MMAP ioctls are removed from the linux kernel because there is already generic way to mmap gem. This patch replaces the ioctls from ipptest for fimc and rotator to drm generic ioctl and mmap. Change-Id: I49d6bfac511946a6ad7bb898e77d03a812774629 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2015-01-26Add values for dsi connector and encoderSeung-Woo Kim1-0/+3
This patch exports dsi definition in kernel header. This patch should be skipped during libdrm_2.4.59 rebase. Change-Id: I9c3d1e1a7802334a5bc209ec07c321913a87d227 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2015-01-06Merge "clean spec file" into tizenPhilippe Coval1-17/+19
2014-12-19packaging: depend on the same releasePhilippe Coval1-3/+3
Change-Id: I02c7ff42eb688c6a6b03532966f2a16daad8910f Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
2014-12-19packaging: cleanupPhilippe Coval1-1/+1
Change-Id: I2abfe475335ceeebfc8c3fb55f6c25e1aa349659 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
2014-12-03clean spec fileRonan Le Martret1-17/+19
- allow build for yocto - improve rpmlint score Change-Id: I1d563567b30914925e67fd3aebf3a6cc5e65026a Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-11-12add COPYING fileBoram Park1-0/+19
Change-Id: I5ce242bea2bdd74f8c58d30da82e987eeb9a5c55
2014-10-20Update to 2.4.58tizen_3.0_ivi_releasesubmit/tizen_mobile/20141120.000000submit/tizen/20141020.075607submit/tizen/20141020.053709accepted/tizen/ivi/20141023.073721accepted/tizen/common/20141020.0812152.4.58tizen_3.0_iviQuanxian Wang3-3/+4
Change-Id: I953e2dfa5f07fa512b73541171fc133d938b70be Signed-off-by: Quanxian Wang <quanxian.wang@intel.com>
2014-10-15packaging: add tools-exynos for testing exynos_drmChanho Park3-6/+27
This patch adds tools-exynos package to test fimg2d/ipp/rottest. Change-Id: I8dbd821f056ac3f7e2a043a97d0c39bec7f75b40 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-10-15VIGS: Implement plane flip/rotateStanislav Vorobiov4-2/+50
Planes can now be horizontally/vertically flipped and rotated by 90, 180 or 270 degrees Change-Id: I3db7dc3854add2b777e41aed54039a0d2323e0b1 Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com> Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2014-10-15libdrm/exynos: add support for IPP blending, dithering, and colorfillHyungwon Hwang1-3/+63
This patch adds the fields for IPP bleding, dithering, and colorfill. Change-Id: Ib9cd7c7b22ee9f1017d1db3ae34d39dea342ffec Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
2014-10-15VIGS: Support DP memoryStanislav Vorobiov4-2/+196
DP memory is used by some of the tizen gstreamer plugins, TBM and X.Org video driver. Its main purpose is to share GEM buffers between media decoding and presentation layers Change-Id: Ie377119b46d6033355bf6ce00adc01e36096742a Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
2014-10-15drm: ipptest: support ipp dynamic color rangeDonghwa Lee2-0/+12
This patch supports dynamic range for color space conversion. COLOR_RANGE_LIMITED: selects narrow -> Y(16 to 235), Cb/Cr(16 to 240) COLOR_RANGE_FULL: selects wide -> Y/Cb/Cr(0 to 255), Wide default Change-Id: I94190ac3f3630904d2461e226d34378ac2b82b9d Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
2014-10-15packaging: add libdrm-toolsChanho Park1-1/+25
This patch adds libdrm-tools package which includes test utilities such as modetest/modeprint. Change-Id: Icc10b1c56625af7954823664156cfec8b7b57c3e Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-10-15ipptest: add fimc and rotator test applicationsInki Dae21-1/+2927
This patch adds two applications to test fimc and rotator device drivers. These devices are controlled by IPP(Integrated Post Processor) framework of Exynos drm, and this patch updates IPP relevant header and includes relevant test applications. Change-Id: I3a0384375a082855162f5821c000389e234d5c15 Signed-off-by: Inki Dae <inki.dae@samsung.com>
2014-10-15fixed arch check for libdrm-intel requires.Andriy Prystupa1-1/+1
Currently we have invalid requires for libdrm-intel for non-arm and non-intel arches. Change-Id: I19c90a272da284f63c6d862a2e67e94f110a2807 Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
2014-10-15libdrm_vigs: Support plane z-pos settingStanislav Vorobiov4-2/+40
Change-Id: I2e1418425f1b4a17f49f19fabb8c4a2bdc84e5ef Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
2014-10-15libdrm_vigs: Scanout flag added to surfacesStanislav Vorobiov4-2/+10
Change-Id: Ib6f96d2542c3df0b78f7ef1b610bcc3fa0b678d6 Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
2014-10-15libdrm_vigs: Fence support addedStanislav Vorobiov4-7/+233
VIGS kernel driver now supports fences, so update libdrm to expose them to user space Change-Id: I9c07084a357c0a8dc87c049e01238f9049ca0828 Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
2014-10-15packaging: build using upstream tagsPhilippe Coval1-0/+3
Change-Id: I1587634bfdd59172b7032cd968d0005261f1ad77 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
2014-10-15update to 2.4.52Quanxian Wang1-1/+1
2014-10-15Remove dependency on xorg-macrosAlex Wu1-1/+0
libdrm didn't use any macros from xorg-macros, so remove it. Change-Id: I37cda1f7bc48a2d0f98c9a319c78f8dca6b0f90c Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
2014-10-15libdrm_vigs addedjinhyung.jo9-1/+1029
Change-Id: Ie67c19bdb4a6f9e2190dbb4d3f825e878fca3635 Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com> Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2014-10-15add values for virtual connector and encoderSooChan Lim1-0/+2
Change-Id: I09bbf2691cff9d43d5073918f4ce96b92f5f59e3
2014-10-15Update to 2.4.45Wang Quanxian1-1/+1
2014-10-15resetting manifest requested domain to floorAlexandru Cornea1-4/+4
2014-10-15Fixed groups, dependencies and rpmlint warningsAnas Nashif2-16/+21
2014-10-15Do not build slp moduleAnas Nashif1-0/+3
2014-10-15slp support moved to libtbmAnas Nashif1-26/+0
2014-10-15Fixed package groupsAnas Nashif2-3/+6
2014-10-15readd baselibs.confAnas Nashif1-0/+3
2014-10-15added baselibs for multi lib support( deleted by mistake)Anas Nashif1-0/+2
2014-10-15Update to 2.4.42Anas Nashif2-5/+12
2014-10-15do not install libdrm_intel on ARMAnas Nashif1-0/+2
2014-10-15do not install libdrm_intel on ARMAnas Nashif1-1/+3
2014-10-15do not install libdrm_intel on ARMAnas Nashif1-0/+2
2014-10-15add packagingAnas Nashif2-0/+127
2014-09-28configure.ac: bump version to 2.4.58 for releaseupstream/2.4.58libdrm-2.4.58Rob Clark1-1/+1
Signed-off-by: Rob Clark <robclark@freedesktop.org>
2014-09-28more compile fixRob Clark1-0/+4
Signed-off-by: Rob Clark <robdclark@gmail.com>
2014-09-28fix compile error on 32bit systemsRob Clark13-0/+52
4c2766b (drm_mmap/drm_unmap) brought this error for every .c file that was not #including config.h: In file included from private.h:4:0, from abi16.c:29: ../libdrm.h: In function 'drm_munmap': ../libdrm.h:81:4: error: size of unnamed array is negative Signed-off-by: Rob Clark <robdclark@gmail.com>
2014-09-28configure.ac: bump version to 2.4.57 for releaselibdrm-2.4.572.4.57Rob Clark1-1/+1
Signed-off-by: Rob Clark <robclark@freedesktop.org>
2014-09-28intel: use drm_mmap/drm_munmap wrappersEmil Velikov2-10/+9
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-09-28freedreno: use drm_mmap/drm_munmap wrappersEmil Velikov4-6/+5
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-09-28radeon: use drm_mmap/drm_munmap wrappersEmil Velikov3-6/+3
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-09-28nouveau: use drm_mmap/drm_munmap wrappersEmil Velikov1-3/+3
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-09-28libkms: use drm_mmap/drm_munmap wrappersEmil Velikov5-18/+16
... for all by exynos. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-09-28drm: use drm_mmap/drm_munmap wrappersEmil Velikov1-4/+4
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-09-28Add private mmap/munmap wrappersEmil Velikov1-0/+55
Unlike Linux, Android (bionic) has separate functions - mmap & mmap64. Add a local wrapper (inspired by gallium) that will be used throughout libdrm to combat this bionic feature. v2: - Drop the undefined unlikely macro. - Use macro for munmap under Android. - Wrap long lines. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> (v1)