diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-01-12 18:16:34 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-04-02 10:34:49 -0300 |
commit | 958da77a4656cd9c66cc5605502db2f7e1b24063 (patch) | |
tree | c673d7519aee2431c653c03070b4186bebd1543f | |
parent | 86262d891516ad5249e61259bb8936501a0d16ef (diff) | |
download | meta-fsl-arm-958da77a4656cd9c66cc5605502db2f7e1b24063.tar.gz |
xf86-dri-vivante: Upgrade to 1.1.0
Change-Id: I8935341e3513bcf845478a5a54a723b96c8cdcbf
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
4 files changed, 75 insertions, 74 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante/fix-libdrm-link.patch b/recipes-graphics/xorg-driver/xf86-dri-vivante/fix-libdrm-link.patch new file mode 100644 index 0000000..fe3e610 --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-dri-vivante/fix-libdrm-link.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | This adds a missing link dependency on libdrm | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
5 | |||
6 | Index: DRI_1.10.4/configure.ac | ||
7 | =================================================================== | ||
8 | --- DRI_1.10.4.orig/configure.ac | ||
9 | +++ DRI_1.10.4/configure.ac | ||
10 | @@ -55,6 +55,7 @@ XORG_DRIVER_CHECK_EXT(XV, videoproto) | ||
11 | |||
12 | # Checks for pkg-config packages | ||
13 | PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES]) | ||
14 | +PKG_CHECK_MODULES(LIBDRM, [libdrm >= 2.3.0]) | ||
15 | sdkdir=$(pkg-config --variable=sdkdir xorg-server) | ||
16 | |||
17 | # Checks for libraries. | ||
18 | Index: DRI_1.10.4/src/Makefile.am | ||
19 | =================================================================== | ||
20 | --- DRI_1.10.4.orig/src/Makefile.am | ||
21 | +++ DRI_1.10.4/src/Makefile.am | ||
22 | @@ -11,9 +11,9 @@ | ||
23 | ############################################################################## | ||
24 | |||
25 | |||
26 | -AM_CFLAGS = @XORG_CFLAGS@ | ||
27 | +AM_CFLAGS = @XORG_CFLAGS@ @LIBDRM_CFLAGS@ | ||
28 | libdri_la_LTLIBRARIES = libdri.la | ||
29 | -libdri_la_LDFLAGS = -module -avoid-version | ||
30 | +libdri_la_LDFLAGS = -module -avoid-version @LIBDRM_LIBS@ | ||
31 | libdri_ladir = @moduledir@/extensions | ||
32 | libdri_la_SOURCES = \ | ||
33 | dri.c \ | ||
diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante/remove-mibstore.patch b/recipes-graphics/xorg-driver/xf86-dri-vivante/remove-mibstore.patch deleted file mode 100644 index 1bdfaf9..0000000 --- a/recipes-graphics/xorg-driver/xf86-dri-vivante/remove-mibstore.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | mibstore functions are no longer supported in the X server. | ||
2 | This patch removes them from this driver, following the pattern in | ||
3 | http://patches.openembedded.org/patch/46133/ | ||
4 | |||
5 | This checkin shows when/where the changes to the X server were made | ||
6 | that deleted the header mibstore.h and mentions the reasons. | ||
7 | http://lists.x.org/archives/xorg-devel/2012-September/033575.html | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Gary Thomas <gary@mlbassoc.com> | ||
11 | -- | ||
12 | |||
13 | Index: xserver-xorg-video-imx-viv-12.09.01/src/vivante_util/vivante_common.h | ||
14 | =================================================================== | ||
15 | --- xserver-xorg-video-imx-viv-12.09.01.orig/src/vivante_util/vivante_common.h | ||
16 | +++ xserver-xorg-video-imx-viv-12.09.01/src/vivante_util/vivante_common.h | ||
17 | @@ -48,7 +48,6 @@ extern "C" { | ||
18 | |||
19 | |||
20 | #include "mipointer.h" | ||
21 | -#include "mibstore.h" | ||
22 | #include "micmap.h" | ||
23 | #include "mipointrst.h" | ||
24 | #include "inputstr.h" | ||
25 | Index: xserver-xorg-video-imx-viv-12.09.01/src/vivante_fbdev/vivante_fbdev_driver.c | ||
26 | =================================================================== | ||
27 | --- xserver-xorg-video-imx-viv-12.09.01.orig/src/vivante_fbdev/vivante_fbdev_driver.c | ||
28 | +++ xserver-xorg-video-imx-viv-12.09.01/src/vivante_fbdev/vivante_fbdev_driver.c | ||
29 | @@ -746,7 +746,6 @@ VivScreenInit(SCREEN_INIT_ARGS_DECL) { | ||
30 | |||
31 | |||
32 | xf86SetBlackWhitePixels(pScreen); | ||
33 | - miInitializeBackingStore(pScreen); | ||
34 | xf86SetBackingStore(pScreen); | ||
35 | |||
36 | pScrn->vtSema = TRUE; | ||
diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb new file mode 100644 index 0000000..aa2361a --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | # Copyright (C) 2012-2013 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2013 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | SECTION = "x11/base" | ||
7 | DEPENDS = "virtual/xserver xf86-video-imxfb-vivante" | ||
8 | LIC_FILES_CHKSUM = "file://src/dri.h;enline=27;md5=1d0d59e1dc96f5197ea3a8b101bf1fcc" | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \ | ||
11 | file://fix-libdrm-link.patch" | ||
12 | SRC_URI[md5sum] = "d872365c046738628a7016343ffdb79a" | ||
13 | SRC_URI[sha256sum] = "d53216d5f9e3f7803983ac1577d83985dfda33145e4711300f4ad5cbbe28e32d" | ||
14 | |||
15 | PE = "1" | ||
16 | PR = "r0" | ||
17 | |||
18 | S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}/DRI_1.10.4" | ||
19 | |||
20 | inherit fsl-eula-unpack autotools pkgconfig | ||
21 | |||
22 | EXTRA_OECONF_armv7a = " --enable-neon " | ||
23 | CFLAGS += " -I${STAGING_INCDIR}/xorg -DXSERVER_LIBPCIACCESS" | ||
24 | |||
25 | do_install_append () { | ||
26 | # Install header files | ||
27 | install -d ${D}${includedir}/xorg | ||
28 | cp -axr ${S}/src/*.h ${D}${includedir}/xorg | ||
29 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
30 | |||
31 | # don't install libtool (*.la) archive not usefull, fix Makefile.am | ||
32 | find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- | ||
33 | } | ||
34 | |||
35 | FILES_${PN}-dev += "${includedir}/xorg/*.h" | ||
36 | FILES_${PN} += " ${libdir}/xorg/modules/extensions/*.so" | ||
37 | FILES_${PN}-dbg += " ${libdir}/xorg/modules/extensions/.debug" | ||
38 | |||
39 | RDEPENDS_${PN} += "xserver-xorg-extension-glx" | ||
40 | |||
41 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
42 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb deleted file mode 100644 index 9f63fb8..0000000 --- a/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | # Copyright (C) 2012 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | SECTION = "x11/base" | ||
6 | DEPENDS = "virtual/libx11 util-macros xf86-video-imxfb-vivante" | ||
7 | LIC_FILES_CHKSUM = "file://src/dri.h;enline=27;md5=79a9064e49ae41adca4827cd2281a014" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/dri-xorg-graphic-imx-viv-${PV}.bin;fsl-eula=true \ | ||
10 | file://remove-mibstore.patch \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "8c90045cd5f4dba81095856634ba5136" | ||
13 | SRC_URI[sha256sum] = "c844dc180e43901359bbdb4f797ab178b3821fbf63bdee9577e5a0afe5d7f6ad" | ||
14 | |||
15 | S = "${WORKDIR}/dri-xorg-graphic-imx-viv-${PV}" | ||
16 | |||
17 | PR = "r2" | ||
18 | |||
19 | inherit fsl-eula-unpack autotools pkgconfig | ||
20 | |||
21 | EXTRA_OECONF_armv7a = " --enable-neon " | ||
22 | CFLAGS += " -I${STAGING_INCDIR}/xorg" | ||
23 | |||
24 | do_install_append () { | ||
25 | # Install header files | ||
26 | install -d ${D}${includedir}/xorg | ||
27 | cp -axr ${S}/src/*.h ${D}${includedir}/xorg | ||
28 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
29 | # don't install libtool (*.la) archive not usefull, fix Makefile.am | ||
30 | find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- | ||
31 | } | ||
32 | |||
33 | FILES_${PN}-dev += "${includedir}/xorg/*.h" | ||
34 | FILES_${PN} += " ${libdir}/xorg/modules/extensions/*.so" | ||
35 | FILES_${PN}-dbg += " ${libdir}/xorg/modules/extensions/.debug" | ||
36 | |||
37 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
38 | COMPATIBLE_MACHINE = "(mx6)" | ||