Module Name: src Committed By: mrg Date: Mon Dec 24 08:26:04 UTC 2018
Modified Files: src/sys/external/bsd/drm2/nouveau: nouveau_pci.c Log Message: this works well enough to start and have basic accel only on GTX 750, so enable those cards. maybe can enable some pascal cards too. thanks to fly for fixing nouveau drm2 so it was worth trying :-) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/external/bsd/drm2/nouveau/nouveau_pci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/nouveau/nouveau_pci.c diff -u src/sys/external/bsd/drm2/nouveau/nouveau_pci.c:1.21 src/sys/external/bsd/drm2/nouveau/nouveau_pci.c:1.22 --- src/sys/external/bsd/drm2/nouveau/nouveau_pci.c:1.21 Tue Aug 28 03:34:07 2018 +++ src/sys/external/bsd/drm2/nouveau/nouveau_pci.c Mon Dec 24 08:26:04 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: nouveau_pci.c,v 1.21 2018/08/28 03:34:07 riastradh Exp $ */ +/* $NetBSD: nouveau_pci.c,v 1.22 2018/12/24 08:26:04 mrg Exp $ */ /*- * Copyright (c) 2015 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nouveau_pci.c,v 1.21 2018/08/28 03:34:07 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nouveau_pci.c,v 1.22 2018/12/24 08:26:04 mrg Exp $"); #include <sys/types.h> #include <sys/device.h> @@ -98,13 +98,6 @@ nouveau_pci_match(device_t parent, cfdat #define IS_BETWEEN(x,y) \ (PCI_PRODUCT(pa->pa_id) >= (x) && PCI_PRODUCT(pa->pa_id) <= (y)) /* - * NetBSD drm2 needs missing-so-far firmware for Maxwell-based cards: - * 0x1380-0x13bf GM107 - */ - if (IS_BETWEEN(0x1380, 0x13bf)) - return 0; - - /* * NetBSD drm2 doesn't support Pascal-based cards: * 0x1580-0x15ff GP100 * 0x1b00-0x1b7f GP102