Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/server/drivers/xf86-video-nv mention NV_TE...



details:   https://anonhg.NetBSD.org/src/rev/1c1d93926d1d
branches:  trunk
changeset: 801685:1c1d93926d1d
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Aug 13 22:48:15 2014 +0000

description:
mention NV_TEST_FOR_KERNEL_DRIVER and explain why it isn't enabled for now

diffstat:

 external/mit/xorg/server/drivers/xf86-video-nv/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 46f84852fef1 -r 1c1d93926d1d external/mit/xorg/server/drivers/xf86-video-nv/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-nv/Makefile   Wed Aug 13 22:31:06 2014 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-nv/Makefile   Wed Aug 13 22:48:15 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2013/06/14 04:43:38 mrg Exp $
+#      $NetBSD: Makefile,v 1.7 2014/08/13 22:48:15 macallan Exp $
 
 DRIVER=                xf86-video-nv
 DRIVER_NAME=   nv_drv
@@ -15,6 +15,16 @@
 CPPFLAGS+= -DAVOID_VGAHW
 .endif
 
+.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
+# XXX
+# the test uses pci_device_has_kernel_driver() which, for now at least, only 
+# makes sense on x86 ( it just checks if the kernel driver handling the
+# device is vga ) - and even there, genfb and the like don't do anything
+# that would prevent this driver from working. Might need to revisit this once
+# the new DRM2 code has nvidia support
+#CPPFLAGS+= -DNV_TEST_FOR_KERNEL_DRIVER
+.endif
+
 CPPFLAGS+= -DHAVE_XAA_H
 
 .include "../Makefile.xf86-driver"



Home | Main Index | Thread Index | Old Index