aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2015-09-09Revert "mesa-demos: Fix so patches only install for SoC with GPU"Otavio Salvador
This reverts commit 5e40789fe386a5bb4c83cd8780a8bf7f7b947196. The change breaks the build for machines which support multiple SoC families (as i.MX6 Quad and DualLite). Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18Revert "mesa-demos: Support for mx6 without GPUs"Otavio Salvador
This reverts commit 44a5115b6ece869cfb10714423e6956128dbaef8. The change breaks machine using multiple SoC types and a better technical solution is still under investigation. In meanwhile we are reverting this in Fido branch so we do not break stable users. 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-31mesa: 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-31xserver-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-31mesa-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-31mesa: 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-31pointercal: 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-07directfb: 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-07-06amd-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-06core-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-07-06imx-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-10xf86-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-10imx-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-10imx-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>
2015-02-15xf86-video-imxfb: Use xorg-driver-video.inc common fileOtavio Salvador
The recipe were not including the xorg-driver-video.inc common file so ended not setting the right Xorg ABI dependency. This fixes the following warning: ,---- | WARNING: QA Issue: Package xf86-video-imxfb contains Xorg driver | (imx_drv.so) but no xorg-abi- dependencies [xorg-driver-abi] `---- Change-Id: Ifc2e46c2eb06233eb32c555f4943eed32b634ac4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-15amd-gpu-x11-bin-mx51: Add a build-dependency on libxextOtavio Salvador
The binaries link against the libxext so a build dependency should be add. This fixes following warning: ,---- | WARNING: QA Issue: libegl-mx51 rdepends on libxext, but it isn't a | build dependency? [build-deps] `---- Change-Id: Ia3bbfb430f046c24f0be37f0b10c3bbb489ad81a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-15xf86-video-imxfb: Ensure kernel source is availableOtavio Salvador
Add a configure-time requirement on the kernel sources. This is needed because parts of this program use kernel headers directly. If the kernel package is restored from sstate, the headers will not be available unless this dependency is explicit. This new behaviour was introduced in OE-Core: 6a1ff0e7eac Change-Id: I19cf8a08b89b0e33870f804b2d4446755b3715f4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-12imx-gpu-viv: Don't package X11 specific tools in non-X11 configurationsJacob Kroon
Fixes: WARNING: QA Issue: imx-gpu-viv-tools-apitrace requires libX11.so.6, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-05amd-gpu-mx51: Stop auto-renaming GPU driver librariesOtavio Salvador
The AMD GPU libraries shouldn't be renamed; this allow for runtime to choose the right library at installation time. Change-Id: If674fa3d3ee0c8ff99688d0a1bc2dfda67355fa8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-04weston: Performance optmizations for i.MX6 GAL2D rendererOtavio Salvador
This improves the Weston performance considerably and is backward compatible with Vivante 4.6.9 and Vivante 5.0.X VIV-GPU drivers. The following new patches has been included: MGS-391: Weston: Performance Optimisation for single buffer mode MGS-389: Fix for wrong FPS throttling when multibuffer is set Change-Id: I17a5d8377927fa250dd0f24ac8462064dc7592ca Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-04xf86-video-imxfb-vivante: correct initscript packageDan McGregor
Specify that the initscript is in xserver-xorg-extension-viv-autohdmi Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-27directfb: Upgrade to 1.7.4 versionNeena Busireddy
Poky master upgraded directfb to 1.7.6 but 3.10.53-1.1.0 GA release is compatible with directfb 1.7.4. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-27xf86-video-imxfb-vivante: Add autohdmi utilityNeena Busireddy
This utility is used to monitor hdmi display hot plug and reconfigure xserver (through exa driver) if it detects the display change. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-27xf86-video-imxfb-vivante: Upgrade to 3.10.53-1.1.0 GA releaseNeena Busireddy
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-27imx-gpu-viv: Upgrade to 3.10.53-1.1.0 GA releaseNeena Busireddy
- Graphics recipe is renamed from gpu-viv-bin-mx6q to imx-gpu-viv - Recipe version is changed to use Vivante version - gpu-viv-g2d shares same package with imx-gpu-viv - imx-gpu-viv includes separate sub packages for demos and tools to support flexible package additions - Graphics package is reorganized to improve library layout - New GPU tool apitrace is added - supported only for X11 backend Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-29gpu-viv-bin-mx6q: Don't package X11 libraries in non-X11 buildsJacob Kroon
Running readelf --dynamic libGL.so | grep NEEDED shows that the library has runtime dependencies on X11 libs and libglapi.so. However, none of them are listed as build dependencies for non-X11 distros. In this case, skip packaging libGL, so that it doesn't cause unexpected dependency changes in buildhistory. Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-22gpu-viv-bin-mx6q: Add EGL pkgconfig files for LinuxFB, Wayland and DirectFBMingtao Qu
The Vivante EGL backend require some macros to be set in CFLAGS, for compiling correct part code. this patch add the macros to pkgconfig build system. Signed-off-by: Mingtao Qu <zarelaky@hotmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-21gpu-viv-bin-mx6q: Move non-demo files into separate packagesJacob Kroon
The upgrade to 3.10.31-1.1.0 beta in 547d55d2577b60e72cd3523caaf83df65e053a10 introduced a couple of new files that should be moved to separate packages: libGAL_egl.so - Move into existing libgal-mx6 package libVSC.so - Move into new libvsc-mx6 package libVivanteOpenCL.so - Move into existing libopencl-mx6 package Vivante.icd - Move into existing libopencl-mx6 package Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-20libdrm: libdrm build fails due to missing space in SRC_URI_appendAlexander Shashkevych
libdrm build fails due to libdrm_%.bbappend, since 'SRC_URI_append' doesn't contain leading space in appended string. Signed-off-by: Alexander Shashkevich <alex@stunpix.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-15xf86-video-imxfb-vivante: Adapt code to new types used in Xserver 1.16Prabhu Sundararaj
The new Xserver 1.16 version has some changes which causes some compilation warning, this patch adapts the EXA driver for this changes. Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-07gpu-viv-bin-mx6q: Remove patch files which are unusedOtavio Salvador
Some patches were not removed while updating the recipe. This dropes the left over files to remove them from the layer. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-04directfb: Use include file from pokyNeena Busireddy
Use directfb include file from poky as it has fixes for floating dependencies. Directfb 1.7.1 fails to build without this change. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-04gpu-viv-g2d: Remove old 3.10.17-1.0.2 recipeOtavio Salvador
When updating to 3.10.31-1.1.0 beta release, this recipe has not removed. Do it now. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-02amd-gpu-mx51: fix file ownership in packagesJavier Viguera
Fix some more QA warnings: WARNING: log_check: There is a warn message in the logfile WARNING: log_check: Matched keyword: [warn] WARNING: log_check: warning: user xxxx does not exist - using root Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-02directfb: Backport to 1.7.1Neena Busireddy
Directfb 1.7.4 is not compatible with 3.10.31-1.1.0 beta. Preferred version to use for 3.10.31-1.1.0 beta is 1.7.1. Components that are dependent on directfb 1.7.1 fails to build without this change. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-01gpu-viv-bin-mx6q: move HAL headers to libgal-mx6-devSamuli Piippo
HAL include headers should be part of libgal-dev package, instead of the current gpu-viv-bin-mx6q-dev. Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-25piglit: Add a dependency over virtual/eglOtavio Salvador
The build system can also use egl when GL is not avail so we ought to add this to the dependency chain as gpu-viv-bin-mx6q would not be included otherwise, for i.MX6SL. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-24weston: Remove "Desktop-shell-Don-t-assume-there-is-a-pointer.patch"Otavio Salvador
This patch is applied upstream and can be removed now. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-10gpu-viv-g2d: Upgrade to 3.10.31-1.1.0 betaNeena Busireddy
This includes bux fixes and it is compatible with the new GPU driver. The license checksum has change due the copyright's year adjustments; there are no changes in the license terms. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>