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/include/linux Pull up following rev...
details: https://anonhg.NetBSD.org/src/rev/6da829c4356a
branches: netbsd-8
changeset: 434276:6da829c4356a
user: martin <martin%NetBSD.org@localhost>
date: Fri Sep 01 09:51:08 2017 +0000
description:
Pull up following revision(s) (requested by maya in ticket #259):
sys/external/bsd/drm2/include/linux/pci.h: revision 1.24
Disable MSI on DRMKMS (again).
It is causing problems on some older nvidia graphics cards:
http://mail-index.netbsd.org/netbsd-users/2017/08/02/msg020026.html
http://mail-index.netbsd.org/pkgsrc-users/2017/08/26/msg025492.html
PR kern/52440
diffstat:
sys/external/bsd/drm2/include/linux/pci.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r ced71378feb1 -r 6da829c4356a sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Fri Sep 01 08:49:03 2017 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Fri Sep 01 09:51:08 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci.h,v 1.23 2017/03/02 04:31:51 nonaka Exp $ */
+/* $NetBSD: pci.h,v 1.23.6.1 2017/09/01 09:51:08 martin Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -293,6 +293,7 @@
static inline int
pci_enable_msi(struct pci_dev *pdev)
{
+#ifdef notyet
const struct pci_attach_args *const pa = &pdev->pd_pa;
if (pci_msi_alloc_exact(pa, &pdev->intr_handles, 1))
@@ -300,6 +301,9 @@
pdev->msi_enabled = 1;
return 0;
+#else
+ return -ENOSYS;
+#endif
}
static inline void
Home |
Main Index |
Thread Index |
Old Index