path: root/src/broadcom/vulkan/
diff options
authorSteven Houston <>2020-11-04 17:45:10 +0000
committerMarge Bot <>2020-11-11 08:36:05 +0000
commitd6a8a6ed4ec659068eedd61d0e10f49a78bd5a21 (patch)
tree562ba5114c39f5cb965624f6ee6c48a1bbf5aa1b /src/broadcom/vulkan/
parentd186766c08867d5447e32c427ff092612bd4ba92 (diff)
v3dv: VK_KHR_display extension support
When VK_KHR_display is enabled it needs to open the primary node on the vc4/vc5 display device, so pass it to physical_device_init(). Extension functions call through to the wsi_common_display.c implementations. v2: Follow Mesa conventions for comments and char * Refer to vc4 display device in comments. v3: Added Copyright © 2020 Raspberry Pi v4: Test device has primary node when using simulator. v5: Assert that we have a primary device. Fix trailing blank space. Reviewed-by: Iago Toral Quiroga <> Closes: Part-of: <>
Diffstat (limited to 'src/broadcom/vulkan/')
1 files changed, 5 insertions, 0 deletions
diff --git a/src/broadcom/vulkan/ b/src/broadcom/vulkan/
index 29fc4cc665c..58f4bcee989 100644
--- a/src/broadcom/vulkan/
+++ b/src/broadcom/vulkan/
@@ -105,6 +105,11 @@ if with_platform_x11
libv3dv_files += files('v3dv_wsi_x11.c')
+if system_has_kms_drm and not with_platform_android
+ libv3dv_files += files('v3dv_wsi_display.c')
libvulkan_broadcom = shared_library(
[libv3dv_files, v3dv_entrypoints, v3dv_extensions_c, v3dv_extensions_h, sha1_h],