xf86drm: implement drmParsePciBusInfo for OpenBSD

Graphics / Mesa 3D Graphics Library / libdrm - Jonathan Gray [jsg.id.au] - 5 December 2016 11:53 EST

Implement drmParsePciBusInfo for OpenBSD by using the new DRM_IOCTL_GET_PCIINFO ioctl.

v2: use drmGetMinorType to get node type instead of always using DRM_NODE_PRIMARY.

fd19056 xf86drm: implement drmParsePciBusInfo for OpenBSD
xf86drm.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Upstream: cgit.freedesktop.org


  • Share