summaryrefslogtreecommitdiffstats
path: root/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch
diff options
context:
space:
mode:
authorFumiya Kohzu <kohzu.fumiya@jp.panasonic.com>2023-11-30 13:28:56 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-12-12 11:08:46 +0000
commitdef59d5aa61099be03a81e5189014ffe23f222e5 (patch)
tree103e282318960731f0a6500e8ed42c8c6ad64e94 /meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch
parentb3b7c5dc302e856a432835708704f498b1728083 (diff)
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 <kohzu.fumiya@jp.panasonic.com>
Diffstat (limited to 'meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch')
-rw-r--r--meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch134
1 files changed, 0 insertions, 134 deletions
diff --git a/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch b/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch
deleted file mode 100644
index af2e8c36..00000000
--- a/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0002-mesa-virtio-Fix-missing-wayland-egl-backend-build-error.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-From d676753e3089c5bccb73750fba0f14d287f8add9 Mon Sep 17 00:00:00 2001
-From: Ihor Korynkevych <Ihor.Korynkevych@opensynergy.com>
-Date: Mon, 20 May 2019 15:44:30 +0300
-Subject: [PATCH] mesa-virtio: Fix missing wayland-egl-backend build error.
-
-From the mesa 18.2.8 release notes: libwayland-egl is now distributed by Wayland
-(since 1.15, see announcement), and has been removed from Mesa in this release.
-
-Add back the wayland-egl-backend header file not to break the build.
-
-Issue: EXDCLXXII-59
-
-Upstream-Status: Pending
-
-Signed-off-by: Ihor Korynkevych <ihor.korynkevych@opensynergy.com>
----
- configure.ac | 4 --
- src/egl/Makefile.am | 3 +
- src/egl/wayland/wayland-egl/wayland-egl-backend.h | 67 +++++++++++++++++++++++
- 3 files changed, 70 insertions(+), 4 deletions(-)
- create mode 100644 src/egl/wayland/wayland-egl/wayland-egl-backend.h
-
-diff --git a/configure.ac b/configure.ac
-index 97070b8..afc81e6 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -90,7 +90,6 @@ LIBOMXIL_TIZONIA_REQUIRED=0.10.0
- LIBVA_REQUIRED=0.39.0
- VDPAU_REQUIRED=1.1
- WAYLAND_REQUIRED=1.11
--WAYLAND_EGL_BACKEND_REQUIRED=3
- WAYLAND_PROTOCOLS_REQUIRED=1.8
- XCB_REQUIRED=1.9.3
- XCBDRI2_REQUIRED=1.8
-@@ -1818,9 +1817,6 @@ for plat in $platforms; do
- PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= $WAYLAND_REQUIRED])
- PKG_CHECK_MODULES([WAYLAND_SERVER], [wayland-server >= $WAYLAND_REQUIRED])
- PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED])
-- if test "x$enable_egl" = xyes; then
-- PKG_CHECK_MODULES([WAYLAND_EGL], [wayland-egl-backend >= $WAYLAND_EGL_BACKEND_REQUIRED])
-- fi
- WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
-
- AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
-diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
-index b43805d..0fcc24a 100644
---- a/src/egl/Makefile.am
-+++ b/src/egl/Makefile.am
-@@ -123,6 +123,9 @@ AM_CFLAGS += \
- -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
- -D_EGL_BUILT_IN_DRIVER_DRI2
-
-+AM_CFLAGS += \
-+ -I$(top_srcdir)/src/egl/wayland/wayland-egl
-+
- nodist_libEGL_common_la_SOURCES = \
- $(dri2_backend_GENERATED_FILES)
-
-diff --git a/src/egl/wayland/wayland-egl/wayland-egl-backend.h b/src/egl/wayland/wayland-egl/wayland-egl-backend.h
-new file mode 100644
-index 0000000..869c86f
---- /dev/null
-+++ b/src/egl/wayland/wayland-egl/wayland-egl-backend.h
-@@ -0,0 +1,67 @@
-+/*
-+ * Copyright © 2011 Benjamin Franzke
-+ *
-+ * Permission is hereby granted, free of charge, to any person obtaining a
-+ * copy of this software and associated documentation files (the "Software"),
-+ * to deal in the Software without restriction, including without limitation
-+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
-+ * and/or sell copies of the Software, and to permit persons to whom the
-+ * Software is furnished to do so, subject to the following conditions:
-+ *
-+ * The above copyright notice and this permission notice (including the next
-+ * paragraph) shall be included in all copies or substantial portions of the
-+ * Software.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-+ * DEALINGS IN THE SOFTWARE.
-+ *
-+ * Authors:
-+ * Benjamin Franzke <benjaminfranzke@googlemail.com>
-+ */
-+
-+#ifndef _WAYLAND_EGL_PRIV_H
-+#define _WAYLAND_EGL_PRIV_H
-+
-+#include <stdint.h>
-+
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-+
-+/*
-+ * NOTE: This version must be kept in sync with the Version field in the
-+ * wayland-egl-backend.pc.in file.
-+ */
-+#define WL_EGL_WINDOW_VERSION 3
-+
-+struct wl_surface;
-+
-+struct wl_egl_window {
-+ const intptr_t version;
-+
-+ int width;
-+ int height;
-+ int dx;
-+ int dy;
-+
-+ int attached_width;
-+ int attached_height;
-+
-+ void *driver_private;
-+ void (*resize_callback)(struct wl_egl_window *, void *);
-+ void (*destroy_window_callback)(void *);
-+
-+ struct wl_surface *surface;
-+};
-+
-+#ifdef __cplusplus
-+}
-+#endif
-+
-+#endif
---
-2.7.4
-