summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* kernel-module-mali: Updated clock name to match LIMA driverParth Gajjar2023-03-242-0/+96
| | | | | | | | | | | | | Added 0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch Updated clock name and structure to match LIMA driver Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Fixup patch path to match recipe S value. Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 41f719f070eff3ae5774a175763fa91fd8169e28) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libmali-xlnx: Added support for EGL_IMAGE_PRESERVED_KHR attributeParth Gajjar2023-02-231-2/+2
| | | | | | | | Added support for EGL_IMAGE_PRESERVED_KHR attribute after update in weston 10.0.2 Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* cairo: add trace to PACKAGECONFIG to fix do_package error while enabling ↵Quanyang Wang2023-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | multilib Issue: LINCD-8359 In cairo_1.16.0.bb, the macro MULTILIB_SCRIPTS is set to be "${PN}-perf-utils:${bindir}/cairo-trace" which indicates that the script cairo-trace will be handled using update-alternatives with multilib. But in the bbappend meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend, the "trace" is removed from PACKAGECONFIG and this will cause that the class multilib_script can't find the cairo-trace script. The error log is as below: ERROR: cairo-1.16.0-r0 do_package: Error executing a python function in exec_python_func() autogenerated: ...... Exception: bb.process.ExecutionError: Execution of 'build/tmp-glibc/work/cortexa53-wrs-linux/cairo/1.16.0-r0/temp/run.multilibscript_rename.22582' failed with exit code 1: mv: cannot stat 'build/tmp-glibc/work/cortexa53-wrs-linux/cairo/1.16.0-r0/package/usr/bin/cairo-trace': No such file or directory WARNING: exit code 1 from a shell command. So add "trace" back to PACKAGECONFIG to fix the do_package error. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* cairo: Preserve stock configuration for lima, only override for libmaliMark Hatle2023-01-251-1/+6
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libmali-xlnx: install packages only when related DISTRO_FEATURES are selectedQuanyang Wang2023-01-251-1/+4
| | | | | | | | | | | | | | Issue: LINCD-4047 When DISTRO_FEATURES doesn't contain fbdev, ${D}${libdir}/fbdev/${MONOLITHIC_LIBMALI} will not be installed, and this will trigger the build warning as below: WARNING: libmali-xlnx-r9p0-01rel0-r0 do_package: libmali-xlnx:NOT adding alternative provide /usr/lib64/libMali.so.9.0: /usr/lib64/fbdev/libMali.so.9.0 does not exist So only add ${PN}-x11/fbdev/wayland to PACKAGES when related DISTRO_FEATURES is selected. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* weston: Disabling GL_EXT_unpack_subimageParth Gajjar2023-01-182-1/+38
| | | | | | | | | | Disabling GL_EXT_unpack_subimage as it is not supported by GLES2.0 Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Reworked recipe SRC_URI to only apply to libmali case Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-mali: Add patch to fix mali probe issueParth Gajjar2023-01-132-0/+47
| | | | | | | Added 0026-Fix-gpu-driver-probe-failure.patch for probe fix Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa-gl: Use of mesa-gl assumes you have libmali-xlnxMark Hatle2023-01-061-2/+12
| | | | | | | | | | If a program wants OpenGL, but not GLE you still need files from libmali in order to compile. Add necessary links to header files in the -dev package. Since we now depend on libmali-xlnx, we also now have a machine specific package. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* weston-init: Don't replace weston.iniChristian Kohn2023-01-062-10/+2
| | | | | | | | | | | | | Instead of replacing the template weston.ini from the original recipe, augment it as needed: 1. There is a PACKAGECONFIG option to set idle-time=0. Use it. 2. For zynqmp device enablement, set gbm-format=rgb565. This keeps the template weston.ini intact so the user can easily uncomment the desired options while running on the target. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa: Refactor lima enablementMark Hatle2022-12-161-5/+6
| | | | | | Set when DISTRO_FEATURES ! 'libmali' and MACHINE_FEATURES = 'mali400' Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Refactor mali400 related bbappendsMark Hatle2022-12-168-27/+52
| | | | | | Combination of MACHINE_FEATURES = 'mali400' and DISTRO_FEATURES = 'libmali'. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa-demos: Move mesa-demos from meta-petalinuxMark Hatle2022-12-164-3/+165
| | | | | | | Move mesa-demos work from meta-petalinux, fix libmali integration and remove the testapps workaround. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mali400: Added patch for compatibility with 6.1 kernelYash Ladani2022-12-082-0/+68
| | | | | | | | | Added 0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch which has register_shrinker API changes and DMA_BUF Import to make mali400 compilation compatible with 6.1 kernel. Signed-off-by: Yash Ladani <yash.ladani@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Fix file permissionsJohn Toomey2022-12-021-0/+0
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'langdale' into 2023Mark Hatle2022-11-151-0/+1
|\ | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * weston: Fix build with libmali/mali400Mark Hatle2022-11-102-0/+78
| | | | | | | | | | | | | | | | libmali provides GLESv1 and v2, but not v3 which Weston is using. Implement workarounds for v3 usage Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * weston: Disable dmabuf-feedback, not supported due to mali-xlnx incompatibilityMark Hatle2022-11-101-0/+3
| | | | | | | | | | | | | | Dependency gbm found: NO found 17.3 but need: '>= 21.1.1' (cached) Message: dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | weston: Fix build with libmali/mali400Mark Hatle2022-10-262-0/+79
| | | | | | | | | | | | | | | | libmali provides GLESv1 and v2, but not v3 which Weston is using. Implement workarounds for v3 usage Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | mesa: Fix mesa-native when mali400 is enabledMark Hatle2022-10-261-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | mesa: Add CONFIG_DRM_XLNX direct rendering supportMark Hatle2022-10-252-0/+31
| | | | | | | | | | | | Also update the kernel to enable this support as part of the lima work. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | mesa: Enable lima support on zynqmp-eg and zynqmp-evMark Hatle2022-10-251-0/+8
| | | | | | | | | | | | | | Also completely disable if mali400 is enabled, the mesa-gl should be used instead. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | mali400: mali400 is now a MACHINE_FEATURE, set package arch to MACHINE_ARCHMark Hatle2022-10-258-15/+16
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | libmali-xlnx: Use REQUIRED_MACHINE_FEATURES for better error messagesMark Hatle2022-10-251-3/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | kernel-module-mali: Use REQUIRED_MACHINE_FEATURES for better error messagesMark Hatle2022-10-251-3/+2
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | libmali-xlnx: Move to enable via mali400 overrideMark Hatle2022-10-251-2/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | kernel-module-mali: Enable based on :mali400 overrideMark Hatle2022-10-251-2/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | kernel-module-mali: Switch to using community device-tree namesMark Hatle2022-10-252-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The community LIMA driver uses a series of names that are different then the legacy Xilinx names. Moves from the legacy names to the more standard names. This will allow us to have a single device tree that works with both the mali driver, as well as the lima driver. Interrupt-names: IRQGP -> gp IRQGPMMU -> gpmmu IRQPP0 -> pp0 IRQPPMMU0 -> ppmmu0 IRQPP1 -> pp1 IRQPPMMU1 -> ppmmu1 ... Clock-names: gpu_pp0 -> core gpu_pp1 -> bus Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | weston: commas not spaces for defining clientsMark Hatle2022-10-211-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | weston: Disable dmabuf-feedback, not supported due to mali-xlnx incompatibilityMark Hatle2022-10-211-0/+3
|/ | | | | | | Dependency gbm found: NO found 17.3 but need: '>= 21.1.1' (cached) Message: dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge branch 'honister' into kirkstone-nextMark Hatle2022-09-201-1/+1
|\ | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * various: Move to 2022.2 release branchMark Hatle2022-09-201-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Transition LICENSE values to supported valuesMark Hatle2022-09-131-1/+1
| | | | | | | | | | | | | | | | GPLv2+ to GPL-2.0-or-later GPLv2 to GPL-2.0-only Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge branch 'honister' into kirkstone-nextMark Hatle2022-09-121-2/+2
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * xserver-nodm-init: Fix FILESEXTRAPATHS : placementMark Hatle2022-04-061-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mhatle@xilinx.com>
| * xserver-nodm-init: limit the number of restart for serviceRohit Visavalia2022-03-222-0/+14
| | | | | | | | | | | | | | | | | | With current option "Restart=always", xserver-nodm service will keep on restart if it fails. By limiting the restart count(5) unnecessary restart can be avoided. Signed-off-by: Rohit Visavalia <rohit.visavalia@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * zynqmp: xorg: Update xorg configuration file to use busidRohit Visavalia2022-03-221-0/+1
| | | | | | | | | | | | | | | | | | Instead of relying in Xorg's default flow(dri/card0) use DP PS busid for Display device. User can update busid based on display device used. Signed-off-by: Rohit Visavalia <rohit.visavalia@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * weston-init: Pass --continue-without-input when launching westonChristian Kohn2022-02-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that we do not need keyboard/mouse or other input system Weston's default behavior is to not open if input devices are not found, but we may not always have input devices connected for systems running weston in field. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> This commit is based on 762a20b493cc219a46d9ac188fe4895a111ee7b4 from meta-openembedded-core. It was later reverted in master because it breaks the fbdev backend. At Xilinx, we are using the drm backend so it is safe to add this. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * weston-init: Copy init and service file from openembedded-coreChristian Kohn2022-02-282-0/+125
| | | | | | | | | | | | | | | | | | Current as of honister commits e09625b31c6dbe7121665a554e26e267b809beb1 and a849f29bcbd85c6d30d2ef4e061ef332ea555450 Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * weston-init: Use 644 permission for ini fileChristian Kohn2022-02-281-1/+1
| | | | | | | | | | | | | | | | | | Use 644 permission for the Xilinx ini file which matches the default ini file permissions from upstream. This allows non-root users to also load this ini file. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * libmali-xlnx: Update to 2022 branchMark Hatle2022-01-121-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Resolved DRI compilation for xserver and xwaylandNeel Gandhi2022-01-072-0/+3
| | | | | | | | | | Signed-off-by: Neel Gandhi <neel.gandhi@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Initial restructure/split of meta-xilinx-bspMark Hatle2021-12-2240-0/+1615
| | | | | | | | | | Create a new meta-xilinx-core, move core functionality to the core, keeping board specific files in the bsp layer. zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp is not available it will not fail. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* weston-init: Rename to remove the % to match oe-coreMark Hatle2022-08-311-0/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* xserver-nodm-init: Fix FILESEXTRAPATHS : placementMark Hatle2022-07-231-1/+1
| | | | Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* *WORKAROUND* weston-init: Launch weston as root userChristian Kohn2022-05-021-2/+2
| | | | | | | | | Update the systemd service file to launch weston as root user instead of the weston user as otherwise weston errors out with an EGL_BAD_ALLOC error which has not been root caused at this point. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move from 2021.2 to 2022.1Mark Hatle2022-05-021-1/+1
| | | | | | | | | | Rename recipes from 2021.2 to 2022.1 as necessary. Move internal references to 2022.1 (layer.conf and local.conf.sample) Move kernel to 2022.1 branch, as well as various kernel modules. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* xserver-nodm-init: limit the number of restart for serviceRohit Visavalia2022-03-282-0/+14
| | | | | | | | | With current option "Restart=always", xserver-nodm service will keep on restart if it fails. By limiting the restart count(5) unnecessary restart can be avoided. Signed-off-by: Rohit Visavalia <rohit.visavalia@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zynqmp: xorg: Update xorg configuration file to use busidRohit Visavalia2022-03-281-0/+1
| | | | | | | | | Instead of relying in Xorg's default flow(dri/card0) use DP PS busid for Display device. User can update busid based on display device used. Signed-off-by: Rohit Visavalia <rohit.visavalia@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* weston-init: Pass --continue-without-input when launching westonChristian Kohn2022-03-282-2/+2
| | | | | | | | | | | | | | | | | | This ensures that we do not need keyboard/mouse or other input system Weston's default behavior is to not open if input devices are not found, but we may not always have input devices connected for systems running weston in field. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> This commit is based on 762a20b493cc219a46d9ac188fe4895a111ee7b4 from meta-openembedded-core. It was later reverted in master because it breaks the fbdev backend. At Xilinx, we are using the drm backend so it is safe to add this. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* weston-init: Copy init and service file from openembedded-coreChristian Kohn2022-03-282-0/+125
| | | | | | | | | Current as of honister commits e09625b31c6dbe7121665a554e26e267b809beb1 and a849f29bcbd85c6d30d2ef4e061ef332ea555450 Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>