OSDN Git Service

tests/drmdevice: use drmGetDevice[s]2
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 30 Nov 2016 19:13:04 +0000 (19:13 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 Dec 2016 17:22:52 +0000 (17:22 +0000)
commitb305238ceb5092dd9d78c06e4dbe99a1e0287ba6
tree22c8f440b27607d3a58618dd1e820fcd1d0d7837
parent11687bf4180f7e21045ed9c4730533c40fe01ea5
tests/drmdevice: use drmGetDevice[s]2

Pass along DRM_DEVICE_GET_PCI_REVISION only when the individual nodes
are opened and update the printed messages accordingly.

v2: Attribute for the flag rename, call drmGetDevices2 w/o the flag.

v3: Keep drmParsePciDeviceInfo() hunk in previous patch.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
tests/drmdevice.c