Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xf86-video-nouveau/dist initial import of xf8...



details:   https://anonhg.NetBSD.org/xsrc/rev/d8a6aee968cd
branches:  trunk
changeset: 10151:d8a6aee968cd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 03 09:40:14 2019 +0000

description:
initial import of xf86-video-nouveau-1.0.16

diffstat:

 external/mit/xf86-video-nouveau/dist/ChangeLog             |   578 +
 external/mit/xf86-video-nouveau/dist/Makefile.am           |     3 +-
 external/mit/xf86-video-nouveau/dist/Makefile.in           |    22 +-
 external/mit/xf86-video-nouveau/dist/aclocal.m4            |  9304 +-----------
 external/mit/xf86-video-nouveau/dist/compile               |    13 +-
 external/mit/xf86-video-nouveau/dist/config.guess          |   176 +-
 external/mit/xf86-video-nouveau/dist/config.h.in           |    15 +-
 external/mit/xf86-video-nouveau/dist/config.sub            |    83 +-
 external/mit/xf86-video-nouveau/dist/configure             |  1496 +-
 external/mit/xf86-video-nouveau/dist/configure.ac          |    76 +-
 external/mit/xf86-video-nouveau/dist/depcomp               |    10 +-
 external/mit/xf86-video-nouveau/dist/install-sh            |    47 +-
 external/mit/xf86-video-nouveau/dist/ltmain.sh             |    77 +-
 external/mit/xf86-video-nouveau/dist/m4/libtool.m4         |  8382 ++++++++++
 external/mit/xf86-video-nouveau/dist/m4/ltoptions.m4       |   437 +
 external/mit/xf86-video-nouveau/dist/m4/ltsugar.m4         |   124 +
 external/mit/xf86-video-nouveau/dist/m4/ltversion.m4       |    23 +
 external/mit/xf86-video-nouveau/dist/m4/lt~obsolete.m4     |    99 +
 external/mit/xf86-video-nouveau/dist/man/Makefile.am       |    22 +-
 external/mit/xf86-video-nouveau/dist/man/Makefile.in       |    45 +-
 external/mit/xf86-video-nouveau/dist/man/nouveau.man       |    11 +-
 external/mit/xf86-video-nouveau/dist/missing               |    16 +-
 external/mit/xf86-video-nouveau/dist/src/Makefile.in       |   195 +-
 external/mit/xf86-video-nouveau/dist/src/nouveau_dri2.c    |    39 +-
 external/mit/xf86-video-nouveau/dist/src/nouveau_present.c |     5 +-
 25 files changed, 10593 insertions(+), 10705 deletions(-)

diffs (truncated from 23234 to 300 lines):

