Mesa (main): lavapipe: remove display extension support

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 6 15:03:16 UTC 2021


Module: Mesa
Branch: main
Commit: 1d574d4860300633ad2a77de203b74f261fb6969
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d574d4860300633ad2a77de203b74f261fb6969

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Oct  5 12:35:42 2021 -0400

lavapipe: remove display extension support

lavapipe doesn't actually support these

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13141>

---

 src/gallium/frontends/lavapipe/lvp_device.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c
index aea2d3047af..aec863da973 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -42,8 +42,7 @@
 #if defined(VK_USE_PLATFORM_WAYLAND_KHR) || \
     defined(VK_USE_PLATFORM_WIN32_KHR) || \
     defined(VK_USE_PLATFORM_XCB_KHR) || \
-    defined(VK_USE_PLATFORM_XLIB_KHR) || \
-    defined(VK_USE_PLATFORM_DISPLAY_KHR)
+    defined(VK_USE_PLATFORM_XLIB_KHR)
 #define LVP_USE_WSI_PLATFORM
 #endif
 #define LVP_API_VERSION VK_MAKE_VERSION(1, 2, VK_HEADER_VERSION)
@@ -81,12 +80,6 @@ static const struct vk_instance_extension_table lvp_instance_extensions_supporte
 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
    .EXT_acquire_xlib_display                 = true,
 #endif
-#ifdef VK_USE_PLATFORM_DISPLAY_KHR
-   .KHR_display                              = true,
-   .KHR_get_display_properties2              = true,
-   .EXT_direct_mode_display                  = true,
-   .EXT_display_surface_counter              = true,
-#endif
 };
 
 static const struct vk_device_extension_table lvp_device_extensions_supported = {



More information about the mesa-commit mailing list