radv/winsys: use drmGetDevice2 API
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 1 Dec 2016 19:53:11 +0000 (19:53 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 15 Mar 2017 11:38:00 +0000 (11:38 +0000)
commit8ff2937dfa60dd86ed0ee0b5bfb3d80f5ab0ae7e
treebe3748dd3074532dd6e071ad8237cdf203000692
parent858170e8a40c2fcd1c47750944c5d5c10178241f
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>
configure.ac
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c