Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/external/bsd/drm2/nouveau Pull up following revision(...



details:   https://anonhg.NetBSD.org/src/rev/93c998d834e2
branches:  netbsd-8
changeset: 446926:93c998d834e2
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Dec 25 11:25:00 2018 +0000

description:
Pull up following revision(s) (requested by maya in ticket #1145):

        sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.23

don't attach to new turing based nouveau cards.

diffstat:

 sys/external/bsd/drm2/nouveau/nouveau_pci.c |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (49 lines):

diff -r 36d15eb2dff8 -r 93c998d834e2 sys/external/bsd/drm2/nouveau/nouveau_pci.c
--- a/sys/external/bsd/drm2/nouveau/nouveau_pci.c       Tue Dec 25 11:22:43 2018 +0000
+++ b/sys/external/bsd/drm2/nouveau/nouveau_pci.c       Tue Dec 25 11:25:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_pci.c,v 1.8.10.1 2018/06/08 10:08:06 martin Exp $      */
+/*     $NetBSD: nouveau_pci.c,v 1.8.10.2 2018/12/25 11:25:00 martin 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.8.10.1 2018/06/08 10:08:06 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_pci.c,v 1.8.10.2 2018/12/25 11:25:00 martin Exp $");
 
 #include <sys/types.h>
 #include <sys/device.h>
@@ -101,7 +101,7 @@
                return 0;
 
        /*
-        * NetBSD drm2 doesn't support Pascal-based cards:
+        * NetBSD drm2 doesn't support Pascal, Volta or Turing based cards:
         *   0x1580-0x15ff      GP100
         *   0x1b00-0x1b7f      GP102
         *   0x1b80-0x1bff      GP104
@@ -109,6 +109,9 @@
         *   0x1c80-0x1cff      GP107
         *   0x1d00-0x1d7f      GP108
         *   0x1d80-0x1dff      GV100
+        *   0x1e00-0x1e7f      TU102
+        *   0x1e80-0x1eff      TU104
+        *   0x1f00-0x1f7f      TU106
         */
        
        if (IS_BETWEEN(0x1580, 0x15ff) ||
@@ -117,7 +120,10 @@
            IS_BETWEEN(0x1c00, 0x1c7f) ||
            IS_BETWEEN(0x1c80, 0x1cff) ||
            IS_BETWEEN(0x1d00, 0x1d7f) ||
-           IS_BETWEEN(0x1d80, 0x1dff))
+           IS_BETWEEN(0x1d80, 0x1dff) ||
+           IS_BETWEEN(0x1e00, 0x1e7f) ||
+           IS_BETWEEN(0x1e80, 0x1eff) ||
+           IS_BETWEEN(0x1f00, 0x1f7f))
                return 0;
 #undef IS_BETWEEN
 



Home | Main Index | Thread Index | Old Index