From 1d574d4860300633ad2a77de203b74f261fb6969 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 5 Oct 2021 12:35:42 -0400 Subject: [PATCH] lavapipe: remove display extension support lavapipe doesn't actually support these Reviewed-by: Jason Ekstrand Acked-by: Dave Airlie Part-of: --- 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 = {