head 1.13; access; symbols netbsd-9-5-RELEASE:1.12 netbsd-11-0-RELEASE:1.12 netbsd-11-0-RC7:1.12 netbsd-11-0-RC6:1.12 netbsd-11-0-RC5:1.12 netbsd-11-0-RC4:1.12 netbsd-11-0-RC3:1.12 netbsd-11-0-RC2:1.12 netbsd-11-0-RC1:1.12 perseant-exfatfs-base-20250801:1.12 netbsd-11:1.12.0.14 netbsd-11-base:1.12 netbsd-10-1-RELEASE:1.12 perseant-exfatfs-base-20240630:1.12 perseant-exfatfs:1.12.0.12 perseant-exfatfs-base:1.12 netbsd-8-3-RELEASE:1.11 netbsd-9-4-RELEASE:1.12 netbsd-10-0-RELEASE:1.12 netbsd-10-0-RC6:1.12 netbsd-10-0-RC5:1.12 netbsd-10-0-RC4:1.12 netbsd-10-0-RC3:1.12 netbsd-10-0-RC2:1.12 netbsd-10-0-RC1:1.12 netbsd-10:1.12.0.10 netbsd-10-base:1.12 netbsd-9-3-RELEASE:1.12 cjep_sun2x-base1:1.12 cjep_sun2x:1.12.0.8 cjep_sun2x-base:1.12 cjep_staticlib_x-base1:1.12 netbsd-9-2-RELEASE:1.12 cjep_staticlib_x:1.12.0.6 cjep_staticlib_x-base:1.12 netbsd-9-1-RELEASE:1.12 phil-wifi-20200421:1.12 phil-wifi-20200411:1.12 is-mlppp:1.12.0.4 is-mlppp-base:1.12 phil-wifi-20200406:1.12 netbsd-8-2-RELEASE:1.11 netbsd-9-0-RELEASE:1.12 netbsd-9-0-RC2:1.12 netbsd-9-0-RC1:1.12 phil-wifi-20191119:1.12 netbsd-9:1.12.0.2 netbsd-9-base:1.12 phil-wifi-20190609:1.12 netbsd-8-1-RELEASE:1.11 netbsd-8-1-RC1:1.11 pgoyette-compat-merge-20190127:1.11.12.1 pgoyette-compat-20190127:1.12 pgoyette-compat-20190118:1.12 pgoyette-compat-1226:1.11 pgoyette-compat-1126:1.11 pgoyette-compat-1020:1.11 pgoyette-compat-0930:1.11 pgoyette-compat-0906:1.11 netbsd-7-2-RELEASE:1.8 pgoyette-compat-0728:1.11 netbsd-8-0-RELEASE:1.11 phil-wifi:1.11.0.14 phil-wifi-base:1.11 pgoyette-compat-0625:1.11 netbsd-8-0-RC2:1.11 pgoyette-compat-0521:1.11 pgoyette-compat-0502:1.11 pgoyette-compat-0422:1.11 netbsd-8-0-RC1:1.11 pgoyette-compat-0415:1.11 pgoyette-compat-0407:1.11 pgoyette-compat-0330:1.11 pgoyette-compat-0322:1.11 pgoyette-compat-0315:1.11 netbsd-7-1-2-RELEASE:1.8 pgoyette-compat:1.11.0.12 pgoyette-compat-base:1.11 netbsd-7-1-1-RELEASE:1.8 matt-nb8-mediatek:1.11.0.10 matt-nb8-mediatek-base:1.11 perseant-stdc-iso10646:1.11.0.8 perseant-stdc-iso10646-base:1.11 netbsd-8:1.11.0.6 netbsd-8-base:1.11 prg-localcount2-base3:1.11 prg-localcount2-base2:1.11 prg-localcount2-base1:1.11 prg-localcount2:1.11.0.4 prg-localcount2-base:1.11 pgoyette-localcount-20170426:1.11 bouyer-socketcan-base1:1.11 pgoyette-localcount-20170320:1.11 netbsd-7-1:1.8.0.10 netbsd-7-1-RELEASE:1.8 netbsd-7-1-RC2:1.8 netbsd-7-nhusb-base-20170116:1.8 bouyer-socketcan:1.11.0.2 bouyer-socketcan-base:1.11 pgoyette-localcount-20170107:1.11 netbsd-7-1-RC1:1.8 pgoyette-localcount-20161104:1.11 netbsd-7-0-2-RELEASE:1.8 localcount-20160914:1.11 netbsd-7-nhusb:1.8.0.8 netbsd-7-nhusb-base:1.8 pgoyette-localcount-20160806:1.10 pgoyette-localcount-20160726:1.10 pgoyette-localcount:1.10.0.2 pgoyette-localcount-base:1.10 netbsd-7-0-1-RELEASE:1.8 netbsd-7-0:1.8.0.6 netbsd-7-0-RELEASE:1.8 netbsd-7-0-RC3:1.8 netbsd-7-0-RC2:1.8 netbsd-7-0-RC1:1.8 netbsd-5-2-3-RELEASE:1.1.4.2 netbsd-5-1-5-RELEASE:1.1.4.1 netbsd-6-0-6-RELEASE:1.5 netbsd-6-1-5-RELEASE:1.5 netbsd-7:1.8.0.4 netbsd-7-base:1.8 yamt-pagecache-base9:1.8 yamt-pagecache-tag8:1.5 netbsd-6-1-4-RELEASE:1.5 netbsd-6-0-5-RELEASE:1.5 tls-earlyentropy:1.8.0.2 tls-earlyentropy-base:1.8 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8 riastradh-drm2-base3:1.7 netbsd-6-1-3-RELEASE:1.5 netbsd-6-0-4-RELEASE:1.5 netbsd-5-2-2-RELEASE:1.1.4.2 netbsd-5-1-4-RELEASE:1.1.4.1 netbsd-6-1-2-RELEASE:1.5 netbsd-6-0-3-RELEASE:1.5 netbsd-5-2-1-RELEASE:1.1.4.2 netbsd-5-1-3-RELEASE:1.1.4.1 netbsd-6-1-1-RELEASE:1.5 riastradh-drm2-base2:1.7 riastradh-drm2-base1:1.7 riastradh-drm2:1.7.0.2 riastradh-drm2-base:1.7 netbsd-6-1:1.5.0.16 netbsd-6-0-2-RELEASE:1.5 netbsd-6-1-RELEASE:1.5 netbsd-6-1-RC4:1.5 netbsd-6-1-RC3:1.5 agc-symver:1.5.0.14 agc-symver-base:1.5 netbsd-6-1-RC2:1.5 netbsd-6-1-RC1:1.5 yamt-pagecache-base8:1.5 netbsd-5-2:1.1.4.2.0.2 netbsd-6-0-1-RELEASE:1.5 yamt-pagecache-base7:1.5 netbsd-5-2-RELEASE:1.1.4.2 netbsd-5-2-RC1:1.1.4.2 matt-nb6-plus-nbase:1.5 yamt-pagecache-base6:1.5 netbsd-6-0:1.5.0.10 netbsd-6-0-RELEASE:1.5 netbsd-6-0-RC2:1.5 tls-maxphys:1.5.0.8 tls-maxphys-base:1.8 matt-nb6-plus:1.5.0.6 matt-nb6-plus-base:1.5 netbsd-6-0-RC1:1.5 yamt-pagecache-base5:1.5 yamt-pagecache-base4:1.5 netbsd-6:1.5.0.4 netbsd-6-base:1.5 netbsd-5-1-2-RELEASE:1.1.4.1 netbsd-5-1-1-RELEASE:1.1.4.1 yamt-pagecache-base3:1.5 yamt-pagecache-base2:1.5 yamt-pagecache:1.5.0.2 yamt-pagecache-base:1.5 cherry-xenmp:1.4.0.4 cherry-xenmp-base:1.4 bouyer-quota2-nbase:1.4 bouyer-quota2:1.4.0.2 bouyer-quota2-base:1.4 matt-mips64-premerge-20101231:1.4 matt-nb5-mips64-premerge-20101231:1.1.4.1 matt-nb5-pq3:1.1.4.1.0.8 matt-nb5-pq3-base:1.1.4.1 netbsd-5-1:1.1.4.1.0.6 netbsd-5-1-RELEASE:1.1.4.1 netbsd-5-1-RC4:1.1.4.1 matt-nb5-mips64-k15:1.1.4.1 netbsd-5-1-RC3:1.1.4.1 netbsd-5-1-RC2:1.1.4.1 netbsd-5-1-RC1:1.1.4.1 netbsd-5-0-2-RELEASE:1.1.4.1 matt-nb5-mips64-premerge-20091211:1.1.4.1 matt-premerge-20091211:1.2 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.4.1 matt-nb4-mips64-k7-u2a-k9b:1.1.4.1 matt-nb5-mips64-u1-k1-k5:1.1.4.1 matt-nb5-mips64:1.1.4.1.0.4 netbsd-5-0-1-RELEASE:1.1.4.1 jym-xensuspend-nbase:1.2 netbsd-5-0:1.1.4.1.0.2 netbsd-5-0-RELEASE:1.1.4.1 netbsd-5-0-RC4:1.1 netbsd-5-0-RC3:1.1 netbsd-5-0-RC2:1.1 jym-xensuspend:1.1.0.6 jym-xensuspend-base:1.2 netbsd-5-0-RC1:1.1 haad-dm-base:1.1 haad-dm-base2:1.1 haad-nbase2:1.1 netbsd-5:1.1.0.4 netbsd-5-base:1.1 matt-mips64-base2:1.1 haad-dm:1.1.0.2 haad-dm-base1:1.1; locks; strict; comment @# @; 1.13 date 2026.07.15.07.55.36; author macallan; state Exp; branches; next 1.12; commitid Kx0lkcW64M4KTING; 1.12 date 2018.12.30.07.13.15; author mrg; state Exp; branches; next 1.11; commitid Z64rvY4feYiFbN5B; 1.11 date 2016.08.16.06.24.02; author mrg; state Exp; branches 1.11.12.1 1.11.14.1; next 1.10; commitid chz9GQ9meJ9sKuiz; 1.10 date 2015.07.30.02.58.00; author macallan; state Exp; branches; next 1.9; commitid 5S50dDrFLxscVfvy; 1.9 date 2015.07.20.01.17.46; author mrg; state Exp; branches; next 1.8; commitid ZLEdbkGwN6YEGXty; 1.8 date 2014.03.19.23.46.05; author mrg; state Exp; branches; next 1.7; commitid jZP7xSWYBvvPPmtx; 1.7 date 2013.06.03.08.51.18; author mrg; state Exp; branches; next 1.6; commitid gqUazSyOv4tQa9Sw; 1.6 date 2013.06.02.08.57.18; author mrg; state Exp; branches; next 1.5; commitid 1PPh29dnllfoe1Sw; 1.5 date 2011.08.11.23.15.40; author joerg; state Exp; branches 1.5.2.1 1.5.8.1; next 1.4; 1.4 date 2010.11.10.04.08.56; author macallan; state Exp; branches; next 1.3; 1.3 date 2010.05.22.23.04.01; author mrg; state Exp; branches; next 1.2; 1.2 date 2009.04.21.02.45.25; author rafal; state Exp; branches; next 1.1; 1.1 date 2008.10.13.11.12.33; author rtr; state Exp; branches 1.1.2.1 1.1.4.1 1.1.6.1; next ; 1.11.12.1 date 2019.01.18.08.49.05; author pgoyette; state Exp; branches; next ; commitid Lmlzg3OVT2cd6f8B; 1.11.14.1 date 2019.06.10.22.02.44; author christos; state Exp; branches; next ; commitid jtc8rnCzWiEEHGqB; 1.5.2.1 date 2014.05.22.14.09.46; author yamt; state Exp; branches; next ; commitid FFQX08bYGKywAxBx; 1.5.8.1 date 2013.06.23.06.28.47; author tls; state Exp; branches; next 1.5.8.2; commitid OnlO1cBgtQRcIHUw; 1.5.8.2 date 2014.08.20.00.00.14; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.1.2.1 date 2008.10.13.11.12.33; author haad; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2008.10.19.22.41.16; author haad; state Exp; branches; next ; 1.1.4.1 date 2009.04.23.02.26.10; author snj; state Exp; branches; next 1.1.4.2; 1.1.4.2 date 2012.03.17.19.11.19; author bouyer; state Exp; branches; next ; 1.1.6.1 date 2009.05.13.18.53.27; author jym; state Exp; branches; next ; desc @@ 1.13 log @set HAVE_DEV_WSCONS_WSCONSIO_H @ text @# $NetBSD: Makefile,v 1.12 2018/12/30 07:13:15 mrg Exp $ DRIVER= xf86-video-r128 DRIVER_NAME= r128_drv SRCS= r128_accel.c r128_cursor.c r128_driver.c r128_exa.c \ r128_exa_render.c r128_crtc.c r128_output.c \ r128_video.c r128_misc.c r128_probe.c r128_dri.c MAN= r128.4 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc64" CPPFLAGS+= -DAVOID_FBDEV .endif # Enable VGA support (esp. hw state save/restore) on i386 / amd64 platforms .if ${MACHINE} == "amd64" || ${MACHINE} == "i386" CPPFLAGS+= -DWITH_VGAHW .endif CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm CPPFLAGS+= -DUSE_EXA -DR128DRI CPPFLAGS+= -DHAVE_DEV_WSCONS_WSCONSIO_H CWARNFLAGS.clang+= -Wno-format -Wno-pointer-sign .include "../Makefile.xf86-driver" @ 1.12 log @updates for new mga and r128 drivers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2016/08/16 06:24:02 mrg Exp $ d24 1 @ 1.11 log @define HAVE_XAA_H in Makefile.xf86-driver for xorg-server 1.10 only, move it out of many driver makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2015/07/30 02:58:00 macallan Exp $ d7 1 a7 1 r128_crtc.c r128_output.c \ @ 1.11.14.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2018/12/30 07:13:15 mrg Exp $ d7 1 a7 1 r128_exa_render.c r128_crtc.c r128_output.c \ @ 1.11.12.1 log @Synch with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2016/08/16 06:24:02 mrg Exp $ d7 1 a7 1 r128_exa_render.c r128_crtc.c r128_output.c \ @ 1.10 log @build EXA support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2015/07/20 01:17:46 mrg Exp $ d23 1 a23 1 CPPFLAGS+= -DHAVE_XAA_H -DUSE_EXA -DR128DRI @ 1.9 log @updates for r128 6.10.0 and mach64 6.9.5. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2014/03/19 23:46:05 mrg Exp $ d6 1 a6 1 SRCS= r128_accel.c r128_cursor.c r128_driver.c \ a9 3 #SRCS+= r128_exa.c r128_exa_render.c #CPPFLAGS+= -DUSE_EXA d23 1 a23 1 CPPFLAGS+= -DHAVE_XAA_H -DR128DRI @ 1.8 log @remove duplicated -DHAVE_XEXTPROTO_71. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2013/06/03 08:51:18 mrg Exp $ d6 2 a7 1 SRCS= r128_accel.c r128_cursor.c r128_dga.c r128_driver.c \ @ 1.7 log @define HAVE_XAA_H @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2013/06/02 08:57:18 mrg Exp $ d25 1 a25 2 CPPFLAGS+= -DHAVE_XEXTPROTO_71 \ -DHAVE_XAA_H -DR128DRI @ 1.6 log @updates for xf86 1.3.4, xf86-video-mga 1.6.2, xf86-video-neomagic 1.2.7 and xf86-video-r128 6.9.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2011/08/11 23:15:40 joerg Exp $ d10 1 @ 1.5 log @Various warning adjustments for clang @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2010/11/10 04:08:56 macallan Exp $ d9 2 d24 3 @ 1.5.2.1 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2011/08/11 23:15:40 joerg Exp $ a8 3 #SRCS+= r128_exa.c r128_exa_render.c #CPPFLAGS+= -DUSE_EXA a21 2 CPPFLAGS+= -DHAVE_XAA_H -DR128DRI @ 1.5.8.1 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ a8 3 #SRCS+= r128_exa.c r128_exa_render.c #CPPFLAGS+= -DUSE_EXA a21 3 CPPFLAGS+= -DHAVE_XEXTPROTO_71 \ -DHAVE_XAA_H -DR128DRI @ 1.5.8.2 log @Rebase to HEAD as of a few days ago. @ text @d25 2 a26 1 CPPFLAGS+= -DHAVE_XAA_H -DR128DRI @ 1.4 log @don't build fbdev support on powerpc and sparc64 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2010/05/22 23:04:01 mrg Exp $ d22 2 @ 1.3 log @find libdrm files in their new place. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2009/04/21 02:45:25 rafal Exp $ d11 4 @ 1.2 log @Fix part of xsrc/40322: r128 driver does not restore VGA state on exit from X. radeon driver still needs looking at, it restores the console mode OK, but the font is a very dark gray making it appear as if the screen is blank as well. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2008/10/13 11:12:33 rtr Exp $ d16 2 @ 1.1 log @add reachover for xf86-video-r128 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2008/08/03 14:47:26 rtr Exp $ d11 5 @ 1.1.6.1 log @Sync with HEAD. Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2009/04/21 02:45:25 rafal Exp $ a10 5 # Enable VGA support (esp. hw state save/restore) on i386 / amd64 platforms .if ${MACHINE} == "amd64" || ${MACHINE} == "i386" CPPFLAGS+= -DWITH_VGAHW .endif @ 1.1.4.1 log @Pull up following revision(s) (requested by rafal in ticket #718): external/mit/xorg/server/drivers/xf86-video-r128/Makefile: revision 1.2 Fix part of xsrc/40322: r128 driver does not restore VGA state on exit from X. radeon driver still needs looking at, it restores the console mode OK, but the font is a very dark gray making it appear as if the screen is blank as well. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2008/10/13 11:12:33 rtr Exp $ a10 5 # Enable VGA support (esp. hw state save/restore) on i386 / amd64 platforms .if ${MACHINE} == "amd64" || ${MACHINE} == "i386" CPPFLAGS+= -DWITH_VGAHW .endif @ 1.1.4.2 log @Pull up following revision(s) (requested by phx in ticket #1740): xsrc/external/mit/xf86-video-r128/dist/src/r128.h: revision 1.2 xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c: revision 1.2 external/mit/xorg/server/drivers/xf86-video-r128/Makefile: revision 1.4 don't build fbdev support on powerpc and sparc64 sprinkle #if(n)def to allow building the driver without any fbdev support whatsoever while there do what the comment suggests and fall through to turning off the backlight in all DPMS modes except on - leaving the backlight on while turning the DAC off is kind of useless, isn't it? @ text @d1 1 a1 1 # $NetBSD$ a10 4 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc64" CPPFLAGS+= -DAVOID_FBDEV .endif @ 1.1.2.1 log @file Makefile was added on branch haad-dm on 2008-10-19 22:41:16 +0000 @ text @d1 11 @ 1.1.2.2 log @Sync with HEAD. @ text @a0 11 # $NetBSD: Makefile,v 1.1 2008/10/13 11:12:33 rtr Exp $ DRIVER= xf86-video-r128 DRIVER_NAME= r128_drv SRCS= r128_accel.c r128_cursor.c r128_dga.c r128_driver.c \ r128_video.c r128_misc.c r128_probe.c r128_dri.c MAN= r128.4 .include "../Makefile.xf86-driver" @