summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* various: WORKDIR/UNPACKDIR changesMark Hatle2024-06-104-13/+13
| | | | | | | | | | | | Recently oe-core implemented an architetural change that WORKDIR is no longer to be used as a dumping group for miscellaneous files. link: https://lists.openembedded.org/g/openembedded-architecture/topic/cleanup_of_workdir_by/105739556 oe-core: e022d62ba917 ("base/bitbake.conf: Introduce UNPACKDIR") Based on changes submitted by Trevor Woerner <twoerner@gmail.com> 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>
| * 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>