aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2018-10-25libdrm (imx): Set PACKAGE_ARCH to MACHINE_SOCARCHOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-06cairo: prevent mutually exclusive packageconfigsMax Krummenacher
cairo does not allow to configure both for opengl and glesv2. With commit f8270871c in openembedde-core and distro features 'x11 opengl' enabled the opengl packageconfig gets added. Remove a potentially existing opengl from packageconfig. | checking for glesv2... yes | configure: error: use either --enable-gl=yes or --enable-glesv2=yes. Not both at the same time. ... | ERROR: Function failed: do_configure Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-28recipes: Limit BSP specific recipes on relevant SOCsKhem Raj
This helps in using meta-freescale with other BSP layers in same projects, which is common usecase Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com> Cc: Zhenhua Luo <zhenhua.luo@nxp.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-22libsdl2: avoid basehash changesAndré Draszik
When adding meta-freescale, the sstate basehash of libsdl2 changes because EXTRA_OECONF_IMX is appended to EXTRA_OECONF unconditionally, causing EXTRA_OECONF to now depend on EXTRA_OECONF_IMX, invalidating the sstate. This is particularly annoying for the native flavour of this recipe, because qemu-native depends on libsdl2-native, causing a massive rebuild of a lot of packages for no good reason, preventing efficient sstate re-use across different machines. Just drop EXTRA_OECONF_IMX and append to EXTRA_OECONF using variable overrides directly. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-12weston: install weston.ini to disable idle timeoutGary Bisson
In order to get the same behavior as meta-fsl-bsp-release (see weston_4.0.0.bbappend). Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-12wayland-protocols: Avoid recipe parsing for foreign machinesOtavio Salvador
This restricts the parsing for machines which has either imxgpu or imxfbdev SoC features. Fixes: contamination of other BSP machines Reported-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-11wayland-protocols: Fix PACKAGE_ARCH for i.MX-specific versionTom Hochstein
Fix the PACKAGE_ARCH so that our i.MX-specific version does not override the standard allarch version. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-11wayland-protocols: Fix fetcher errorTom Hochstein
The i.MX-specific recipe is using a standard archive, so the i.MX-specific recipe version cannot be used in the archive URL. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-08imx-gpu-viv: Add support for OpenCL and OpenVXTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-08imx-gpu-viv: Add support for i.MX 8, 8M, and 8X familiesTom Hochstein
- 8 Family supports GLES 3.2 - 8M and 8X support GLES 3.1 - All i.MX 8 Series require wayland Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-08imx-dpu-g2d: Use machine override for compatibilityTom Hochstein
Use imxdpu override for machine compatibility. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-07wayland-protocols: Add HDR10 metadata and alpha compositing protocolsTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-07wayland-protocols: Downgrade to 1.13 for i.MXTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-07imx-gpu-g2d: Improve COMPATIBLE_MACHINETom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-07xf86-video-armada: Update to latest gitAndreas Müller
Tested on X-server glmark-es2 creates same results. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-06Revert "wayland: Remove file provided by imx-gpu-viv"Gary Bisson
This reverts commit 3be51cd536cfb08e95e852ddfdb180a51798b1f0. This fixes the following issue: | No package 'wayland-egl' found Reason is that 3be51cd5 should have been removed as soon as the following commit was pushed: f1e39bd1 imx-gpu-viv: Remove wayland-egl files Since imx-gpu-viv doesn't provide wayland-egl any longer, wayland recipe has to. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30Revert "libdrm: Remove unused patches"Pierluigi Passaro
This reverts commit dca6c66e5710938a3ea035b09b86ca3d1a6915c6. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30imx-gpu-viv: Remove wayland-egl filesTom Hochstein
Remove wayland-egl files since this support is now provided by Wayland itself. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30xf86-video-imx-vivante: Update to 6.2.4.p1.6Tom Hochstein
This is a version change only to keep the naming consistent. The SRCREV is unchanged from 6.2.4.p1.2. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30imx-dpu-g2d: Update to 1.4.6Tom Hochstein
Includes support for i.MX 8 and 8X families. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30imx-gpu-g2d: Update to 6.2.4.p1.6Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30imx-gpu-viv: Update to 6.2.4.p1.6Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30weston: Fix non-GPU supportTom Hochstein
The desktop failed to start on i.MX parts without GPU. The problem is fixed, and now the package must be configured for i.MX GPU support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30waffle: Configure for i.MX GPUTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30xserver-xorg: Update OpenGL configurationTom Hochstein
Build now with the default OpenGL configuration except no glamor for i.MX 6 or 7 with GPU. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30EULA: Update to v24Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-02mesa: Remove redundant install codeTom Hochstein
Now that wayland 1.15 provides libwayland-egl, the main mesa recipe removes libwayland-egl from its install, so no need to repeat that here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-02libdrm: Restore manpages supportTom Hochstein
Support for manpages, a pyro feature, had to be removed when the recipe was backported to rocko. This removal should not have been upstreamed here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-02xf86-video-imx-vivante: Set linker flags properlyTom Hochstein
Append LDFLAGS to LFLAGS instead of replacing LFLAGS. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-31imx-gpu-viv: libgl-imx-dev: remove conflicting rdependsMax Krummenacher
The recipe explicitly sets a conflict between the two packages libgl-imx and libgl-mesa with some python magic, so one shouldn't RDEPEND on the other. e.g. when building the SDK most -dev packages are missing and one gets: | Problem: package libgl-imx-dev-1:6.2.4.p1.2+aarch32-r0.armv7at2hf_neon_mx6qdl requires libgl-mesa-dev, but none of the providers can be installed | - package libgl-mesa-dev-2:18.1.3-r0.armv7at2hf_neon_mx6qdl conflicts with libgl-dev provided by libgl-imx-dev-1:6.2.4.p1.2+aarch32-r0.armv7at2hf_neon_mx6qdl | - conflicting requests Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-12wayland: Remove file provided by imx-gpu-vivFabio Berton
wayland-egl.pc is installed by imx-gpu-viv and we need to remove from wayland package for imxgpu machines. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11imx-gpu-apitrace: add i.MX8MQ supportGary Bisson
This is pretty much a copy of the recipe from meta-fsl-bsp-release. The particularity of the i.MX8MQ is that it doesn't include a GPU2D and therefore depending on virtual/libg2d isn't possible. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11imx-gpu-viv: Add i.MX 8 supportTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11imx-base.inc: Add imxfbdev and imxdrm to MACHINEOVERRIDES_EXTENDERTom Hochstein
- weston uses the imxfbdev override for backend configuration - imx-gpu-viv uses the imxdrm override for dependency configuration Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11imx-gpu-viv: fix vulkan headers issueGary Bisson
They need to be removed in favor of the standard ones. Otherwise GStreamer (or most likely other packages) throws this error: "ERROR: The file /usr/include/vulkan/vk_sdk_platform.h is installed by both vulkan and imx-gpu-viv, aborting" Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11imx-gpu-viv: add missing wayland-egl.pc copyGary Bisson
Otherwise prevents other packages to build, producing this error: | No package 'wayland-egl' found Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-06libdrm: Fix typo in DEFAULT_PREFERENCEFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-06weston: Set DEFAULT_PREFERENCE to -1Fabio Berton
This recipe need to be set by machine using: PREFERRED_VERSION_weston = "4.0.0.imx" Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston-init: Fix inoperable Weston desktopTom Hochstein
For an image configured with pam and systemd, Weston apps would fail to run. For example: $ weston-terminal failed to connect to Wayland display: No such file or directory failed to create display: No such file or directory This fix is based on a proposal by Daniel Diaz to OE-core. The main part of the fix is the use of a new, manually created tty. The original proposal called weston directly, but that didn't seem to work where weston-launch did. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston-init: Remove OpenGL requirement for i.MX 6SLTom Hochstein
For parts with 2D GPU but not 3D GPU, OpenGL is not required. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Remove OpenGL requirement for i.MX 6SLTom Hochstein
OpenGL is not required for parts with 2D GPU but no 3D GPU. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Use cairo for parts with 3D GPUTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Add G2D rendering supportTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Set configuration for non-DRM partsTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Use a fork for i.MXTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Copy upstream 4.0 recipeTom Hochstein
http://git.yoctoproject.org/cgit.cgi/poky/tree/?h=master-next&id=d05a268c5069c3fb47ceed47862ba36b5f49ebd3 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Remove 2.0 recipeTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05mesa-demos: Fix condition for GLES supportTom Hochstein
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>
2018-07-05libepoxy: Append EGL_CFLAGS to CFLAGSFabio Berton
Add -DEGL_API_FB for non x11 distros and -DWL_EGL_PLATFORM for wayland distros. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03mesa: Fix do_install_append_imxgpu taskFabio Berton
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>