aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-06-25 14:23:15 +0100
committerMarge Bot <[email protected]>2020-07-10 13:48:24 +0000
commit448eb19158f483d807ef5bff5242be3df82c7787 (patch)
tree8d1a1c4416afd21ff25744f92b7f30832ec90caa /src/amd/vulkan
parenta38e21d6683aeecb51aea4f933a77c6e7f1a6179 (diff)
vulkan: automatically compile the `display` platform when available
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3161>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build
index a44e785b223..aa27b82c98a 100644
--- a/src/amd/vulkan/meson.build
+++ b/src/amd/vulkan/meson.build
@@ -131,7 +131,7 @@ if with_platform_wayland
libradv_files += files('radv_wsi_wayland.c')
endif
-if with_platform_drm
+if system_has_kms_drm
radv_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR'
libradv_files += files('radv_wsi_display.c')
endif