From 6e4902855f0e0fce75b741057139c78a5049f582 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 2 Dec 2025 13:41:01 +0000 Subject: [PATCH] panvk: Support VK_EXT_acquire_drm_display This is supported in common WSI code, through callbacks that we already implement. Signed-off-by: Daniel Stone Part-of: --- docs/features.txt | 2 +- docs/relnotes/new_features.txt | 1 + src/panfrost/ci/panfrost-g52-skips.txt | 4 ++++ src/panfrost/vulkan/panvk_instance.c | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index c160a4decf0..7bcb2fc799a 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -693,7 +693,7 @@ Khronos extensions that are not part of any Vulkan version: VK_IMG_filter_cubic DONE (tu/a650+, vn) VK_NV_compute_shader_derivatives DONE (anv, hasvk, nvk, radv, tu/a7xx+, vn) VK_NVX_image_view_handle DONE (nvk) - VK_EXT_acquire_drm_display DONE (anv, hk, nvk, radv, tu, v3dv, vn) + VK_EXT_acquire_drm_display DONE (anv, hk, nvk, panvk, radv, tu, v3dv, vn) VK_VALVE_mutable_descriptor_type DONE (anv, hasvk, hk, nvk, radv, tu, vn) VK_AMD_buffer_marker DONE (anv, nvk, radv, tu) VK_AMD_device_coherent_memory DONE (radv) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 888de38f6b8..ace9076aa02 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -6,3 +6,4 @@ VK_KHR_internally_synchronized_queues on RADV VK_EXT_blend_operation_advanced on lavapipe VK_KHR_get_surface_capabilities2 on panvk VK_KHR_get_display_properties2 on panvk +VK_EXT_acquire_drm_display on panvk diff --git a/src/panfrost/ci/panfrost-g52-skips.txt b/src/panfrost/ci/panfrost-g52-skips.txt index e777e1cc81c..226a60bbdb6 100644 --- a/src/panfrost/ci/panfrost-g52-skips.txt +++ b/src/panfrost/ci/panfrost-g52-skips.txt @@ -139,3 +139,7 @@ dEQP-VK.glsl.conversions.vector_combine.vec2_ivec2_to_vec4_vertex dEQP-VK.image.store.without_format.3d.e5b9g9r9_ufloat_pack32_linear dEQP-VK.texture.shadow.cube_array.nearest.less_d16_unorm dEQP-VK.synchronization.op.single_queue.timeline_semaphore.write_image_compute_indirect_read_image_tess_control.image_128x128_r16_uint + +# tests are broken with Vulkan 1.0: https://gerrit.khronos.org/c/vk-gl-cts/+/19422 +dEQP-VK.image.swapchain_mutable.direct_drm.* +dEQP-VK.wsi.acquire_drm_display.* diff --git a/src/panfrost/vulkan/panvk_instance.c b/src/panfrost/vulkan/panvk_instance.c index d6dc084c651..a4ab382bdb6 100644 --- a/src/panfrost/vulkan/panvk_instance.c +++ b/src/panfrost/vulkan/panvk_instance.c @@ -101,6 +101,7 @@ static const struct vk_instance_extension_table panvk_instance_extensions = { #endif #ifdef VK_USE_PLATFORM_DISPLAY_KHR .KHR_display = true, + .EXT_acquire_drm_display = true, .EXT_direct_mode_display = true, .EXT_display_surface_counter = true, #endif