panvk: expose EXT_display_control
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

We have a common implementation for this, let's just use that.

Similar to the previous commit, this is a bit silly. But if we ever get
in a situation where VK_EXT_display actually makes sense, this stuff
should "just work", so let's enable it for good measure.

Tested-by: Alexandre ARNOUD <aarnoud@me.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33916>
This commit is contained in:
Erik Faye-Lund 2025-03-06 13:38:21 +01:00 committed by Marge Bot
parent 8aae7d153d
commit f6112a26c5
3 changed files with 5 additions and 1 deletions

View file

@ -601,7 +601,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_device_memory_report DONE (anv, radv, vn)
VK_EXT_direct_mode_display DONE (anv, lvp, nvk, radv, tu, v3dv, vn)
VK_EXT_discard_rectangles DONE (radv)
VK_EXT_display_control DONE (anv, hasvk, nvk, radv, tu)
VK_EXT_display_control DONE (anv, hasvk, nvk, panvk, radv, tu)
VK_EXT_display_surface_counter DONE (anv, lvp, nvk, radv, tu, vn)
VK_EXT_dynamic_rendering_unused_attachments DONE (anv, nvk, radv, vn)
VK_EXT_extended_dynamic_state3 DONE (anv, lvp, nvk, radv, tu, vn)

View file

@ -19,3 +19,4 @@ VK_EXT_device_memory_report on RADV
VK_KHR_shader_subgroup_extended_types on panvk/v10+
shaderStorageImageExtendedFormats on panvk
VK_KHR_display on panvk
VK_EXT_display_control on panvk

View file

@ -239,6 +239,9 @@ get_device_extensions(const struct panvk_physical_device *device,
.EXT_buffer_device_address = true,
.EXT_custom_border_color = true,
.EXT_depth_clip_enable = true,
#ifdef VK_USE_PLATFORM_DISPLAY_KHR
.EXT_display_control = true,
#endif
.EXT_external_memory_dma_buf = true,
.EXT_global_priority = true,
.EXT_global_priority_query = true,