summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* various: Fix variable usageMark Hatle2024-11-211-2/+2
| | | | | | | | | | Remove most direct references to WORKDIR. S = "${WORKDIR}" is no longer allowed, adjust this to refer to UNPACKDIR ${WORKDIR}/package is also incorrect, adjust to ${PKGD}. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xserver-xorg: Add required NULL checkAnatoliy Klymenko2024-08-192-0/+36
| | | | | | | | | | Add NULL check in xf86RotateBlockHandler(). The checked BlockHandler callback is not guaranteed to be always defined. Fixes xorg crash on startup when screen rotation option is enabled. Signed-off-by: Anatoliy Klymenko <anatoliy.klymenko@amd.com> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
* xserver-nodm-init: Set LD_LIBRARY_PATH for xserverAnatoliy Klymenko2024-07-231-0/+8
| | | | | | | | | Adjust xserver LD_LIBRARY_PATH to direct runtime linker towards headless version of libMali. This is required for GPU accelerated image composition in armsoc video driver. Signed-off-by: Anatoliy Klymenko <anatoliy.klymenko@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-mali400: Create new Mali400 layerJohn Toomey2024-05-2864-2935/+0
| | | | | | | | | Create a new layer containing all code related to the Mali400 graphics stack and software. This includes the Mali kernel module / patches, libglu/libgles code, mesa, wayland, kernel recipe and udev rules. This layer also includes a dynamic layer for the qt5 bbappends and patches. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'xilinx/master' into master_2024.1Mark Hatle2024-05-217-237/+5
|\ | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * libmali-xlnx: Rename, version now in recipeMark Hatle2024-05-201-1/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * kernel-module-mali: Fix building with 5.15.x kernelsMark Hatle2024-05-181-3/+3
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * kernel-module-mali: Simplify versionsMark Hatle2024-05-184-185/+2
| | | | | | | | | | | | | | | | | | | | | | Remove the special MALI_VERSION, and set the PV to the proper matching version. With code inspection, there is no purpose to the multiple versions, as the module will work with different kernel versions. Remove unnecessary recipes. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * kernel-module-mali: Fixed buildpath QA warningParth Gajjar2024-05-185-0/+33
| | | | | | | | | | | | | | | | | | | | | | Added: 0029-Fixed-buildpath-QA-warning.patch Resolved buildpath QA warning Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Sync fix to all recipe version Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * kernel-module-mali: Replace vma->vm_flags modifications with modifier callsParth Gajjar2024-05-185-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | Added 0028-Replace-vma-vm_flags-direct-modifications-with-modif.patch Replaced direct modifications to vma->vm_flags with modifier calls. Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Sync 2022.1 through 2023.2 Signed-off: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/master' into master_2024.1Mark Hatle2024-04-241-0/+4
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * kernel-module-mali: Version based to match linux-xlnx kernelMark Hatle2024-04-244-3/+174
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master-nextMark Hatle2024-04-161-1/+1
|\ \ | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * | Switch from master to xlnx_rel_v2024.1 branchMark Hatle2024-04-101-1/+1
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master-nextMark Hatle2024-03-272-0/+30
|\| | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * | kernel-module-mali: Fixed buildpath QA warningParth Gajjar2024-03-202-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | Added: 0029-Fixed-buildpath-QA-warning.patch Resolved buildpath QA warning Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | kernel-module-mali: Version based to match linux-xlnx kernelMark Hatle2024-03-275-8/+236
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | qemu: Remove versions older then 8.1, no longer compatibleMark Hatle2024-03-271-8/+5
| | | | | | | | | | | | | | | | | | Versions older then 8.1 are no longer compatible with the runqemu. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master-nextMark Hatle2024-03-269-0/+1440
|\| | | |/ |/| | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * kernel-module-mali: Replace vma->vm_flags modifications with modifier callsParth Gajjar2024-01-032-0/+82
| | | | | | | | | | | | | | | | Added 0028-Replace-vma-vm_flags-direct-modifications-with-modif.patch Replaced direct modifications to vma->vm_flags with modifier calls. Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
| * libdrm: Move libdrm patches to meta-xilinxJohn Toomey2023-11-227-0/+1350
| | | | | | | | | | | | | | Move all libdrm patches from meta-petalinux to meta-xilinx Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | mesa: Rebase xlnx dri patchMark Hatle2024-02-271-10/+10
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | weston: Rebase RGB patchMark Hatle2024-02-051-5/+5
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | mesa: Rebase xlnx dri patchMark Hatle2024-02-011-10/+12
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | mesa: Limit AMD (Xilinx) DRI patch to target onlyMark Hatle2024-01-301-1/+1
| | | | | | | | | | | | | | | | | | The DRI patch is only relevant when used with an AMD (Xilinx) machine. When a nativesdk version of mesa is built the patch will cause a patching failure. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | cairo: bbappend no longer nededMark Hatle2024-01-301-19/+0
| | | | | | | | | | | | | | Cairo no longer directly links to libgl/libgles. This avoids any mali specific dependencies. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | weston: Move mali400 warning to weston 13Mark Hatle2024-01-301-0/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | weston_%.bbappend: Remove duplicated in weston.incMark Hatle2023-11-081-17/+0
| | | | | | | | | | | | Results in patching error of weston, patch applied twice. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | xserver-xorg: Fix conflict w/ eudevMark Hatle2023-11-081-1/+1
| | | | | | | | | | | | | | The rules file does not need to be named local.rules, instead keep the existing name to avoid a conflict. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'origin/rel-v2023.2' into nanbieldMark Hatle2023-10-234-4/+36
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * libmali-xlnx: Update branch to xlnx_rel_v2023.2John Toomey2023-08-291-1/+1
| | | | | | | | | | | | | | | | Changelog: (none) Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * Various: Update mali support to ignore recipe hash changesMark Hatle2023-08-1911-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | MALI_PACKAGE_ARCH depends MACHINE_ARCH depends on MACHINE We can ignore MACHINE_ARCH, as only the resulting value matters, otherwise the package now depends on MACHINE PACKAGE_ARCH can ignore MALI_PACKAGE_ARCH, again only the resulting value of PACKAGE_ARCH matters. Otherwise the value of MALI_PACKAGE_ARCH will be used in the hash, even if the condition is not true. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * monitor-hotplug.sh: Fix detecting XAUTHORITYDaniel Levin2023-08-141-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously XAUTHORITY location was detected by filtering Xorg process command line, which is not available in busybox ps implementation. Instead detect correct Xorg commnad line by grepping for the "Xorg :displaynum" and extract -auth argument. If no -auth argument present then Xorg is running without display manager, thus XAUTHORITY env var should remain undefined. Signed-off-by: Daniel Levin <daniel.levin@amd.com> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * weston: Add Weston 9.0.0 for libmali, disable Weston 10.0.2 with libmaliMark Hatle2023-07-0714-123/+530
| | | | | | | | | | | | | | | | | | | | | | | | | | | | libmali only provides GL ES 2 interfaces, but Weston 10.0.2 requires GL ES 3 interfaces. Disble 10.0.2 version in this case, and fall back to 9.0.0. The 9.0.0 version is based on the last 9.0.0 supported Yocto Project version. One minor change was required, in order to support on-target upgrade from the unmodified 10.0.2 to the libmali 9.0.0 requires a way to enabel PE set to 1. However if the 9.0.0 version doesn't use libmali, we don't want the PE set so that 10.0.2 remains the superior version. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * xserver-xorg: Move monitor hotplug rules from meta-petalinuxSandeep Gundlupet Raju2023-06-293-0/+68
| | | | | | | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * meta_%.bbappend: Avoid contaminating mesa-native PACKAGECONFIGMark Hatle2023-04-111-1/+1
| | | | | | | | | | | | | | | | Adding meta-xilinx-core was contaminating the PACKAGECONFIG hash when building mesa-native. Workaround this by only adjusting the value when class-target is defined. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * kernel-module-mali: Updated clock name to match LIMA driverParth Gajjar2023-03-232-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>
* | weston: Remove obsolete 10.0.2 bbappendMark Hatle2023-10-211-8/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'github/rel-v2023.1'Mark Hatle2023-09-281-0/+8
|\ \ | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * | weston: Add Weston 9.0.0 for libmali, disable Weston 10.0.2 with libmaliMark Hatle2023-07-0714-123/+530
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libmali only provides GL ES 2 interfaces, but Weston 10.0.2 requires GL ES 3 interfaces. Disble 10.0.2 version in this case, and fall back to 9.0.0. The 9.0.0 version is based on the last 9.0.0 supported Yocto Project version. One minor change was required, in order to support on-target upgrade from the unmodified 10.0.2 to the libmali 9.0.0 requires a way to enabel PE set to 1. However if the 9.0.0 version doesn't use libmali, we don't want the PE set so that 10.0.2 remains the superior version. Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 076b278f8e15b5d3f23f3cb625399b950c273c99) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | Various: Update mali support to ignore recipe hash changesMark Hatle2023-08-2411-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MALI_PACKAGE_ARCH depends MACHINE_ARCH depends on MACHINE We can ignore MACHINE_ARCH, as only the resulting value matters, otherwise the package now depends on MACHINE PACKAGE_ARCH can ignore MALI_PACKAGE_ARCH, again only the resulting value of PACKAGE_ARCH matters. Otherwise the value of MALI_PACKAGE_ARCH will be used in the hash, even if the condition is not true. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | xserver_xorg: Fix rules file namingMark Hatle2023-08-241-1/+1
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | weston: Update to 12.xMark Hatle2023-07-215-4/+42
| | | | | | | | | | | | | | | | | | | | | 9.0.0 and 12.x no longer can use the same ARG8888 patch, break this up by version. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | weston: Add Weston 9.0.0 for libmali, disable Weston 10.0.2 with libmaliMark Hatle2023-07-2114-123/+530
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libmali only provides GL ES 2 interfaces, but Weston 10.0.2 requires GL ES 3 interfaces. Disble 10.0.2 version in this case, and fall back to 9.0.0. The 9.0.0 version is based on the last 9.0.0 supported Yocto Project version. One minor change was required, in order to support on-target upgrade from the unmodified 10.0.2 to the libmali 9.0.0 requires a way to enabel PE set to 1. However if the 9.0.0 version doesn't use libmali, we don't want the PE set so that 10.0.2 remains the superior version. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | mesa-demos: YP now requires Upstream-Status in patchesMark Hatle2023-07-213-2/+4
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | xserver-xorg: Move monitor hotplug rules from meta-petalinuxSandeep Gundlupet Raju2023-07-193-0/+68
| | | | | | | | | | | | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | Yocto Project now requires patches to have Upstream-StatusMark Hatle2023-07-191-0/+2
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | Merge remote-tracking branch 'origin/rel-v2023.1'Mark Hatle2023-05-181-2/+2
|\| | | | | | | | | | | | | | | | | | | | Resolved conflicts Preserved 2022* versions Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * | 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>