summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* xf86-video-imxfb: Add --enable-neon on whitelisted configuration optionsOtavio Salvador2015-02-151-0/+3
| | | | | | | | | | | | 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>
* xf86-video-imxfb: Use xorg-driver-video.inc common fileOtavio Salvador2015-02-151-2/+3
| | | | | | | | | | | | | | 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>
* amd-gpu-x11-bin-mx51: Add a build-dependency on libxextOtavio Salvador2015-02-151-1/+2
| | | | | | | | | | | | | 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>
* gpu-viv-g2d: Add a dependency on Vivante GPU core driverOtavio Salvador2015-02-151-0/+1
| | | | | | | The G2D uses symbols provided by the Vivante GPU core driver so for proper linking the .so files must to be around. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Don't package X11 libraries in non-X11 buildsJacob Kroon2014-12-291-0/+10
| | | | | | | | | | | | | | | 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>
* libdrm: libdrm build fails due to missing space in SRC_URI_appendAlexander Shashkevych2014-12-201-1/+1
| | | | | | | | 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>
* gpu-viv-bin-mx6q: Remove patch files which are unusedOtavio Salvador2014-12-063-95/+0
| | | | | | | 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>
* amd-gpu-mx51: fix file ownership in packagesJavier Viguera2014-12-021-3/+3
| | | | | | | | | | | 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>
* gpu-viv-bin-mx6q: move HAL headers to libgal-mx6-devSamuli Piippo2014-12-021-1/+1
| | | | | | | | 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>
* piglit: Add a dependency over virtual/eglOtavio Salvador2014-11-281-0/+2
| | | | | | | | 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>
* xserver-xorg: remove unknown configure optionsJavier Viguera2014-11-131-0/+3
| | | | | | | | | | | Fix QA warning: WARNING: QA Issue: xserver-xorg: configure was passed unrecognised options: --disable-xshmfence --disable-libunwind --disable-dri3 [unknown-configure-option] Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Upgrade to 3.10.17-1.0.2 patch releaseLauren Post2014-11-101-2/+2
| | | | | | | | | | Fixes for - Cursor performance impact - Pixmap stride when wrapping - Distinguish cpu and gpu physical address Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-g2d: Upgrade to 3.10.17-1.0.2 patch releaseLauren Post2014-11-103-7/+7
| | | | | | | Update G2D api to support extensive alpha blend. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Upgrade to 3.10.17-1.0.2 patch releaseLauren Post2014-11-102-4/+4
| | | | | | | | | | | | | | | | | | Fixes for the following: - Memory management, high CPU loading, crashes with QT5 - Avoid system freeze with invalid power - Mutex sharing. resource leak, database protection - 3D OpenVG for libGAL crash - UI reboots while playing video - Add VG355 support to X11 - Enhanced G2D API - QT5 support for wayland - WebGL fixes for Chrome UI For more details reference the 3.10.17-1.0.2 Patch Release notes on freescale.com/imx Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-g2d: fix file ownership in packagesJavier Viguera2014-11-051-2/+2
| | | | | | | | | | | | Using 'cp -a' to install files in do_install function leaks user/group attributes from build machine to target packages. WARNING: log_check: There is a warn message in the logfile WARNING: log_check: Matched keyword: [warn] WARNING: log_check: warning: user xxxxx does not exist - using root Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Do not override PACKAGECONFIGNeena Busireddy2014-10-311-3/+3
| | | | | | | | | | | | | | PACKAGECONFIG should not be overridden. If not, it will become very complex to enable other features defined in the main recipe. This patch also removes the duplicate PACKAGECONFIG settings defined in the bbappend after this change. For sololite, remove egl from PACKAGECONFIG as egl is enabled by default for DISTRO_FEATURES wayland. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: Fix PACKAGECONFIG settingsGary Thomas2014-10-231-3/+0
| | | | | | | | | | Remove a forced setting of PACKAGECONFIG_mx6 - this caused some flags which were set by the main recipe to be lost, e.g. "x11". The flags which are being set by these lines are correctly set in the main recipe, so this change fixes the errant behaviour with no other side effects. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Fix libOpenVG link when building for mx6slOtavio Salvador2014-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The ab83159 (gpu-viv-bin-mx6q: Include sololite changes to remove 3Dx libraries.) reworked the libraries available for mx6sl case however the symbolic link was wrong. It points to the work instalation directory. This resulted in: ,---- | ibOpenVG_355.so | ibOpenVG.so -> .../tmp/work/.../image/usr/lib/libOpenVG_355.so `---- While the expected is: ,---- | libOpenVG_355.so | libOpenVG.so -> libOpenVG_355.so `---- This patch fixes is to use a relative link, fixing OpenVG based application builds from a clean tmp directory or using rm_work class. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb: Fix build with glibc 2.20Khem Raj2014-08-302-0/+58
| | | | | | | | This issue is unearthed with glibc 2.20 but the patch is good with eglibc 2.19 as well Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: Drop 'class-target' useOtavio Salvador2014-08-301-3/+3
| | | | | | | | | | | | The native and nativesdk classes now reset the MACHINEOVERRIDES variable, avoiding the failure during the build due the extra flags for Vivante support. This patch removes the 'class-target' override as the override won't apply in native and nativesdk use anymore. Change-Id: I53b1939c1bd20fca1c3e39e67fd03aaa743501d0 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add sololite changesNeena Busireddy2014-08-205-8/+385
| | | | | | | | | | | | | | Sololite does not support 3D GPU hardware acceleration, so remove gles flags from compilation. Also, included the patches to enable GAL2D compositor and change GAL2D compositor to be default when EGL is not enabled in Sololite. Patch for crashes on touch device without a pointer is applicable for all iMX6 machines. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: Update recipe to support sololite.Neena Busireddy2014-08-201-1/+3
| | | | | | | | In order to support cairo for sololite, we need to remove glesv2 from packageconfig since sololite is not 3D GPU hardware accelerated Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Update mesa and mesa-demos to support Sololite.Neena Busireddy2014-08-202-2/+13
| | | | | | | | SoloLite should use mesa software rendering GL since GPU for this machine does not have hardware accelerated GL. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Include sololite changes to remove 3D libraries.Neena Busireddy2014-08-201-1/+25
| | | | | | | | Sololite does not support 3D GPU hardware acceleration.Hence, remove all the 3D libraries from graphics package for this machine. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Upgrade to 3.10.17-1.0.1Lauren Post2014-08-151-2/+2
| | | | | | | | | | | For 2D GPU cores there is a potential need to manage the maximum number of outstanding return requests from the memory subsystem. The proper way to manage these for 2D cores with this configuration is to use a FLUSH. The patch does a FLUSH after every DRAW, the pipe will not overfill and the scenario which may lead to a stall will not occur. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Upgrade to 3.10.17-1.0.1Lauren Post2014-08-152-4/+4
| | | | | | | | | | | | | For 2D GPU cores there is a potential need to manage the maximum number of outstanding return requests from the memory subsystem. The proper way to manage these for 2D cores with this configuration is to use a FLUSH. The patch does a FLUSH after every DRAW, the pipe will not overfill and the scenario which may lead to a stall will not occur. This patch requires the Linux kernel 3.10.17-1.0.1 fixes. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Add a missing runtime dependency on libdrmOtavio Salvador2014-08-151-0/+1
| | | | | | | The Vivante DRI library requires the libdrm to proper work; this adds the missing dependency. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* meta-fsl-arm: fix some typosJavier Viguera2014-08-141-1/+1
| | | | | Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* directfb-examples: Fix building with new autoconfOtavio Salvador2014-07-262-4/+31
| | | | | | | | | | | | This fixes the following build error: ,---- | .../configure: line 4229: syntax error near unexpected token `DIRECTFB,' | .../configure: line 4229: `PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_REQUIRED_VERSION, WATER=`$PKG_CONFIG --variable=water directfb` ,' `---- Change-Id: Ibd5807b1497ff83b4241cd53f97d18b62a0cb2df Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* pointercal.xinput: Remove stray characterLauren Post2014-07-251-1/+0
| | | | | | | This character causes touch issues with calibration failing Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Don't apply i.MX6-specific patches unconditionallyOtavio Salvador2014-07-211-2/+3
| | | | | | | | | | The patches for Vivante GPU support are i.MX6-specific and shouldn't be applied for other SoCs and architectures. This patch changes it to be i.MX6-specific. Fixes [YOCTO: #6545] Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Use symlink in libgl-mx6 packageJacob Kroon2014-07-211-0/+1
| | | | | | | | | | | The libgl-mx6 package had a duplicated libGL.so.1. Force it into a symlink. This was tested by comparing the output of "ls -lR --time-style=+ image/" before and after the change. Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Fix file ownership in packagesJacob Kroon2014-07-211-4/+4
| | | | | | | | | | | | | | | | The do_install() function is run under pseudo in order to create packages with correct file-permissions. By issuing "cp -a" to install files, we leak build user/group permissions into the packages, since the do_unpack() function is executed as the regular build user. Replace it with -P, so that we at least keep symlinks. Also drop -x (--one-file-system) since it's not needed. This was tested by comparing the output of "ls -lR --time-style=+ image/" before and after the change. Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Don't package wayland libraries in non-wayland buildsJacob Kroon2014-07-211-0/+6
| | | | | | | | | | | | | | | | Running readelf --dynamic libgc_wayland_protocol.so | grep NEEDED shows that the library has a runtime dependency on libffi. Same thing applies to libwayland-viv.so. For non-wayland builds, where libffi may or may not be available during package time, skip packaging them so that they don'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>
* amd-gpu-mx51.inc: Use anonymous python function to inject metadataOtavio Salvador2014-07-111-1/+1
| | | | | | | | | | | The metadata amending, to include the INSANE_SKIP hacks, need to be done before we run the QA checks. This has change now that the QA checks are run in a separate task. To accomodate the code to this the recipe needed to be reworked to use an anonymous python function so it runs at parsing time. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Add ite instruction to mx6 ARM patchThomas Elste2014-06-161-1/+2
| | | | | | | | | Building with Angstrom toolchain fails on inline assembler added by drm-update-arm.patch because of missing ite instruction. Insert instruction to make the inline assembler block Thumb2 compatible. Signed-off-by: Thomas Elste <thomas.elste@imms.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Upgrade patches to 1.5 with GPU integrationLauren Post2014-06-053-100/+93
| | | | | | | | | This rework the patches for them to apply against the Weston 1.5 release. Change-Id: I99b08011b8e76ac3f4a955e5f48e6f0093326cad Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libz160: Add 'mx5' to COMPATIBLE_MACHINEOtavio Salvador2014-04-301-0/+2
| | | | | | | Restrict the recipe to be used for 'mx5' SoCs only. Change-Id: I9084cc525c7136b23e1c5522079c38bd12df7087 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-g2d: Update to 3.10.17-1.0.0 GA versionLauren Post2014-04-302-6/+4
| | | | | | Change-Id: Id0ec99d783bbe2b7fe8ef751c45f3de670066f86 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Update to 3.10.17-1.0.0 GALauren Post2014-04-302-29/+4
| | | | | | | | Equivalent fix-hdmi-preferred patch was applied so remove with new version. Change-Id: I71be1a71b11415fced061ce6b7d13bf758c67bed Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Update to 3.10.17-1.0.0 GA versionLauren Post2014-04-303-7/+5
| | | | | | Change-Id: If7482f4072d136f4de4ea17d3a7a3ad18edac043 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Use generic bbappend filesOtavio Salvador2014-04-225-0/+0
| | | | | | | | | | | | | | | | | | | | This uses the % wildcard for recipe matching, this easy the update of recipe versions and maintenance. - formfactor_0.0.bbappend - udev-extraconf_1.0.bbappend - eglinfo-fb_1.0.bbappend - eglinfo-x11_1.0.bbappend - mesa-demos_8.1.0.bbappend - pointercal-xinput_0.0.bbappend - xserver-xf86-config_0.1.bbappend - gst-plugins-base_0.10.36.bbappend - gst-plugins-gl_0.10.3.bbappend - qt4-embedded_4.8.5.bbappend - qt4-x11-free_4.8.5.bbappend Change-Id: Ia901561f327fde3109237994a2a5a76827f11913 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: Do not change cairo-native PACKAGECONFIGOtavio Salvador2014-04-041-2/+3
| | | | | | | | This breaks building as we currently have no native provider for EGL and it does make no sense to enable it for native case. Change-Id: If76a77053aebe09dc8b621eaff66a072fc618eda Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: Enable 'directfb' when using DirectFB backendOtavio Salvador2014-03-311-1/+2
| | | | | Change-Id: I28acf69060093b60f0846adf41f96ea31ab158f8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Drop libgl-mx6-dev runtime depends on libgl-mesa-devOtavio Salvador2014-03-311-1/+0
| | | | | | | | | | | | | The mesa is not build in case we don't have X11 enabled and forcing this runtime dependency breaks the Wayland and DirectFB backends build. The right way to address this issue is to isolate the used headers from mesa and get them into the gpu-viv-bin-mx6q tarball but this is something that ought to be done by Vivante and/or Freescale. Change-Id: I25126aa362fe3ce0e74ea0dee2f0cd59fae2c531 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Rework depends for easy readingOtavio Salvador2014-03-311-5/+2
| | | | | | | | | | There are no SoC specific dependencies which we need to use the overrides system to specify the dependencies so the use of variables just makes the depends line harder to read. Stop using the temporary variables for X11 and Wayland dependencies. Change-Id: I7e31c0c19dde7e81fc4dfed0553945733f636c43 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* directfb, directfb-examples: Backport 1.6 releaseOtavio Salvador2014-03-318-0/+608
| | | | | | | | | | This backports the directfb 1.6.3 and counter part directfb-examples 1.6.0 for use with i.MX6 SoCs as Vivante GPU is not compatible with the 1.7 API. Along the recipes backport this commit sets the preferred version accordingly. Change-Id: I658af7b7881d743cb1a04f6ffb23739711af989b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add i.MX6 GPU supportPrabhu Sundararaj2014-03-313-0/+1603
| | | | | | | | Add support for Vivante GPU acceleration for 2D and 3D. Change-Id: Iaa457ef324a98b73e1f35f47b9030c48f9e170c7 Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: add OpenGL ES2 support for i.MX6Prabhu Sundararaj2014-03-271-0/+9
| | | | | | Change-Id: I7778227884069b718ca72e4dbb212782843682b6 Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Use 'autotools-brokensep' as out of tree build is ↵Otavio Salvador2014-03-181-0/+2
| | | | | | | | | | | | not supported The out of tree build is not currently supported so disable it for now; this change is need to allow autotools to default to out of tree builds in future. Change-Id: I89103b39bba524403be5bb1916ea5d99bb1662b4 Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>