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 Remove unused xf86-video-mo...



details:   https://anonhg.NetBSD.org/src/rev/c99ead356f5a
branches:  trunk
changeset: 1023156:c99ead356f5a
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Aug 28 08:56:10 2021 +0000

description:
Remove unused xf86-video-modesetting.

In newer xorg-server, it is integrated into the server
No users of old xorg-server use modesetting.

It requires drm drivers, but also, the sole possible user of old
xorg-server that could be handled by this Makefile is netwinder,
but it has a different ${MACHINE} and so seems like it never built the
driver.

diffstat:

 external/mit/xorg/server/drivers/Makefile                        |  11 +-----
 external/mit/xorg/server/drivers/xf86-video-modesetting/Makefile |  18 ----------
 2 files changed, 1 insertions(+), 28 deletions(-)

diffs (57 lines):

diff -r fee84d459c17 -r c99ead356f5a external/mit/xorg/server/drivers/Makefile
--- a/external/mit/xorg/server/drivers/Makefile Fri Aug 27 20:49:25 2021 +0000
+++ b/external/mit/xorg/server/drivers/Makefile Sat Aug 28 08:56:10 2021 +0000
@@ -1,14 +1,7 @@
-#      $NetBSD: Makefile,v 1.102 2021/05/27 04:54:21 jdc Exp $
+#      $NetBSD: Makefile,v 1.103 2021/08/28 08:56:10 maya Exp $
 
 .include <bsd.own.mk>
 
-# modesetting is builtin to xorg-server 1.18 tree
-.if ${XORG_SERVER_SUBDIR} == "xorg-server.old"
-MODE_SETTING=  xf86-video-modesetting
-.else
-MODE_SETTING=
-.endif
-
 # xf86-input drivers
 
 SUBDIR= \
@@ -44,7 +37,6 @@
        xf86-video-intel \
        xf86-video-mach64 \
        xf86-video-mga \
-       ${MODE_SETTING} \
        xf86-video-neomagic \
        xf86-video-nv \
        xf86-video-nouveau \
@@ -181,7 +173,6 @@
 .if ${MACHINE} == "evbarm"
 SUBDIR+= \
        xf86-video-ati \
-       ${MODE_SETTING} \
        xf86-video-nouveau \
        xf86-video-radeon \
        xf86-video-radeon-kms \
diff -r fee84d459c17 -r c99ead356f5a external/mit/xorg/server/drivers/xf86-video-modesetting/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-modesetting/Makefile  Fri Aug 27 20:49:25 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/28 18:50:39 mrg Exp $
-
-# This is for xorg-server 1.10 only.
-
-DRIVER=                xf86-video-modesetting
-DRIVER_NAME=   modesetting_drv
-
-SRCS=          driver.c drmmode_display.c
-MAN=           modesetting.4
-
-CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/libdrm
-CPPFLAGS+=     -DRANDR_12_INTERFACE
-
-.include "../Makefile.xf86-driver"
-
-.if ${HAVE_XORG_SERVER_VER} != "110"
-.error "This subdirectory is for xorg-server 1.10 only."
-.endif



Home | Main Index | Thread Index | Old Index