aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2016-04-06imx-gpu-viv: Cleanup directfb referenceTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-02-23weston: Fix issues with 1.9 versionNeena Busireddy
These set of patches are required to address the issues with weston 1.9 Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-02-11xf86-video-imxfb-vivante: Upgrade to 5.0.11.p7.4 versionNeena Busireddy
- License changed to MIT. - Remove the upstreamed patch. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-02-11weston: Add patches to fix bugsNeena Busireddy
- Patch to fix setenv and clear environments. - Patch to fix screen blur for Qt5 CinematicExperience. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-02-11imx-gpu-viv: Add dependency on libpngOtavio Salvador
This fixes following warning, found on O.S. Systems' autobuilder: ,---- | WARNING: QA Issue: imx-gpu-viv-tools-apitrace rdepends on libpng, but | it isn't a build dependency? [build-deps] `---- Series-to: meta-fsl Series-prefix: meta-fsl-arm Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-02-11imx-gpu-viv: Update to 5.0.11-p7.4 versionNeena Busireddy
This version is released with 3.14.52-1.1.0_ga release. Includes many of the bug fixes and stability improvements. For more information refer to i.MX Linux Release Notes from following link: http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.mx-6-processors/i.mx6qp/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?fpsp=1&tab=Documentation_Tab#nogo L3.14.52_1.1.0_LINUX_DOCS package is under Supporting Information. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-19xserver-xf86-config: use modesetting for VybridStefan Agner
Explicitly use the generic Xorg driver for KMS devices. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-11imx-gpu-viv: Use auto package splitting of .debug filesOtavio Salvador
Since OE-Core:da5ec068 there is the possibility of splitting the .debug files automatically. The imx-gpu-viv does not provide very useful debugging information, due its proprietary nature, so splitting the provided info across multiple packages just makes the debugging harder. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-19imx-gpu-viv: Remove wrong imx-gpu-viv-tools-dbg packagingOtavio Salvador
The imx-gpu-viv-tools-dbg package where pointing to the very same binary as imx-gpu-viv-tools, instead of the counterpart .debug file. This removes this definition. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03xf86-video-imxfb-vivante: Stop using swaprep.h headerOtavio Salvador
The 'swaprep.h' is an internal Xorg header and is not being installed anymore. The swap features are provided by the 'misc.h' header now. Fixes [YOCTO: #8737] Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03xf86-video-imxfb-vivante: Stop using Git to write local versionOtavio Salvador
The standard version does not use a Git repository so we should not use Git to identify the commit of the build as it can end getting the version from a wrong repository and can be misleading. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03xf86-video-imxfb-vivante: Move patches attribution to the recipeOtavio Salvador
The patches applied on top of the source code are version specific and should not be listed in the '.inc' file. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03xf86-video-imxfb-vivante: Stop running 'make' in debug modeOtavio Salvador
There is no need to run 'make' in debug mode, by default, as it increases log size and build time for no good reason. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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>