aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2015-10-29Remove DirectFB support for i.MX6Otavio Salvador
The DirectFB project is dead upstream for a while and the backend is deprecated so it is better to drop it and avoid new users to depend on it and instead to focus in the current technologies for new projects. This commit removes everything related to the DirectFB support so if someone wish to revert it locally it can be easily done. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-10-15mesa-gl: Blacklist the recipe for i.MX6 SoCs with GPUOtavio Salvador
The mesa-gl is not in sure for the i.MX6 SoC from Quad, DualLite, SoloX and SoloLite families. The full featured, but trimmed, mesa is used instead. This fixes following warning: ,---- | NOTE: multiple providers are available for runtime libgl-mesa-dev (mesa, mesa-gl) | NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev | NOTE: multiple providers are available for runtime mesa-driver-swrast (mesa, mesa-gl) | NOTE: consider defining a PREFERRED_PROVIDER entry to match mesa-driver-swrast `---- Change-Id: I082b8f7a739e4ea3cfe5f1760c7163d118e9883c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-08imx-gpu-viv.inc: Stop adding libglapi as runtime dependencyOtavio Salvador
The runtime dependency of libglapi is automatically added due the symbols use by the libGL library, so we can stop adding it manually. Change-Id: I590f25226cf2d8e2bf1f82dccd05db0b0d734b86 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-08imx-gpu-viv.inc: Allow libGL libraries to be installed without X11Otavio Salvador
The libGL libraries has been fixed to so the libraries can now be used with the other backends. This removed the old FIXME item. Change-Id: I99c7e68591a11fd590982690a8502bb60dc65513 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-22Enable Vivante kernel driver dynamic providerOtavio Salvador
The linux-imx.inc based kernels now can dynamically provide the Vivante kernel driver and satisfy the runtime dependency added for the Vivante GPU user space libraries. The beauty of this solution is that it makes ease for 3rd party kernel to reuse the same infrastructure and use the external module easily. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-21xf86-video-imxfb-vivante: Upgrade to 5.0.11.p7.1 versionLauren Post
- Add a COPYING-GPL file and update files to use this file The license is now provided in the package. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-21imx-gpu-viv: Update to 5.0.11-p7.1 versionLauren Post
Upgrade to 5.0.11 P7.1 for i.MX6 with GPU i.MX6QP qualified graphics driver(5.0.11P7.1). Includes many of the bug fixes and stability improvements. For more information refer to release notes from http://www.freescale.com/imx6qp libGAL_egl no longer provided in p7.1 so removed from include Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-21directfb: Include a custom directfb.incOtavio Salvador
The OE-Core commit: commit 8a577fa7cf54db646f4e61f383390054e5f04ca3 Author: Khem Raj <raj.khem@gmail.com> Date: Tue Sep 8 22:12:46 2015 +0000 directfb: Avoid using VLAs and printf formats These are not portable features and are flagged by clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Broke the directfb build as the new patch has been applied in the .inc file and was unconditionally being included. The patch was include for new versions of DirectFB and we ought to avoid including changes from OE-Core, for this recipe, without notice. It is likely the patch needs to be ported later for the forked DirectFB recipe but this is should be done afterwards. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-15xf86-video-imxfb-vivante: don't drop GCC 5.2 patchMax Krummenacher
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-15xf86-video-imxfb-vivante: forward port GCC5.2 patchMax Krummenacher
Port to 5.0.11.p6.3-beta. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-14imx-gpu-viv: Fix host user contamination in packageOtavio Salvador
The copy of contents must not use the host user when copying the contents for packaging. This fixes following QA errors as: ,---- | WARNING: QA Issue: | .../packages-split/imx-gpu-viv-tools/usr/bin/gmem_info is owned by uid | 1000, which is the same as the user running bitbake. This may be due | to host contamination [host-user-contaminated] `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-14Rework i.MX6 UltraLite support to not use other i.MX6 codeOtavio Salvador
The i.MX6 UltraLite is very different from the other i.MX6 SoCs and the current BSP infrastructure needs to be reworked to allow for more granullar control of the features each SoC provide to control the changes to be applied for the SoC peripherals support. For now, it is not possible to express this clearly in the BSP so the current change is to revert some of the changes done for the i.MX6 UltraLite to be enabled and make sure that the boards using the SoC does not inherit the 'mx6' override. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-27gtk+3: Add CFLAGS overrides for Wayland useOtavio Salvador
The Vivante GPU requires the platform to be configured and thus the CFLAGS need to be passed for the build system to properly configure it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-27mesa-demos: Add Wayland and OpenVG supportLauren Post
Add patches to support both OpenVG and Wayland support. Add configuration to enable in PACKAGECONFIG. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-06Drop Freescale official Linux kernel for i.MX23, i.MX28 and i.MX5 SoC familiesOtavio Salvador
The Linux kernel provided by Freescale for i.MX28 and i.MX5 is too old (2.6.35.3) and there are no plans to upgrade it, as the OE-Core is going to use GCC 5.2 as default compiler soon and it is not possible to compile this kernel with the new toolchain, thus the removal. The metadata related to the i.MX23, i.MX28 and i.MX5 SoC family, which is dependant of this Linux kernel support, has been removed in this commit so if someone ever wants to bring it back it is easy to find out all the necessary changes. The recipes affected are: - alsa-state - amd-gpu-x11-bin - gtk+3 - imx-lib - imx-test - imx-vpu - libfslcodec - linux-imx - mesa - qt4-embedded-free - qt4-x11-free - qtbase - xf86-video-imxfb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-08-05mesa: Remove virtual/libopenvg from providers listOtavio Salvador
The mesa now provide virtual/libopenvg which should be offered by the AMD and Vivante GPU drivers. Remove it from the providers list. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-04xserver-xf86-config: Add i.MX6UL xorg.confLauren Post
Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-04imx-gpu-viv: Change compatible machine to mx6 with GPULauren Post
Fix to support future mx6 i.MX 6UltraLite which does not have a GPU. This SoC will use mesa so mesa changes before should be more SoC specific to allow future mx6 SoC without GPU to use software rendering. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-04directfb: Stop using a packagegroup to fix Vivante GPU runtime dependencyOtavio Salvador
The runtime dependency against libvivante-dfb-mx6 should be specified in the directfb main package, not in the packagegroup so there is no risk of it not being right in a customer image. The other benefit in doing this rework is that the DirectFB 1.7.4 version recipe has no changes and can be immediately removed once Freescale upgrades the Vivante GPU bindings for DirectFB 1.7.7 support. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-04packagegroup-core-directfb: Change override for i.MX6 SoCs with GPUOtavio Salvador
Fix to support future mx6 i.MX 6UltraLite which does not have a GPU. This SoC will use mesa so mesa changes before should be more SoC specific to allow future mx6 SoC without GPU to use software rendering. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-31mesa-demos: Support for mx6 without GPUsOtavio Salvador
Fix to support future mx6 i.MX 6UltraLite which does not have a GPU. This SoC will use mesa so mesa changes before should be more SoC specific to allow future mx6 SoC without GPU to use mesa. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-31xf86-video-imxfb-vivante: Fix gcc 5.2 build breakTom Hochstein
Fix build break with gcc 5.2 caused by warnings being treated as errors. Signed-off-by: Tom Hochstein <Tom.Hochstein@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28mesa: Fix override of x11 GLX support for i.MX6Otavio Salvador
The replacement of --enable-glx-tls for --enable-glx was not working due the way the variables are expanded. To fix the issue an annonymous function has been added to mangle it just before its use. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28mesa: Avoid Vivante GPU headers conflict for gl.h and glext.hOtavio Salvador
The new GPU release include new GL headers which conflict with the ones provided by mesa. The build fails with: ,---- | ERROR: The recipe imx-gpu-viv is trying to install files into a shared | area when those files already exist. Those files and their manifest | location are: | | .../build-framebuffer/tmp/sysroots/imx6qsabresd/usr/include/GL/gl.h | Matched in manifest-imx6qsabresd-mesa.populate_sysroot | | .../build-framebuffer/tmp/sysroots/imx6qsabresd/usr/include/GL/glext.h | Matched in manifest-imx6qsabresd-mesa.populate_sysroot `---- This removes of the mesa's headers so the ones provided by Vivante are used instead. Fixes [Yocto: #5098]. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28xserver-xf86-config: Add support for PXP Frame Buffer displaysLauren Post
PXP devices for mx6sx, mx6sl and mx7 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28xf86-video-imxfb-vivante: Upgrade to 5.0.11.p6.3Lauren Post
Released with 3.14.38-6QP_beta release. Upgrade to version 5.0.11.p6.3 to align with imx-gpu-viv upgrade. - Fixes for Xrandr rotation, and video modes not displaying correctly. - Fixes for Xrandr not displaying correctly with PXP. - Fix for alignment in xorg.conf to notify EXA driver the display engine. - Add GC2000+ support. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28imx-gpu-viv: Upgrade to 5.0.11.p6.3 versionLauren Post
Releaed with 3.14.38-6QP_beta release. Upgrade to the 5.0.11.p6.3 release. Support for i.MX 6QuadPlus Graphics GC2000+. Details on bug fixes - see the i.MX Linux Release Notes. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-27mesa-demos: Fix so patches only install for SoC with GPULauren Post
Only install patches for SoC with a GPU. Future i.MX 6UltraLite does not have a GPU. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-27mesa: Support for mx6 without GPUsLauren Post
Fix to support future mx6 i.MX 6UltraLite which does not have a GPU. This SoC will use mesa so mesa changes before should be more SoC specific to allow future mx6 SoC without GPU to use mesa. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-22gtk+3: Disable Wayland backend when building for X11Otavio Salvador
The X11 backend of i.MX5 and i.MX6 does not support the Wayland rendering and causes GTK+3 configure script to fail. When building for X11 we now disable the Wayland backend allowing the configure to proceed. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-22pointercal: Update with panel type in xinput fileLauren Post
This fix was required to fix touch calibration issues on i.MX6 boards using touch panels. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-13weston: Add patch only for i.MX with Vivante GPULauren Post
New SoC i.MX 6 UltraLite does not have a GPU so only apply patch for i.MX 6 with a Vivante GPU. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-13weston: Update i.MX6 Vivante GPU to support Wayland 1.8Lauren Post
Update the support patches for Weston 1.8. The support patches are consolidated in a single patch. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03amd-gpu-x11-mx51: use x11 compatible eglplatform.hFlorian Vallee
Freescale's default eglplatform.h contains framebuffer headers while X11 compatible headers are located in eglplatform_1.4.h [1], therefore overwrite eglplatform.h with eglplatform_1.4.h during install. This fixes EGL on X support through xcb. For instance Qt5 would fail to enable CFG_EGL_X [2] due to the following build error during configure : invalid conversion from 'EGLNativeDisplayType {aka void*}' to 'Display* {aka _XDisplay*}' [-fpermissive] This further resulted in a runtime error with Qt5_CinematicExperience: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled [1]: http://lists.busybox.net/pipermail/buildroot/2014-November/111475.html [2]: https://codereview.qt-project.org/#/c/77523/ Signed-off-by: Florian Vallee <fvallee@eukrea.fr> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03core-image-weston: Fail gracefully if using incompatible DISTRO_FEATURESOtavio Salvador
Vivante GPU driver cannot operate in X11 and Wayland in same distribution as it needs to have different libraries installed. So in case 'x11' is in DISTRO_FEATURES, Wayland is disabled. Fixes [YOCTO: #7814]. Change-Id: Ibde60384b1146ecb0aad353cfbc44163b21b4fc1 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-17imx-gpu-viv: Avoid duplicate values in PROVIDESGary Thomas
Additional packages are added to the PROVIDES variable, depending on the type of processor being supported, e.g. i.MX6Q, i.MX6SX, etc. The old way this was being set could add multiple versions of the same package to the PROVIDES variable which in turn can cause confusion with sstate, e.g. a number of i.MX6 machines use :mx6q:mx6dl in their overrides whereas others might only have :mx6q. With the previous setting of PROVIDES, this package would not be sharable via sstate between such machines. This patch changes the process so that these extra packages are only added once, improving the [re]usability of sstate. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-11directfb: Correct bashismOtavio Salvador
Fix builds of directfb on systems with dash as /bin/sh Change-Id: Idf5e208c8ac75f4c6251f9f5b0db317f91c42de5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-09xf86-video-imxfb-vivante: Upgrade to 5.0.11.p4.5Neena Busireddy
Modify the version to match the version of imx-gpu-viv Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-09imx-gpu-viv: Upgrade sfp to 5.0.11.p4.5Neena Busireddy
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-09imx-gpu-viv: Upgrade to 5.0.11.p4.5Neena Busireddy
3.14.28-1.0.1 patch release has the following bug fixes: MGS-554 [#1644] Fix the false alert with GPU commit dirty MGS-528 [#ccc] Wayland does not free window memory until the application exits GRPH-56 [#ccc] Add environment variable to turn off memory fill GRPH-55 [ccc] Add alpha channel for direct texture viv extension MA-6540 [#1672] Fix native fence FD leak found by Android™ CTS MGS-663 [#1686] P4 release can't be built statically MA-6527 [#1666] Fix android.webgl.cts.WebGLTest CTS failure MGS-511-2 [#1593] Qt 3D app cannot run on i.MX 6SoloX board MGS-658 [#ccc] Fix build warning of isInApiTraceMode for static link Revert MGS-352 [#1453] Creating context on 5.x is slower than 4.x due to process name read MGS-578 [#1657] GoogleEarth APK encounters a shader compile error MGS-507 [#1323] RenderToTexture has distorted pictures on screen in DL board MGS-547 [#ccc] Add YVYU format test in g2d_overlay_test MGS-547 [#1640] YVYU format gets wrong result when 2D is built MGS-564 [#ccc] Resolve race condition in display frame sync MGS-367 [#1589] "CTRL+C" to close the "tutorial7_es20" causes GPU to hang MGS-543 [#1604] Remove some unsupported extensions in gles10 MGS-436 [#ccc] Memory leak in glimagesink video loop playback MA-6267 [#1600] Fix ES3.0 benchmark UBenchEnhanced can't run MA-6208-1 [#1543] Fix build error MA-6208 [#1543] Fix com.drawelements.deqp.gles3 CTS failure MGS-511 [#1593] Qt 3D app cannot run on i.MX 6SoloX board MGS-512 [#1493] Fix es30 conformance failures related to glReadPixels MGS-502 [#ccc] libCLC failure MGS-500 [#ccc] Disable apitrace for static build Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28eglinfo: Restrict i.MX6 backend for SoCs with 3D supportOtavio Salvador
The i.MX6 SoloLite does not include 3D support and the headers are not installed when building for it making it impossible to use the SoC backend. Stop setting it. Change-Id: I929d283df204372bc45888a8327563d81b125081 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-23eglinfo: Avoid contaminating other boardsOtavio Salvador
The i.MX6 specific overrides needs to be set using _mx6 OVERRIDE to avoid contaminating other boards. The extra DEPENDS has been removed as the original recipe already depends on virtual/egl so all i.MX6 variants are covered. Change-Id: Id9cdd9a4d46d44b9afc6580784d024a54c45ee4a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-14xf86-video-imxfb-vivante: Add xf86-video-imxfb-vivante.inc fileNeena Busireddy
Add xf86-video-imxfb-vivante.inc file to avoid duplication for new releases. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-09xf86-video-imxfb-vivante: Upgrade to 5.0.11.p4.4 versionLauren Post
- Change version to align to same version used for imx-gpu-viv - Update rc.autohdmi to handle more error cases Change-Id: I26c3342f7f6ecffc4ca975bc83795ea38f5feb17 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-09imx-gpu-viv: Upgrade to 5.0.11.p4.4 from 3.14.28-1.0.0 GA releaseLauren Post
Remove pc files now they are part of imx-gpu-viv package Fix api trace installation Change-Id: I95b35b73a249b3e80b7437f3d516e19bc3e1242c Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-26imx-gpu-viv: set ALLOW_EMPTY_${PN}Matt Madison
With the recent addition of rootfs creation log checking for builds using Debian packaging, rootfs builds fail because the main imx-gpu-viv package isn't present, but other packages (such as its -dev) depend on it. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-21imx-gpu-viv: ship libgles3-mx6-dev along with libgles2-mx6-devAndreas Müller
Otherwise libgles3-mx6-dev has to be added manually to avoid error when compiling on target: | /usr/include/qt5/QtGui/qopengl.h:97:26: fatal error: GLES3/gl3.h: No such file or directory As soon as there are seperate binaries for GLES3 this connetion can be removed. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-19libz160: Add a build-dependency on AMD GPUOtavio Salvador
This fixes the following warning: ,---- | WARNING: QA Issue: libz160 requires libgsl-fsl.so.1, but no providers | in its RDEPENDS [file-rdeps] `---- Change-Id: I920eb5f31f94118ed46105545b9d0bd175151690 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-19amd-gpu-mx51.inc: Add the amd-gpu-mx51 providerOtavio Salvador
Add a common provider (for X11 and Framebuffer backends) which works out of box independently of the backend of use, to be used in DEPENDS. Change-Id: I681603c76c95d647944cbe9115dadfbd508cd63d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-15xf86-video-imxfb: Add --enable-neon on whitelisted configuration optionsOtavio Salvador
This hides the following warning: ,---- | WARNING: QA Issue: xf86-video-imxfb: configure was passed unrecognised | options: --enable-neon [unknown-configure-option] `---- Change-Id: I1c0051db67be4a2640ff18af176a6411cfb86261 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>