summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_wsi_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_wsi_display.c')
-rw-r--r--src/amd/vulkan/radv_wsi_display.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_wsi_display.c b/src/amd/vulkan/radv_wsi_display.c
index 048d992e1cf..68a38cf122c 100644
--- a/src/amd/vulkan/radv_wsi_display.c
+++ b/src/amd/vulkan/radv_wsi_display.c
@@ -153,3 +153,14 @@ radv_CreateDisplayPlaneSurfaceKHR(
return wsi_create_display_surface(_instance, alloc,
create_info, surface);
}
+
+VkResult
+radv_ReleaseDisplayEXT(VkPhysicalDevice physical_device,
+ VkDisplayKHR display)
+{
+ RADV_FROM_HANDLE(radv_physical_device, pdevice, physical_device);
+
+ return wsi_release_display(physical_device,
+ &pdevice->wsi_device,
+ display);
+}