virglrenderer: upgrade 1.1.0 -> 1.1.1

Dropped 0001-vrend-Fix-int-conversion-fatal-build-error-with-GCC-.patch
because it is indluded in this release.

Added python3-pyyaml as a build dependency - dependency was introduced in
194c75946a

Changelog: https://gitlab.freedesktop.org/virgl/virglrenderer/-/releases/1.1.1

(From OE-Core rev: 37ecce70b675733997c9c9e883a9c8a6176f7931)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Gyorgy Sarvari
2025-07-18 18:41:58 +02:00
committed by Richard Purdie
parent a3e207f00d
commit 1c80c3cb74
2 changed files with 3 additions and 41 deletions

View File

@@ -1,37 +0,0 @@
From bb129aac12c5aa6e2dd371244b042baa82aff014 Mon Sep 17 00:00:00 2001
From: Purushottam Choudhary <purushottam27.kumar@lge.com>
Date: Tue, 8 Oct 2024 11:47:21 +0530
Subject: [PATCH] vrend: Fix int-conversion fatal build error with GCC-14
Getting below error int conversion during compilation as one the
platforms where EGLNativeDisplayType is an int instead of a pointer.
| ../git/src/vrend_winsys_egl.c: In function 'virgl_egl_init':
| ../git/src/vrend_winsys_egl.c:364:62: error: passing argument 2 of 'egl->funcs.epoxy_eglGetPlatformDisplay' makes pointer from
| 364 | (EGLNativeDisplayType)egl->gbm->device, NULL);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| ../git/src/vrend_winsys_egl.c:364:62: note: expected 'void *' but argument is of type 'int'
Upstream-Status: Backport [https://gitlab.freedesktop.org/virgl/virglrenderer/-/commit/464deabe4d1bfce6b8f414ab0945d9a62b66ddd4]
Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1440>
---
src/vrend_winsys_egl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vrend_winsys_egl.c b/src/vrend_winsys_egl.c
index 9d9f410c..8750f6b2 100644
--- a/src/vrend_winsys_egl.c
+++ b/src/vrend_winsys_egl.c
@@ -361,7 +361,7 @@ struct virgl_egl *virgl_egl_init(EGLNativeDisplayType display_id, bool surfacele
#ifdef ENABLE_GBM
else
egl->egl_display = egl->funcs.eglGetPlatformDisplay(EGL_PLATFORM_GBM_KHR,
- (EGLNativeDisplayType)egl->gbm->device, NULL);
+ (EGLNativeDisplayType*)egl->gbm->device, NULL);
#endif
} else {
#ifdef ENABLE_GBM

View File

@@ -8,11 +8,10 @@ HOMEPAGE = "https://virgil3d.github.io/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10"
DEPENDS = "libdrm libepoxy virtual/egl virtual/libgbm"
SRCREV = "1aeaf5e10a9c89096e96d09599aa419d5c50712f"
SRC_URI = "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch=main;protocol=https \
DEPENDS = "libdrm libepoxy python3-pyyaml-native virtual/egl virtual/libgbm"
SRCREV = "0f1f43929724a6a414c01a29bc51feccb445c2f0"
SRC_URI = "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch=main;protocol=https;tag=${PV} \
file://0001-meson.build-use-python3-directly-for-python.patch \
file://0001-vrend-Fix-int-conversion-fatal-build-error-with-GCC-.patch \
"
inherit meson pkgconfig features_check