Skip to content

libdrm: Use DRM_IOCTL_GET_PCIINFO on FreeBSD

Val Packett requested to merge valpackett/drm:fbsd-pciinfo into main

This has only landed in FreeBSD's drm in February 2021, so keep the old code (sysctl and /dev/pci) as fallback, at least for now.

I've been running this patch since then, and I have tested it once with older drm (without the pciinfo changes), but more testing is welcome.

cc @jbeich @hikiko @manu

Edited by Val Packett

Merge request reports

Loading