summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* wayland: Backport recipe for version 1.15Fabio Berton2018-07-051-0/+5
| | | | | | | | | | From OE-Core commit: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425 Package libwayland-egl has been moved to wayland on version 1.15+ and we need to use wayland 1.15+ to build weston i.MX 4 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Fix condition for GLES supportTom Hochstein2018-07-051-3/+5
| | | | | | | | | | The condition for GLES support was incorrect and would remove GLES for parts with both 2D and 3D. Fix the condition so GLES is removed only for parts with 2D and no 3D. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 681d596e5cbf78cc27d1cdfccd329022242d2c14)
* mesa: Fix do_install_append_imxgpu taskFabio Berton2018-07-031-1/+1
| | | | | | | | usr/include/KHR is a directory, remove using rm -rf command. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 44f7b994b87dab1e2a867515244f6980b0d53e4d)
* mesa-demos: Include glut for i.MX GPUTom Hochstein2018-06-291-0/+1
| | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 5f83013637c668bbf42d9576fb937500558e6b5b)
* mesa-demos: Use the new imxgpu overrideTom Hochstein2018-06-291-13/+8
| | | | | | | | Use imxgpu override for GPU 2D or 3D condition Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 54e0225ba79ae00f17954c6f5055dddaa0b1fd97)
* mesa: Update to use new imxgpu overrideTom Hochstein2018-06-291-3/+4
| | | | | | | | | This makes use of new imxgpu override as future i.MX8M addition requires it as i.MX8M has 3D GPU but no 2D. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 78af77d37275994be154b730ebeb46e86ecab902)
* mesa: Adjust install for files provided by imx-gpu-vivTom Hochstein2018-06-291-6/+5
| | | | | | | | | - Remove wayland-egl.pc - Remove KHR headers Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 36b1840a853ed1b2d766b06b6644692e7f95d398)
* mesa: CleanupTom Hochstein2018-06-291-3/+3
| | | | | | | | | Fix variable order and remove references to non-existent packages. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 94caa35f706b7bce31ff495bed7dbed4625790d0)
* mesa: Fix gbm provideOtavio Salvador2018-06-051-1/+1
| | | | | | | | The gbm provide is virtual/libgbm, not gbm. Fix it. Change-Id: Iead2f2f1bc320136f9f75730e69afe8c7ec59b11 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 88e4a5e6fbf6a8b69ce3ecf610b87cefa0d962be)
* mesa: Remove parts provided by imx-gpu-viv v6Tom Hochstein2018-03-151-3/+17
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Remove /usr/lib/pkgconfig/wayland-egl.pcFabio Berton2017-11-161-0/+4
| | | | | | | | The file /usr/lib/pkgconfig/wayland-egl.pc is installed by imx-gpu-viv and we need to remove from mesa. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: fix configuration rewriteMatt Madison2017-05-191-3/+2
| | | | | | | | | to change just the PACKAGECONFIG[x11] setting (without expansion), instead of overwriting EXTRA_OECONF (with expansion). Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Enable Etnaviv support when using 'use-mainline-bsp' overrideOtavio Salvador2017-03-271-0/+4
| | | | | | | This enables the Gallium backend and its Etnaviv driver. Change-Id: I8557932299f54d77d10015ea125cd26322c7c07b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Set override for imxgpu2d machinesFabio Berton2017-01-271-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Rework recipe to use the feature overridesOtavio Salvador2017-01-271-12/+7
| | | | | | | | The recipe was still using the mx6 specific overrides, which is wrong. We should use the feature overrides so more SoCs can be dealt in the generic way. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Use machine overrides extenderTom Hochstein2016-12-161-3/+1
| | | | | | | Redo configuration using machine overrides extender. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Refactor to use the new i.MX feature overridesTom Hochstein2016-10-271-3/+12
| | | | | | | | Configure the package using the existence of 2D and/or 3D hardware. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Fix configuration for Wayland on i.MXTom Hochstein2016-10-271-4/+3
| | | | | | | | If distro features contains wayland, we assume a wayland backend and configure the package accordingly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Make package configuration specific to i.MXTom Hochstein2016-10-271-1/+1
| | | | | | | | Changes to the package configuration should be applied only to i.MX builds. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-gl: Refactor code to use the new overridesOtavio Salvador2016-09-081-4/+1
| | | | | | | | | The recipe has been reworked to use the 'imxgpu2d' feature override. This override has been taken as it is the common only on the matching overrides. Change-Id: Id9b66b2c8f7c9ebff3f7ee9413700a6b42b8278d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Fix incorrent spelling of Upstream-Status tag.Tom Hochstein2016-05-161-1/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Rebase patches due to OE-Core changesTom Hochstein2016-05-161-30/+15
| | | | | | | | Update patch Add-OpenVG-demos-to-support-wayland.patch due to changes applied in OE-Core:b851cb0a. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-gl: Blacklist the recipe for i.MX6 SoCs with GPUOtavio Salvador2016-04-191-0/+4
| | | | | | | | | | | | | | | | | | 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>
* Rework i.MX6 UltraLite support to not use other i.MX6 codeOtavio Salvador2016-04-192-29/+12
| | | | | | | | | | | | | | 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>
* mesa-demos: Add Wayland and OpenVG supportLauren Post2016-04-193-1/+135
| | | | | | | | 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>
* Drop Freescale official Linux kernel for i.MX23, i.MX28 and i.MX5 SoC familiesOtavio Salvador2016-04-191-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* mesa: Remove virtual/libopenvg from providers listOtavio Salvador2016-04-191-5/+5
| | | | | | | 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>
* mesa-demos: Support for mx6 without GPUsOtavio Salvador2016-04-191-1/+8
| | | | | | | | 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>
* mesa: Fix override of x11 GLX support for i.MX6Otavio Salvador2016-04-191-1/+11
| | | | | | | | 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>
* mesa: Avoid Vivante GPU headers conflict for gl.h and glext.hOtavio Salvador2016-04-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* mesa-demos: Fix so patches only install for SoC with GPULauren Post2015-07-281-2/+8
| | | | | | | | 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>
* mesa: Support for mx6 without GPUsLauren Post2015-07-281-7/+12
| | | | | | | | | 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>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-164-0/+400
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>