diff options
Diffstat (limited to 'recipes-graphics')
3 files changed, 3 insertions, 112 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-video-imx-vivante/rc.autohdmi b/recipes-graphics/xorg-driver/xf86-video-imx-vivante/rc.autohdmi deleted file mode 100644 index 8c16a1d7..00000000 --- a/recipes-graphics/xorg-driver/xf86-video-imx-vivante/rc.autohdmi +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | #! /bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: rc.autohdmi | ||
4 | # Required-Start: $all | ||
5 | # Required-Stop: | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: | ||
8 | ### END INIT INFO | ||
9 | |||
10 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
11 | |||
12 | # Source function library. | ||
13 | . /etc/init.d/functions | ||
14 | |||
15 | case "$1" in | ||
16 | start) | ||
17 | echo -n "Starting autohdmi: " | ||
18 | export DISPLAY=:0 | ||
19 | autohdmi & | ||
20 | echo | ||
21 | exit 0 | ||
22 | ;; | ||
23 | reload|force-reload) | ||
24 | echo "Error: argument '$1' not supported" >&2 | ||
25 | exit 3 | ||
26 | ;; | ||
27 | stop) | ||
28 | echo -n "Shutting down autohdmi: " | ||
29 | killproc autohdmi | ||
30 | echo | ||
31 | ;; | ||
32 | restart) | ||
33 | echo -n "Restarting autohdmi: " | ||
34 | $0 stop | ||
35 | $0 start | ||
36 | echo | ||
37 | ;; | ||
38 | *) | ||
39 | echo "Usage: $0 start|stop" >&2 | ||
40 | exit 3 | ||
41 | ;; | ||
42 | esac | ||
diff --git a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb deleted file mode 100644 index 1a272304..00000000 --- a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | # Copyright (C) 2012-2016 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2018 O.S. Systems Software LTDA. | ||
3 | # Copyright 2017-2018 NXP | ||
4 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
5 | |||
6 | require recipes-graphics/xorg-driver/xorg-driver-video.inc | ||
7 | |||
8 | PE = "3" | ||
9 | |||
10 | inherit autotools-brokensep update-rc.d pkgconfig | ||
11 | |||
12 | DEPENDS += "virtual/xserver virtual/libx11 libgal-imx imx-gpu-viv virtual/libg2d pixman" | ||
13 | |||
14 | LIC_FILES_CHKSUM = "file://COPYING-MIT;md5=b5e9d9f5c02ea831ab3ecf802bb7c4f3" | ||
15 | |||
16 | SRCREV = "c828e8a7c38743e960967e7bb78c134cec31c102" | ||
17 | SRCBRANCH = "imx_exa_viv6_g2d" | ||
18 | SRC_URI = "git://source.codeaurora.org/external/imx/xf86-video-imx-vivante.git;protocol=https;branch=${SRCBRANCH} \ | ||
19 | file://rc.autohdmi" | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | INITSCRIPT_PACKAGES = "xserver-xorg-extension-viv-autohdmi" | ||
24 | INITSCRIPT_NAME = "rc.autohdmi" | ||
25 | INITSCRIPT_PARAMS = "start 99 2 3 4 5 ." | ||
26 | |||
27 | EXTRA_OEMAKE += "prefix=${exec_prefix} \ | ||
28 | sysroot=${STAGING_DIR_TARGET} \ | ||
29 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | ||
30 | BUSID_HAS_NUMBER=1 \ | ||
31 | BUILD_IN_YOCTO=1 \ | ||
32 | XSERVER_GREATER_THAN_13=1" | ||
33 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
34 | |||
35 | PACKAGES =+ "xserver-xorg-extension-viv-autohdmi" | ||
36 | |||
37 | do_install:append () { | ||
38 | install -d ${D}${includedir} | ||
39 | cp -axr ${S}/EXA/src/vivante_gal/vivante_priv.h ${D}${includedir} | ||
40 | cp -axr ${S}/EXA/src/vivante_gal/vivante_gal.h ${D}${includedir} | ||
41 | |||
42 | install -d ${D}/${sysconfdir}/init.d | ||
43 | install -m 755 ${WORKDIR}/rc.autohdmi ${D}/${sysconfdir}/init.d/rc.autohdmi | ||
44 | |||
45 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
46 | } | ||
47 | |||
48 | RDEPENDS:${PN} += "libvivante-dri-imx \ | ||
49 | xserver-xorg-module-exa \ | ||
50 | mesa-driver-swrast \ | ||
51 | xserver-xorg-extension-dri \ | ||
52 | xserver-xorg-extension-dri2 \ | ||
53 | xserver-xorg-extension-glx" | ||
54 | |||
55 | REALSOLIBS := "${SOLIBS}" | ||
56 | SOLIBS = "${SOLIBSDEV}" | ||
57 | |||
58 | FILES:${PN} = "${libdir}/*/*/*/vivante_drv${SOLIBS}" | ||
59 | FILES:${PN}-dev = "${includedir} /usr/src ${libdir}/libfsl_x11_ext${SOLIBSDEV}" | ||
60 | FILES:${PN}-dbg = "${libdir}/*/*/*/.debug ${libdir}/.debug/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/.debug/autohdmi" | ||
61 | |||
62 | FILES:xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi" | ||
63 | |||
64 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
65 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7ulp-nxp-bsp)" | ||
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6-nxp-bsp/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6-nxp-bsp/xorg.conf index b89bed60..79b6c0fc 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6-nxp-bsp/xorg.conf +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6-nxp-bsp/xorg.conf | |||
@@ -1,9 +1,7 @@ | |||
1 | Section "Device" | 1 | Section "Device" |
2 | Identifier "i.MX Accelerated Framebuffer Device" | 2 | Identifier "Kernel Framebuffer Device" |
3 | Driver "vivante" | 3 | Driver "fbdev" |
4 | Option "fbdev" "/dev/fb0" | 4 | Option "fbdev" "/dev/fb0" |
5 | Option "vivante_fbdev" "/dev/fb0" | ||
6 | Option "HWcursor" "false" | ||
7 | EndSection | 5 | EndSection |
8 | 6 | ||
9 | Section "ServerFlags" | 7 | Section "ServerFlags" |