[Bug 288848] bhyve GPU passthru for NVIDIA not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Aug 2025 15:26:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288848

--- Comment #5 from Vincent <vincent@landgrafx.de> ---
+
+static int
+nvidia_gpu_init(struct pci_devinst *const pi, nvlist_t *const nvl __unused)
+{
+       pci_set_cfgdata8(pi, PCIR_INTPIN, 1);
+
+       return (0);
+}
+
+static struct passthru_dev nvidia_gpu = {
+       .probe = nvidia_gpu_probe,
+       .init = nvidia_gpu_init,
+};
+PASSTHRU_DEV_SET(nvidia_gpu);
+

-- 
You are receiving this mail because:
You are the assignee for the bug.