summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-12-01 19:53:11 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-03-15 11:38:00 +0000
commit8ff2937dfa60dd86ed0ee0b5bfb3d80f5ab0ae7e (patch)
treebe3748dd3074532dd6e071ad8237cdf203000692 /configure.ac
parent858170e8a40c2fcd1c47750944c5d5c10178241f (diff)
radv/winsys: use drmGetDevice2 API
Analogous to previous commit v2: Add explicit require_libdrm check. Cc: Dave Airlie <airlied@redhat.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (v1) Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (v1) Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1) Tested-by: Mike Lothian <mike@fireburn.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6b65ff831c..a006976a0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1792,6 +1792,7 @@ if test -n "$with_vulkan_drivers"; then
;;
xradeon)
+ require_libdrm "radv"
PKG_CHECK_MODULES([AMDGPU], [libdrm >= $LIBDRM_AMDGPU_REQUIRED libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
radeon_llvm_check $LLVM_REQUIRED_RADV "radv"
HAVE_RADEON_VULKAN=yes