[PATCH libdrm 0/2] Add libdrm support for auxbus devices

Alistair Popple <[email protected]> Fri, 31 Jul 2026 16:04:13 +1000
Newsgroups dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel
Message-ID <[email protected]>
The new Nova[1] NVIDIA GPU driver exposes GPUs as logical devices on an
auxbus. Currently libdrm doesn't support auxbus, so it ignores Nova GPUs
during enumeration. This adds support for devices on an auxbus.

Rather than follow the lead of virtio and resolve the logical auxbus device
back to the physical PCI device, we add a new bus type and associated parser.
This is because in the future a single physical GPU may present multiple auxbus
devices, so it needs to be possible to resolve individual devices even if they
share the same parent GPU.

[1] - https://rust-for-linux.com/nova-gpu-driver

Alistair Popple (2):
  xf86drm: Pass PCI path rather than maj/min when parsing sysfs files
  xf86drm: Expose auxiliary bus GPUs as DRM_BUS_AUXILIARY

 xf86drm.c | 135 +++++++++++++++++++++++++++++++++++++++++++++++-------
 xf86drm.h |  12 +++++
 2 files changed, 130 insertions(+), 17 deletions(-)

-- 
2.54.0