summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-02-08 08:20:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-09 09:57:24 +0000
commit372be4753e350924b373b463e6e57595abfee2f3 (patch)
tree0ef5912a185544c3406d24fe119ce2604f443ddb /meta
parentc4f80179ca501653d3e50b2f7f88baf9e188bd0e (diff)
downloadpoky-372be4753e350924b373b463e6e57595abfee2f3.tar.gz
xf86-video-vmware: update 13.3.0 -> 13.4.0
Remove 0002-add-option-for-vmwgfx.patch; the original reason has been long resolved: Our Mesa doesn't yet ship the XA Gallium state tracker that the VMWGFX sub-driver needs, so just disable vmwgfx. (From OE-Core rev: 04ee687c93b305275d4675133d125448af011d54) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-vmware/0002-add-option-for-vmwgfx.patch103
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.4.0.bb (renamed from meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.3.0.bb)9
2 files changed, 2 insertions, 110 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-vmware/0002-add-option-for-vmwgfx.patch b/meta/recipes-graphics/xorg-driver/xf86-video-vmware/0002-add-option-for-vmwgfx.patch
deleted file mode 100644
index b37f697aa4..0000000000
--- a/meta/recipes-graphics/xorg-driver/xf86-video-vmware/0002-add-option-for-vmwgfx.patch
+++ /dev/null
@@ -1,103 +0,0 @@
1From da6612659a279bcb02f70622b53a3894fbc11052 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Fri, 9 Dec 2016 14:35:45 +0200
4Subject: [PATCH] Add option for vmwgfx
5
6Upstream-Status: Submitted
7
8Signed-off-by: Ross Burton <ross.burton@intel.com>
9Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
10---
11 configure.ac | 51 +++++++++++++++++++++------------------------------
12 1 file changed, 21 insertions(+), 30 deletions(-)
13
14diff --git a/configure.ac b/configure.ac
15index 9f259ce..f3fec57 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -64,6 +64,13 @@ AC_ARG_ENABLE(vmwarectrl-client,
19 [VMWARECTRL=$enableval], [VMWARECTRL=no])
20 AM_CONDITIONAL(BUILD_VMWARECTRL, [test "x$VMWARECTRL" = xyes])
21
22+# Define a configure option to build the vmwgfx driver
23+AC_ARG_ENABLE(vmwgfx,
24+ AS_HELP_STRING([--disable-vmwgfx],
25+ [Disable vmwgfx driver (KMS/3D) (default: enabled)]),
26+ [VMWGFX="$enableval"], [VMWGFX="yes"])
27+AM_CONDITIONAL(BUILD_VMWGFX, test "x$VMWGFX" = xyes)
28+
29 # Store the list of server defined optional extensions in REQUIRED_MODULES
30 XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
31 XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
32@@ -85,11 +92,6 @@ PKG_CHECK_EXISTS([xorg-server >= 1.4.99],
33 [AC_DEFINE([HAVE_XORG_SERVER_1_5_0], 1,
34 [Has version 1.5.0 or greater of the Xserver])])
35
36-PKG_CHECK_EXISTS([xorg-server >= 1.7.0],
37- [AC_DEFINE([HAVE_XORG_SERVER_1_7_0], 1,
38- [Has version 1.7.0 or greater of the Xserver])
39- BUILD_VMWGFX=yes],[BUILD_VMWGFX=no])
40-
41 PKG_CHECK_EXISTS([xorg-server >= 1.12.0],
42 [AC_DEFINE([HAVE_XORG_SERVER_1_12_0], 1,
43 [Has version 1.12.0 or greater of the Xserver])])
44@@ -114,34 +116,22 @@ AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
45
46 AC_SUBST([moduledir])
47
48-if test x$BUILD_VMWGFX = xyes; then
49- PKG_CHECK_MODULES([LIBDRM], [libdrm],[],[BUILD_VMWGFX=no])
50-fi
51-if test x$BUILD_VMWGFX = xyes; then
52-#
53-# Early versions of mesa 10 forgot to bump the XA major version number in
54-# the xa_tracker.h header
55-#
56- PKG_CHECK_MODULES([XATRACKER], [xatracker >= 0.4.0],
57- [PKG_CHECK_EXISTS([xatracker = 2.0.0],
58- [AC_DEFINE([HAVE_XA_2], 1,
59- [Has version 2 of XA])])],
60- [BUILD_VMWGFX=no])
61-#
62-# Check for prime.
63-#
64+AC_MSG_CHECKING([whether to build Kernel Mode Setting and 3D])
65+if test x$VMWGFX = xyes; then
66+ AC_MSG_RESULT([yes])
67+ PKG_CHECK_MODULES([LIBDRM], [libdrm])
68+ # Check for prime.
69 PKG_CHECK_EXISTS([libdrm >= 2.4.38],
70 [AC_DEFINE([HAVE_LIBDRM_2_4_38], 1,
71 [Has version 2.4.38 or greater of libdrm])])
72-fi
73
74-DRIVER_NAME=vmware
75-AC_SUBST([DRIVER_NAME])
76-
77-AC_MSG_CHECKING([whether to build Kernel Mode Setting and 3D])
78-if test x$BUILD_VMWGFX = xyes; then
79- AC_MSG_RESULT([yes])
80- AC_DEFINE([BUILD_VMWGFX], 1, [Building the vmwgfx driver path])
81+ # Early versions of mesa 10 forgot to bump the XA major version number
82+ # in the xa_tracker.h header
83+ PKG_CHECK_MODULES([XATRACKER], [xatracker >= 0.4.0],
84+ [PKG_CHECK_EXISTS([xatracker = 2.0.0],
85+ [AC_DEFINE([HAVE_XA_2], 1,
86+ [Has version 2 of XA])])])
87+ AC_DEFINE([BUILD_VMWGFX], 1, [Building the vmwgfx driver path])
88 libudev_check=yes
89 AC_ARG_WITH([libudev],
90 [AS_HELP_STRING([--without-libudev],
91@@ -158,7 +148,8 @@ else
92 AC_MSG_RESULT([no])
93 fi
94
95-AM_CONDITIONAL(BUILD_VMWGFX, test "x$BUILD_VMWGFX" = xyes)
96+DRIVER_NAME=vmware
97+AC_SUBST([DRIVER_NAME])
98
99 AC_CONFIG_FILES([
100 Makefile
101--
1022.1.4
103
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.3.0.bb b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.4.0.bb
index 41612b7f07..d7ba2b9e86 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.3.0.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.4.0.bb
@@ -7,13 +7,8 @@ DESCRIPTION = "vmware is an Xorg driver for VMware virtual video cards."
7LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53" 7LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53"
8 8
9DEPENDS += "virtual/libx11 xorgproto libpciaccess" 9DEPENDS += "virtual/libx11 xorgproto libpciaccess"
10XORG_DRIVER_COMPRESSOR = ".tar.xz"
10 11
11SRC_URI += "file://0002-add-option-for-vmwgfx.patch" 12SRC_URI[sha256sum] = "aed31ee5ed5ecc6e2226705383e7ad06f7602c1376a295305f376b17af3eb81a"
12
13SRC_URI[md5sum] = "08d66d062055080ff699ab4869726ea2"
14SRC_URI[sha256sum] = "47971924659e51666a757269ad941a059ef5afe7a47b5101c174a6022ac4066c"
15 13
16COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' 14COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
17
18PACKAGECONFIG ?= ""
19PACKAGECONFIG[vmwgfx] = "--enable-vmwgfx, --disable-vmwgfx, libdrm virtual/mesa"