Add libdrm support for auxbus devices
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Add libdrm support for auxbus devices
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 future it's 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(-)
Signature · 1 line
2.54.0