Thu Jul 12 21:22:20 2018 UTC ()
build EXA support for nv driver


(macallan)
diff -r1.12 -r1.13 src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile

cvs diff -r1.12 -r1.13 src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile (expand / switch to unified diff)

--- src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile 2016/09/21 18:00:26 1.12
+++ src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile 2018/07/12 21:22:20 1.13
@@ -1,29 +1,29 @@ @@ -1,29 +1,29 @@
1# $NetBSD: Makefile,v 1.12 2016/09/21 18:00:26 mrg Exp $ 1# $NetBSD: Makefile,v 1.13 2018/07/12 21:22:20 macallan Exp $
2 2
3DRIVER= xf86-video-nv 3DRIVER= xf86-video-nv
4DRIVER_NAME= nv_drv 4DRIVER_NAME= nv_drv
5 5
6SRCS= nv_cursor.c nv_dac.c nv_dga.c nv_driver.c nv_hw.c 6SRCS= nv_cursor.c nv_dac.c nv_dga.c nv_driver.c nv_exa.c nv_hw.c
7SRCS+= nv_setup.c nv_shadow.c nv_video.c riva_cursor.c 7SRCS+= nv_setup.c nv_shadow.c nv_video.c nv_xaa.c riva_cursor.c
8SRCS+= riva_dac.c riva_dga.c riva_driver.c riva_hw.c 8SRCS+= riva_dac.c riva_dga.c riva_driver.c riva_hw.c
9SRCS+= riva_setup.c riva_shadow.c g80_cursor.c 9SRCS+= riva_setup.c riva_shadow.c g80_cursor.c
10SRCS+= g80_dac.c g80_display.c g80_dma.c g80_driver.c g80_exa.c 10SRCS+= g80_dac.c g80_display.c g80_dma.c g80_driver.c g80_exa.c
11SRCS+= g80_output.c g80_sor.c 11SRCS+= g80_output.c g80_sor.c
12MAN= nv.4 12MAN= nv.4
13 13
14# XAA files have generic functions as well 14# XAA files have generic functions as well
15#.if ${XORG_SERVER_SUBDIR} == "xorg-server.old" 15#.if ${XORG_SERVER_SUBDIR} == "xorg-server.old"
16SRCS+= nv_xaa.c riva_xaa.c g80_xaa.c 16SRCS+= riva_xaa.c g80_xaa.c
17#.endif 17#.endif
18 18
19.if ${MACHINE} == "macppc" 19.if ${MACHINE} == "macppc"
20CPPFLAGS+= -DAVOID_VGAHW 20CPPFLAGS+= -DAVOID_VGAHW
21.endif 21.endif
22 22
23.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" 23.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
24# XXX 24# XXX
25# the test uses pci_device_has_kernel_driver() which, for now at least, only  25# the test uses pci_device_has_kernel_driver() which, for now at least, only
26# makes sense on x86 ( it just checks if the kernel driver handling the 26# makes sense on x86 ( it just checks if the kernel driver handling the
27# device is vga ) - and even there, genfb and the like don't do anything 27# device is vga ) - and even there, genfb and the like don't do anything
28# that would prevent this driver from working. Might need to revisit this once 28# that would prevent this driver from working. Might need to revisit this once
29# the new DRM2 code has nvidia support 29# the new DRM2 code has nvidia support