Skip to content
Commit 37911372 authored by Emmanuel Vadot's avatar Emmanuel Vadot Committed by Emmanuel Vadot
Browse files

libdrm: Add get_sysctl_pci_bus_info for FreeBSD



The FreeBSD drm driver expose a sysctl hw.dri.%d.busid which contain
the busid.
Use this sysctl to parse the busid information based on the major/minor
that allow us to implement FreeBSD support for drmParsePciBusInfo.

Signed-off-by: default avatarEmmanuel Vadot <manu@FreeBSD.org>
Reviewed-by: default avatarEric Engestrom <eric@engestrom.ch>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent bb584b8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment