winsys/amdgpu: use drmGetDevice2 API
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 1 Dec 2016 19:54:39 +0000 (19:54 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 15 Mar 2017 11:37:58 +0000 (11:37 +0000)
commit858170e8a40c2fcd1c47750944c5d5c10178241f
tree9ae5ad20c83b952ab720a80f1a38bea5eb3c1138
parenta50c4eb2a0fd42a3da0eea560876cb43afdb81f2
winsys/amdgpu: use drmGetDevice2 API

Analogous to previous commit

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98502
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c