diff -r f6f755080785 -r d8a6aee968cd external/mit/xf86-video-nouveau/dist/ChangeLog
--- a/external/mit/xf86-video-nouveau/dist/ChangeLog    Sun Mar 03 09:31:52 2019 +0000
+++ b/external/mit/xf86-video-nouveau/dist/ChangeLog    Sun Mar 03 09:40:14 2019 +0000
@@ -1,3 +1,581 @@
+commit ec2b45d1bf4c31c5420b48c213bf9ee1656adf9d
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Mon Jan 28 23:25:58 2019 -0500
+
+    Bump version to 1.0.16
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 2376d1ebf2d9a96bc2ebf21d53a9f9841ce5c15b
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Jan 26 23:00:19 2019 -0500
+
+    update known chipsets list
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+    Reviewed-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit ca13913aaf7e3995c3b49d3d80aad7e6cb33291a
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Wed Jan 23 00:29:51 2019 -0500
+
+    Revert "wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER"
+    
+    This reverts commit d7ba24fb6e4fce43adc3c73369c5d1035ae080a9.
+    
+    When built and run against Xorg 1.20.3, part way through init, I got an
+    error about wfbPictureInit not existing despite not having wfb_enabled
+    set.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit fb2d4d27837ebf3ae2fdcf091495f52d2ad8c822
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Wed Jan 23 00:28:05 2019 -0500
+
+    present: rotated crtc's work fine
+    
+    The "pick best" logic takes rotation into account. However flipping a
+    rotated CRTC can't work, so we disable that.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 92db605f0f5ac14957e38e59782ef3ed4808de05
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 22:59:54 2019 -0500
+
+    Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 8a90309401963aa43f89f91e204ec9cac5ade704
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:23 2019 -0500
+
+    config: Suggest upstream to find macros in case they are missing
+    
+    Added upstream suggestion to error message in case xorg macros or
+    xserver macros are missing. No actual package manager references in
+    suggestion since these are 'user' and/or 'distribution' preferences.
+    
+    (Cherry picked from xf86-video-intel 90538ecfff9c324d61419f451d41d26ab026f232)
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit fcddd2c8e6e4a738bf28028e6d4ad5be34c8b2ae
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:22 2019 -0500
+
+    config: Complete bug report URL for Xorg DDX nouveau driver
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit a566c883b3663b685e467788b8b5de6d99ef9ae2
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:21 2019 -0500
+
+    config: Set automake options consistently in one location
+    
+    Avoid use of two manners of setting automake configuration options,
+    and consolidate them into AM_INIT_AUTOMAKE macro.
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 56e67e09925b0b5544884b279b9cc5552964fd25
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:20 2019 -0500
+
+    config: remove unused sdkdir=$(pkg-config...) statement
+    
+    The sdkdir variable is not used, so remove the statement.
+    
+    (Copied from xf86-video-ati 36bd69affc996c92c40b7360a7fbaa1a3a46abfd)
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit db51fcf52067e4412c96bb4c84d97ceac6c857a6
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:19 2019 -0500
+
+    config: Remove unrequired AC_SUBST for LIBDRM_NOUVEAU and LIBUDEV
+    
+    These macros are called by the PKG_CHECK_MODULES macro, for all
+    versions of pkg-config >= 0.24.0 (released May 23, 2010).
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit f5250b1d46b6442550140b149341e06f7f27ae8d
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:18 2019 -0500
+
+    config: Add comments for main statements
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit ed653f76b17ba4b252fe405e7bd39b36142dae05
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:17 2019 -0500
+
+    config: Use LT_INIT option instead of AC_DISABLE_STATIC
+    
+    Since libtool 2.2 (released March 2008) the preferred initiation of
+    libtool is with the LT_INIT() macro, instead of AC_PROG_LIBTOOL.
+    
+    As we are using LT_INIT anyway we might as well pass the disable-static
+    option directly to it instead of using the AC_DISABLE_STATIC macro.
+    
+    See:
+    - https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
+    - https://www.x.org/wiki/NewModuleGuidelines/
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit fe3fc188f17f000afae4c307ad5e54f1596fc6ff
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:16 2019 -0500
+
+    config: Utilize util-macros 1.8 for additional man page support
+    
+    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
+    The value of MAN_SUBST is the same for all X.Org packages.
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit caaac38112fa9066089099655866e0e9f5e3a647
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:15 2019 -0500
+
+    config: remove unrequired AC_HEADER_STDC
+    
+    Autoconf says:
+    "This macro is obsolescent, as current systems have conforming
+    header files. New programs need not use this macro".
+    
+    Was previously required to ensure the system has C header files conforming
+    to ANSI C89 (ISO C90). Specifically, this macro checks for stdlib.h,
+    stdarg.h, string.h, and float.h.
+    
+    This autoconf option was used to provide conditional fallback support
+    via defined STDC_HEADERS.
+    
+    xf86-video-nouveau does not do so, so this macro is obsolete and unused,
+    so let's drop it.
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 4cf6d02ecbd5d2201d66324ba33f9fcbed67092f
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:14 2019 -0500
+
+    config: Use XORG_DEFAULT_OPTIONS which replaces six XORG_* macros
+    
+    This macro expands into several macros and provide several build functions [0].
+    Refer to the module generated aclocal.m4 file as this is subject to change.
+    
+    At present, this includes:
+    - XORG_CWARNFLAGS: platform adjusted compiler warning flags
+    - XORG_STRICT_OPTION: additional warning flags
+    - XORG_RELEASE_VERSION: defines variables for major, minor and patch level
+    - XORG_CHANGELOG: contains a makefile rule which creates the ChangeLog file from Git
+    - XORG_INSTALL: contains a makefile rule which provides the INSTALL file in the module root directory
+    - XORG_MANPAGE_SECTIONS: platform adjusted man page section number
+    
+    The above macros invoke the following Autoconf macros:
+    - AC_PROG_INSTALL
+    - AC_PROG_CC_C99
+    - AC_PROG_SED
+    - AC_CANONICAL_HOST
+    
+    [0] https://www.x.org/wiki/NewModuleGuidelines/
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 945f95775a21cbcc721b579f7dc220f1474d1d25
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:13 2019 -0500
+
+    config: libtoolize: put macros in AC_CONFIG_MACRO_DIR, 'm4'
+    
+    As suggested by one tool called by autoreconf. Necessitates change to:
+    - configure.ac: Call AC_CONFIG_MACRO_DIR()
+    - Makefile.am: Set ACLOCAL_AMFLAGS = -I m4
+    - Create placeholder m4 folders
+    - Update gitignore files
+    
+    >From the autoconf documentation:
+    
+     "Starting from version 2.58, autoconf provide the macro AC_CONFIG_MACRO_DIR
+      to declare where additional macro files are to be put and found. The
+      argument passed to this macro is commonly m4."
+      https://autotools.io/autoconf/macros.html
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 9b60c3bc74c69d607d44c864f60f5fda0b11cd48
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:12 2019 -0500
+
+    gitignore: Update to mirror modern X.org drivers
+    
+    Avoids git showing autoconf/automake generated files (e.g. tarballs) that
+    are local build artifacts and should not be committed.
+    
+    Cherry picked from xf86-video-intel as at:
+    https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/blob/7c9dbc980b760e0053d83ca2d7cb147613285680/.gitignore
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 1761769d43ab3ab31b5e5d92e6014fdea21830bd
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:11 2019 -0500
+
+    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
+    
+    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
+    AC_PROG_C_C99. This sets gcc with -std=gnu99.
+    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit e27c0bb6c70b1a68ddf2aeeb0e4346e0a41b8d9c
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:10 2019 -0500
+
+    config: Rely upon list.h as at least xorg-server 1.8 required
+    
+    Fixes: edd1608 ("xorg_list: define the xorg_list* symbols")
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 6700548071763daf30ab74dbcfb6543ea0db101d
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:09 2019 -0500
+
+    config: Only check for presence of libdrm package once
+    
+    After a version-conditioned check for libdrm was added, no longer necessary
+    to check a second time, especially without a version number check.
+    
+    Fixes: 779b8d4 ("Link against libdrm")
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 9b2b008eb76c6f4c31d5f71ca01a06254a03f7c9
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:08 2019 -0500
+
+    config, nv: Use xorg-macros PACKAGE_VERSION_{MAJOR, MINOR, PATCHLEVEL}
+    
+    Use xorg-macros provided PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} rather
+    than rolling our own in xf86-video-nouveau.
+    
+    Macro has been available since xorg-macros 1.1.5 (we rely on >= 1.8)
+    provided that XORG_DEFAULT_OPTIONS is called.
+    
+    Fixes: b82aacd ("configure: require xorg-macros 1.8")
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit b098bdae321182d2f18d791e7f1c665dec21f571
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Mon Jan 21 00:52:07 2019 -0500
+
+    config: Fix typo in comment
+    
+    Signed-off-by: Rhys Kidd <rhyskidd%gmail.com@localhost>
+
+commit 764b42babd38b545ccb3b43cd81c989bddf71c77
+Author: Rhys Kidd <rhyskidd%gmail.com@localhost>
+Date:   Sun Jan 20 22:21:34 2019 -0500
+
+    xv/nv30, nv40: Mark local NV30GetSurfaceFormat and NV40GetSurfaceFormat as static
+    
+    Avoids warnings with gcc 8.2:
+    
+    nv30_xv_tex.c:138:1: warning: no previous prototype for â??NV30GetSurfaceFormatâ?? [-Wmissing-prototypes]
+     NV30GetSurfaceFormat(PixmapPtr ppix, int *fmt_ret)
+     ^~~~~~~~~~~~~~~~~~~~
+    
+    nv40_xv_tex.c:138:1: warning: no previous prototype for â??NV40GetSurfaceFormatâ?? [-Wmissing-prototypes]



Home | Main Index | Thread Index | Old Index