panvk: Enable VK_EXT_direct_mode_display

Panvk already enables VK_EXT_acquire_xlib_display, but not
VK_EXT_direct_mode_display which is a dependency. This causes a failure
in dEQP-VK.info.instance_extensions.

Fixes: 8c2bfa279d ("panvk: support x11 wsi")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34672>
(cherry picked from commit 8dd578e2a4ea02ae9c8b9c0a0b7b7de8a105cd50)
This commit is contained in:
John Anthony
2025-04-23 10:44:36 +02:00
committed by Eric Engestrom
parent 6bde6bfde7
commit a9b90aa1ce
4 changed files with 4 additions and 2 deletions

View File

@@ -454,7 +454,7 @@
"description": "panvk: Enable VK_EXT_direct_mode_display",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "8c2bfa279d33cf54eda230650fde4e358354d703",
"notes": null

View File

@@ -599,7 +599,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_device_fault DONE (radv)
VK_EXT_device_generated_commands DONE (nvk/Turing+, radv/gfx8+)
VK_EXT_device_memory_report DONE (anv, radv, vn)
VK_EXT_direct_mode_display DONE (anv, lvp, nvk, radv, tu, v3dv, vn)
VK_EXT_direct_mode_display DONE (anv, lvp, nvk, panvk, radv, tu, v3dv, vn)
VK_EXT_discard_rectangles DONE (radv)
VK_EXT_display_control DONE (anv, hasvk, nvk, panvk, radv, tu)
VK_EXT_display_surface_counter DONE (anv, lvp, nvk, panvk, radv, tu, vn)

View File

@@ -44,3 +44,4 @@ VK_EXT_subgroup_size_control on panvk/v10+
VK_KHR_format_feature_flags2 on panvk
shaderStorageImageReadWithoutFormat on panvk
shaderStorageImageWriteWithoutFormat on panvk
VK_EXT_direct_mode_display on panvk

View File

@@ -65,6 +65,7 @@ static const struct vk_instance_extension_table panvk_instance_extensions = {
#endif
#ifdef VK_USE_PLATFORM_DISPLAY_KHR
.KHR_display = true,
.EXT_direct_mode_display = true,
.EXT_display_surface_counter = true,
#endif
#ifdef VK_USE_PLATFORM_WAYLAND_KHR