From cb22d413ba3483bb17711f8feabb9d7c7c6fe514 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Fri, 9 Jan 2026 20:43:49 +0100 Subject: [PATCH] panvk: Enable EXT_present_timing. Signed-off-by: Hans-Kristian Arntzen Reviewed-by: Emma Anholt Part-of: --- src/panfrost/vulkan/panvk_vX_physical_device.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/panfrost/vulkan/panvk_vX_physical_device.c b/src/panfrost/vulkan/panvk_vX_physical_device.c index 95bf68b8d09..f97c38b5815 100644 --- a/src/panfrost/vulkan/panvk_vX_physical_device.c +++ b/src/panfrost/vulkan/panvk_vX_physical_device.c @@ -164,6 +164,10 @@ panvk_per_arch(get_physical_device_extensions)( .EXT_pipeline_creation_cache_control = true, .EXT_pipeline_creation_feedback = true, .EXT_pipeline_robustness = true, +#ifdef PANVK_USE_WSI_PLATFORM + .EXT_present_timing = + device->kmod.dev->props.gpu_can_query_timestamp, +#endif .EXT_private_data = true, .EXT_primitive_topology_list_restart = true, .EXT_primitives_generated_query = PAN_ARCH >= 10, @@ -560,6 +564,13 @@ panvk_per_arch(get_physical_device_features)( /* VK_EXT_multisampled_render_to_single_sampled */ .multisampledRenderToSingleSampled = true, + +#ifdef PANVK_USE_WSI_PLATFORM + /* VK_EXT_present_timing */ + .presentTiming = true, + .presentAtRelativeTime = true, + .presentAtAbsoluteTime = true, +#endif }; }