summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2016-05-07imx-gpu-viv: Rework code so it is easier to readOtavio Salvador
Instead of using USE_X11 and USE_WL, we now use HAS_X11 and HAS_WL. The variable does not imply that the backend is actually used but if the distribution has, or not, the support for the backend. Change-Id: I8630b54ed0a80f2877e5e97f71ae14e78ed5aeea Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-07imx-gpu-viv: Remove dead codeOtavio Salvador
The support for X11 and Wayland is not intended to be added so we can remove the FIXME and the unused code. Change-Id: I18473c415dd8877f887d7dc719bfbb360007a29e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-07imx-gpu-viv: correct file ownershipSujith H
This recipe copies binary files with `cp`, including `cp -a`, so the file ownership can end up being the same as the build user. Work around this by chown'ing everything to root:root. This avoids a package_qa failure. Signed-off-by: Sujith H <sujith.h@gmail.com> Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19imx-gpu-viv: Drop Floating Point type handlerOtavio Salvador
The new packages does not support Soft-FP and releases will be always in Hard-FP making the mechanism unused. Remove the dead code. Change-Id: I833dbc61d29fec947876743e6ba3fb2f2112abd7 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19xf86-video-imxfb-vivante: Update graphics to 5.0.11-p8.3 versionTom Hochstein
- Update version - Remove upstreamed patch Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19imx-gpu-viv: Update to version 5.0.11-p8.3Tom Hochstein
Update Vivante graphics driver for i.MX Linux BSP L4.1.15-1.0.0_ga release. Software floating point is no longer supported. For a detailed list of changes in this update, see the Graphics section of the i.MX Linux Release Notes contained in the i.MX Linux BSP documentation here: https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_LINUX_DOCS&location=null&fpsp=1&WT_TYPE=Supporting%20Information&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=gz&WT_ASSET=Documentation&fileExt=.gz&Parent_nodeId=1337637154535695831062&Parent_pageType=product Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19imx-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-04-19weston: 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-04-19xf86-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-04-19weston: 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-04-19imx-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-04-19imx-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-04-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-04-19imx-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>
2016-04-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>
2016-04-19xf86-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>
2016-04-19xf86-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>
2016-04-19xf86-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>
2016-04-19xf86-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>
2016-04-19Remove 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> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19mesa-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>
2016-04-19imx-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>
2016-04-19imx-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>
2016-04-19Enable 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>
2016-04-19xf86-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>
2016-04-19imx-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>
2016-04-19directfb: 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>
2016-04-19xf86-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>
2016-04-19xf86-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>
2016-04-19imx-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>
2016-04-19Rework 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>
2016-04-19gtk+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>
2016-04-19mesa-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>
2016-04-19Drop 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>
2016-04-19mesa: 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>
2016-04-19xserver-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>
2016-04-19imx-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>
2016-04-19directfb: 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>
2016-04-19packagegroup-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>
2016-04-19mesa-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>
2016-04-19xf86-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>
2016-04-19mesa: 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>
2016-04-19mesa: 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>
2016-04-19xserver-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>
2016-04-19xf86-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>
2016-04-19imx-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-28mesa-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-28mesa: 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-28Move meta-fsl-ppc content to layer rootOtavio Salvador
This commit is just a rename of all contents of meta-fsl-ppc subdirectory to this layer's root, merging the contents of common files, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28gtk+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>