summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* libdrm: Upgrade to 2.4.91.imxTom Hochstein2018-10-312-17/+14
| | | | | | | | | | Fixes minimum version for xserver-xorg. Includes patch fuzz fix for: 0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Fix open function build break in g2d-rendererTom Hochstein2018-10-302-0/+46
| | | | | | | | | | | | | from ../git/libweston/g2d-renderer.c:40: | In function 'open', | inlined from 'g2d_renderer_create' at ../git/libweston/g2d-renderer.c:1629:2: | /home/r60874/upstream/fsl-xwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-fsl-linux-gnueabi/weston/4.0.0.imx-r0/recipe- sysroot/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open wit h O_CREAT or O_TMPFILE in second argument needs 3 arguments | __open_missing_mode (); | ^~~~~~~~~~~~~~~~~~~~~~ | Makefile:5266: recipe for target 'libweston/g2d_renderer_la-g2d-renderer.lo' failed Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Provides GBM for i.MX 8Tom Hochstein2018-10-301-0/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Disable opengl for 2D-only SOCTom Hochstein2018-10-301-1/+4
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Set desktop shell size to 1080p for i.MX 8MTom Hochstein2018-10-301-0/+3
| | | | | | For i.MX 8M, set the shell size to 1080p to reduce GPU pressure. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Use argb8888 as gbm-format for i.MX 8MQTom Hochstein2018-10-302-0/+22
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Move i.MX-specific config file to recipeTom Hochstein2018-10-302-2/+22
| | | | | | Make it easier to customize the config file. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: BugfixesTom Hochstein2018-10-261-1/+1
| | | | | | | | | | | | | | | | | - g2d-renderer: Enable dither effect in the fbdev board - compositor-drm: avoid commit invalid framebuffer to plane - g2d-render: fix the render error in vg_gc2000 test - g2d-render: fix the residual image on display - g2d-renderer: import DMABuf should use offset in attributes - compositor-drm: Revert the fence support in DRM compositor - compositor-drm: fix video playback hang after add fence in glrender - MGS-4050 [#ccc] libweston/compositor-fbdev: Use fbGetDisplayByIndex when selecting the framebuffer - compositor-drm: Add display fence support - compositor-drm: fix cannot reuse current framebuffer if damage is empty - g2d-render: weston will be closed after executing weston-info - g2d-render: support new ion allocator Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm (imx): Set PACKAGE_ARCH to MACHINE_SOCARCHOtavio Salvador2018-10-251-0/+2
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: prevent mutually exclusive packageconfigsMax Krummenacher2018-10-061-0/+1
| | | | | | | | | | | | | | | | 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>
* recipes: Limit BSP specific recipes on relevant SOCsKhem Raj2018-09-282-0/+4
| | | | | | | | | | | 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>
* libsdl2: avoid basehash changesAndré Draszik2018-09-221-5/+1
| | | | | | | | | | | | | | | | | | 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>
* weston: install weston.ini to disable idle timeoutGary Bisson2018-09-121-1/+5
| | | | | | | | 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>
* wayland-protocols: Avoid recipe parsing for foreign machinesOtavio Salvador2018-09-121-0/+1
| | | | | | | | | 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>
* wayland-protocols: Fix PACKAGE_ARCH for i.MX-specific versionTom Hochstein2018-09-111-1/+3
| | | | | | | | 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>
* wayland-protocols: Fix fetcher errorTom Hochstein2018-09-111-1/+3
| | | | | | | | 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>
* imx-gpu-viv: Add support for OpenCL and OpenVXTom Hochstein2018-09-081-1/+11
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Add support for i.MX 8, 8M, and 8X familiesTom Hochstein2018-09-081-3/+7
| | | | | | | | - 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>
* imx-dpu-g2d: Use machine override for compatibilityTom Hochstein2018-09-081-1/+1
| | | | | | Use imxdpu override for machine compatibility. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Add HDR10 metadata and alpha compositing protocolsTom Hochstein2018-09-073-1/+331
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Downgrade to 1.13 for i.MXTom Hochstein2018-09-071-0/+20
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-g2d: Improve COMPATIBLE_MACHINETom Hochstein2018-09-071-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xf86-video-armada: Update to latest gitAndreas Müller2018-09-071-3/+3
| | | | | | | 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>
* Revert "wayland: Remove file provided by imx-gpu-viv"Gary Bisson2018-09-061-4/+0
| | | | | | | | | | | | | | | | | 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>
* Revert "libdrm: Remove unused patches"Pierluigi Passaro2018-08-303-0/+75
| | | | | | This reverts commit dca6c66e5710938a3ea035b09b86ca3d1a6915c6. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Remove wayland-egl filesTom Hochstein2018-08-301-6/+0
| | | | | | | | 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>
* xf86-video-imx-vivante: Update to 6.2.4.p1.6Tom Hochstein2018-08-301-0/+0
| | | | | | | | 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>
* imx-dpu-g2d: Update to 1.4.6Tom Hochstein2018-08-301-3/+3
| | | | | | | 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>
* imx-gpu-g2d: Update to 6.2.4.p1.6Tom Hochstein2018-08-301-3/+3
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Update to 6.2.4.p1.6Tom Hochstein2018-08-303-9/+9
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix non-GPU supportTom Hochstein2018-08-301-1/+4
| | | | | | | | | 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>
* waffle: Configure for i.MX GPUTom Hochstein2018-08-301-0/+7
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xorg: Update OpenGL configurationTom Hochstein2018-08-301-1/+4
| | | | | | | | 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>
* EULA: Update to v24Tom Hochstein2018-08-301-1/+2
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Remove redundant install codeTom Hochstein2018-08-021-3/+0
| | | | | | | | 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>
* libdrm: Restore manpages supportTom Hochstein2018-08-021-6/+2
| | | | | | | | | 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>
* xf86-video-imx-vivante: Set linker flags properlyTom Hochstein2018-08-021-1/+1
| | | | | | | 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>
* imx-gpu-viv: libgl-imx-dev: remove conflicting rdependsMax Krummenacher2018-07-311-2/+0
| | | | | | | | | | | | | 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>
* wayland: Remove file provided by imx-gpu-vivFabio Berton2018-07-121-0/+4
| | | | | | | | 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>
* imx-gpu-apitrace: add i.MX8MQ supportGary Bisson2018-07-111-7/+20
| | | | | | | | 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>
* imx-gpu-viv: Add i.MX 8 supportTom Hochstein2018-07-112-6/+32
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Add imxfbdev and imxdrm to MACHINEOVERRIDES_EXTENDERTom Hochstein2018-07-112-8/+3
| | | | | | | | - 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>
* imx-gpu-viv: fix vulkan headers issueGary Bisson2018-07-111-1/+1
| | | | | | | | | 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>
* imx-gpu-viv: add missing wayland-egl.pc copyGary Bisson2018-07-111-0/+1
| | | | | | | Otherwise prevents other packages to build, producing this error: | No package 'wayland-egl' found Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
* libdrm: Fix typo in DEFAULT_PREFERENCEFabio Berton2018-07-061-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Set DEFAULT_PREFERENCE to -1Fabio Berton2018-07-061-0/+2
| | | | | | | | | 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>
* weston-init: Fix inoperable Weston desktopTom Hochstein2018-07-055-0/+66
| | | | | | | | | | | | | | | | | | 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>
* weston-init: Remove OpenGL requirement for i.MX 6SLTom Hochstein2018-07-051-0/+5
| | | | | | | 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>
* weston: Remove OpenGL requirement for i.MX 6SLTom Hochstein2018-07-051-3/+7
| | | | | | | | 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>
* weston: Use cairo for parts with 3D GPUTom Hochstein2018-07-051-0/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>