From dfd729a52175d36f34f474c3f86270503196a35d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 12 Sep 2012 20:40:11 -0300 Subject: amd-gpu-x11-bin-mx51: Add provides to 'virtual/libgl' The package provides the headers and libraries specific for mx5 SoCs to use OpenGL ES2 and OpenVG however packages were not depending on it. This includes the need provides field on the recipe to address the issue. Signed-off-by: Otavio Salvador --- recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb index 49fdaab..79118c6 100644 --- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb +++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb @@ -4,11 +4,12 @@ DESCRIPTION = "GPU driver and apps for x11 on mx51" LICENSE = "MIT" SECTION = "libs" -PR = "r8" +PR = "r9" #todo: Replace for correct AMD license LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802" DEPENDS = "virtual/libx11 libz160" +PROVIDES = "virtual/libgl" RDEPENDS = "libz160" SRC_URI = "file://${PN}-${PV}.tar.gz \ -- cgit v1.2.3-54-g00ecf From 1da601ff748bdd4546d6a25b5da3f41c27d8c949 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 12 Sep 2012 20:44:36 -0300 Subject: imx-base.inc: Set preferred implementation of virtual/libgl for mx5 SoCs The mx5 SoCs need to use amd-gpu-x11-bin-mx51 to proper support acceleration however it wasn't being taken in place in machine configuration. This adds the need settings and fix the issue for all mx5 based machines. Signed-off-by: Otavio Salvador --- conf/machine/include/imx-base.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index cecbe86..20467c7 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc @@ -25,6 +25,8 @@ MACHINE_EXTRA_RRECOMMENDS += "imx-audio \ # Gstreamer plugin MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin" +PREFERRED_PROVIDER_virtual/libgl_mx5 ?= "amd-gpu-x11-bin-mx51" + EXTRA_IMAGEDEPENDS = "u-boot" SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" -- cgit v1.2.3-54-g00ecf From a2dcf1b9222c15b7827425c68f1e4d809de530e9 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 13 Sep 2012 11:24:11 -0300 Subject: cogl: Use OpenGL ES2 for mx5 SoCs The amd-gpu-x11-bin-mx51 do not provide a full OpenGL stack but a OpenGL ES2. This fixes a build failure for mx5 SoCs. Signed-off-by: Otavio Salvador --- recipes-graphics/clutter/cogl_1.8.2.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-graphics/clutter/cogl_1.8.2.bbappend diff --git a/recipes-graphics/clutter/cogl_1.8.2.bbappend b/recipes-graphics/clutter/cogl_1.8.2.bbappend new file mode 100644 index 0000000..d2e6ca6 --- /dev/null +++ b/recipes-graphics/clutter/cogl_1.8.2.bbappend @@ -0,0 +1,4 @@ +PRINC := "${@int(PRINC) + 1}" + +EXTRA_OECONF_mx5 = "${BASE_CONF} --with-flavour=glx --enable-gles2 --disable-gl" +PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" -- cgit v1.2.3-54-g00ecf From f2ce5b1a8963f5db971341d933657e7beeb19ef5 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 17 Sep 2012 16:08:41 -0300 Subject: imx6qsabrelite: Use xserver-xorg instead of xserver-xorg-lite Next Yocto release will drop xserver-xorg-lite as building xserver-xorg and not installing the DRI and GLX modules (and so not Mesa) results in an increase of 16kb only. Signed-off-by: Otavio Salvador --- conf/machine/imx6qsabrelite.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conf/machine/imx6qsabrelite.conf b/conf/machine/imx6qsabrelite.conf index 06ec230..b1daeab 100644 --- a/conf/machine/imx6qsabrelite.conf +++ b/conf/machine/imx6qsabrelite.conf @@ -8,15 +8,13 @@ include conf/machine/include/tune-cortexa9.inc SOC_FAMILY = "mx6" -# no GST until codecs are public -MACHINE_GSTREAMER_PLUGIN = "" - UBOOT_ENTRYPOINT = "0x10800000" UBOOT_LOADADDRESS = "0x10800000" UBOOT_MACHINE = "mx6qsabrelite_config" # Needs to override until all BSP is public -XSERVER = "xserver-xorg-lite \ +MACHINE_GSTREAMER_PLUGIN = "" +XSERVER = "xserver-xorg \ xf86-input-evdev \ xf86-video-fbdev" MACHINE_EXTRA_RRECOMMENDS = "kernel-modules \ -- cgit v1.2.3-54-g00ecf