From def59d5aa61099be03a81e5189014ffe23f222e5 Mon Sep 17 00:00:00 2001 From: Fumiya Kohzu Date: Thu, 30 Nov 2023 13:28:56 +0900 Subject: UnifiedHMI: Update SRCREV for RVGPU and virtio-loopback-driver, and upgrade mesa-virtio. - OSS RVGPU update: Support for xdg_shell. - OSS virtio-gpu-driver update: Simplify directory structure, not use cmake. - Recipe updates: 1, Update SRCREV for RVGPU. Since RVGPU now supports xdg_shell in OSS, the patch enabling xdg_shell has been removed. 2, Remove the agl-shell-desktop interface because it is planned to be phased out. 3, Upgrade the base mesa for mesa-virtio from 18.2.0 to 20.3.5. Remove patches that were used with mesa-18.2.0. We are exploring ways to run it with the newer mesa. 4, Update SRCREV for virtio-loopback-driver. 5, Update meta-data for patches of RVGPU and virtio-gpu-driver. The content of the patches remains unchanged. We are planning to support a gRPC protocol interface for RVGPU. Bug-AGL: SPEC-4898 Change-Id: Ie314f40687c92ef93258b8fdc817584586d20e25 Signed-off-by: Fumiya Kohzu --- .../mesa-virtio/mesa-virtio_18.2.0.bb | 66 ---------------------- 1 file changed, 66 deletions(-) delete mode 100644 meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/mesa-virtio_18.2.0.bb (limited to 'meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/mesa-virtio_18.2.0.bb') diff --git a/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/mesa-virtio_18.2.0.bb b/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/mesa-virtio_18.2.0.bb deleted file mode 100644 index 8e4c96b5..00000000 --- a/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/mesa-virtio_18.2.0.bb +++ /dev/null @@ -1,66 +0,0 @@ -# This recipe temporarily install mesa-18.2.0 as mesa-virtio to run remote-virtio-gpu. -# The mesa-virtio will be removed after remote-virtio-gpu supports upstream mesa. - -SUMMARY = "Mesa library" -SECTION = "graphics" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://docs/license.html;md5=725f991a1cc322aa7a0cd3a2016621c4" - -DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native" -DEPENDS:append = " libdrm wayland wayland-native wayland-protocols python3-native" - -RDEPENDS:${PN}:append = " libgcc wayland libdrm glibc libstdc++ zlib expat" - -LINUX_MAJOR = "${@(d.getVar('PREFERRED_VERSION_linux-yocto') or "x.y").split('.')[0]}" -LINUX_MINOR = "${@(d.getVar('PREFERRED_VERSION_linux-yocto') or "x.y").split('.')[1].split('%')[0]}" - -SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ - file://0001-glBufferData-Update-resource-backing-memory.patch \ - file://0001-Use-wayland-scanner-in-the-path.patch \ - file://0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch \ - file://0001-add-stride-status-to-virtgpu-3d-transfer-to-host-linux-${LINUX_MAJOR}-${LINUX_MINOR}.patch \ - file://0001-Enable-using-python3.patch \ -" - -SRC_URI[md5sum] = "88e1a7f31f259cec69bb76b3cb10c956" -SRC_URI[sha256sum] = "22452bdffff8e11bf4284278155a9f77cb28d6d73a12c507f1490732d0d9ddce" - -S = "${WORKDIR}/mesa-${PV}" - -inherit autotools pkgconfig gettext - -EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols" - -EXTRA_OECONF = " \ - --prefix=/usr/lib/mesa-virtio \ - --exec_prefix=/usr/lib/mesa-virtio \ - --libdir=/usr/lib/mesa-virtio \ - --includedir=/usr/include/mesa-virtio \ - --sysconfdir=/etc/mesa-virtio \ - --datadir=/usr/share/mesa-virtio \ -" - -EXTRA_OECONF:append = " \ - --with-dri-drivers=swrast \ - --with-gallium-drivers=swrast,virgl \ - --with-platforms=drm,wayland \ - --disable-glx \ - --disable-dri3 \ -" - -EXCLUDE_FROM_SHLIBS = "1" - -FILES:${PN} = " \ - /usr/lib/mesa-virtio/* \ - /etc/mesa-virtio/drirc \ - /usr/share/mesa-virtio/* \ -" - -FILES:${PN}-dev += " \ - /usr/lib/mesa-virtio/libglapi.so \ - /usr/lib/mesa-virtio/libEGL.so \ - /usr/lib/mesa-virtio/libgbm.so \ - /usr/lib/mesa-virtio/libGLESv2.so \ - /usr/lib/mesa-virtio/libGLESv1_CM.so \ -" -- cgit 1.2.3-korg