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/8743ef3e5369
branches:  trunk
changeset: 10683:8743ef3e5369
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Apr 27 01:21:06 2021 +0000

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

diffstat:

 external/mit/xf86-video-nouveau/dist/ChangeLog             |   109 +
 external/mit/xf86-video-nouveau/dist/Makefile.in           |    39 +-
 external/mit/xf86-video-nouveau/dist/aclocal.m4            |    50 +-
 external/mit/xf86-video-nouveau/dist/compile               |     6 +-
 external/mit/xf86-video-nouveau/dist/config.guess          |   891 ++-
 external/mit/xf86-video-nouveau/dist/config.sub            |  2789 +++++------
 external/mit/xf86-video-nouveau/dist/configure             |    57 +-
 external/mit/xf86-video-nouveau/dist/configure.ac          |     4 +-
 external/mit/xf86-video-nouveau/dist/depcomp               |     2 +-
 external/mit/xf86-video-nouveau/dist/install-sh            |    13 +-
 external/mit/xf86-video-nouveau/dist/ltmain.sh             |    10 +
 external/mit/xf86-video-nouveau/dist/m4/libtool.m4         |     9 +-
 external/mit/xf86-video-nouveau/dist/man/Makefile.in       |     7 +-
 external/mit/xf86-video-nouveau/dist/missing               |     2 +-
 external/mit/xf86-video-nouveau/dist/src/Makefile.in       |     5 +-
 external/mit/xf86-video-nouveau/dist/src/nouveau_dri2.c    |    23 +-
 external/mit/xf86-video-nouveau/dist/src/nouveau_present.c |    28 +-
 external/mit/xf86-video-nouveau/dist/src/nv_accel_common.c |     2 +-
 18 files changed, 2216 insertions(+), 1830 deletions(-)

diffs (truncated from 5754 to 300 lines):

diff -r a9662c73c1a9 -r 8743ef3e5369 external/mit/xf86-video-nouveau/dist/ChangeLog
--- a/external/mit/xf86-video-nouveau/dist/ChangeLog    Tue Apr 27 01:21:04 2021 +0000
+++ b/external/mit/xf86-video-nouveau/dist/ChangeLog    Tue Apr 27 01:21:06 2021 +0000
@@ -1,3 +1,112 @@
+commit c39897466573aabd6a3b4e63e8e5fb42ac5971f8
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Jan 23 12:24:42 2021 -0500
+
+    Bump version to 1.0.17
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 7212a2782f3e638acf49de4716656b2ae27c2156
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Aug 15 23:18:22 2020 -0400
+
+    present: fix handling of drmWaitVBlank failures
+    
+    When drmWaitVBlank fails, make sure to remove the event from the queue.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 5031100549fb053527a1f11d771e930dec065ced
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Aug 15 23:20:53 2020 -0400
+
+    drmmode: make event handler leave a note that there are stuck events
+    
+    We don't really expect to have too many events in the queue. If there
+    are, then the algorithm we use isn't appropriate. Add a warning when the
+    queue gets very long, as it's an indication of something having gone
+    wrong.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit f833cd0827a73b716cc3af5905015fcb2c7d958d
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Jul 18 18:44:58 2020 -0400
+
+    present: don't enable if there's no acceleration
+    
+    All the present logic relies on EXA being used to wrap everything.
+    Unclear if present could even be used without the other things EXA
+    enables, but better be safe.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 971624406a8ecd85bad8c2e2d1fd26f5d14bae92
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Jul 18 18:40:35 2020 -0400
+
+    drmmode: fix screen resize without acceleration
+    
+    This got broken with commit 86024cee back in 2014!
+    drmmode_pixmap/nouveau_pixmap expect there to be EXA wrapping around the
+    pixmap now, which is not there without accel.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 5444cabcf0ab5cea614270f1ad1df1e1fccb3c2b
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Oct 26 18:36:27 2019 -0400
+
+    make error when failing to allocate surface more descriptive
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit ef89b3c5ca9b2569ca61a9452d13a93edc832810
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Oct 12 20:13:25 2019 -0400
+
+    dri2,present: move in pixmap before getting addresses
+    
+    First of all, we were not forcing the pixmap to be moved in before
+    attempting to present it. Secondly, in certain configurations, we avoid
+    ever backing pixmaps with vram (in GPUs with 32MB of VRAM or less).
+    
+    This fixes the observed cases where we ended up assuming that a bo was
+    backing a pixmap without doing the explicit move-in.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+
+commit 856572319fadeeadf58d782ab6f3f2d230822d67
+Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+Date:   Sat Oct 12 16:00:15 2019 -0400
+
+    nv4/exa: tiling is unsupported pre-nv10, reduce alignment requirements
+    
+    Commit 8c8f15c9d3 added increased pitch alignment requirements to handle
+    nv10-nv40 tiling (which must have a small number * PoT pitch). While
+    NV4/NV5 do have tiling, this was never supported in nouveau.
+    
+    This change enables 1920x1200 resolutions since the maximum surface
+    pitch has to be strictly less than 8192. The current logic will align
+    1920*4 up to 8192 unnecessarily.
+    
+    Signed-off-by: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
+    Cc: Marcin Kościelnicki <koriakin%0x04.net@localhost>
+    Cc: Francisco Jerez <currojerez%riseup.net@localhost>
+
+commit a5f04582cecb1a649bb46b8af9f2889247788d00
+Author: Carlo Caione <carlo%endlessm.com@localhost>
+Date:   Fri Sep 1 12:47:23 2017 +0200
+
+    Don't advertise any PRIME offloading capabilities without acceleration
+    
+    Acceleration is required even for display offloading. Trying to enable
+    display offloading without acceleration resulted in a crash.
+    
+    https://bugs.freedesktop.org/show_bug.cgi?id=101220
+    
+    Signed-off-by: Carlo Caione <carlo%endlessm.com@localhost>
+
 commit ec2b45d1bf4c31c5420b48c213bf9ee1656adf9d
 Author: Ilia Mirkin <imirkin%alum.mit.edu@localhost>
 Date:   Mon Jan 28 23:25:58 2019 -0500
diff -r a9662c73c1a9 -r 8743ef3e5369 external/mit/xf86-video-nouveau/dist/Makefile.in
--- a/external/mit/xf86-video-nouveau/dist/Makefile.in  Tue Apr 27 01:21:04 2021 +0000
+++ b/external/mit/xf86-video-nouveau/dist/Makefile.in  Tue Apr 27 01:21:06 2021 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.1 from Makefile.am.
+# Makefile.in generated by automake 1.16.2 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2018 Free Software Foundation, Inc.
+# Copyright (C) 1994-2020 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -158,8 +158,8 @@
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        cscope distdir distdir-am dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+       config.h.in
 # Read a list of newline-separated strings from the standard input,
 # and print each of them once, without duplicates.  Input order is
 # *not* preserved.
@@ -368,6 +368,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -630,6 +631,10 @@
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
        $(am__post_remove_distdir)
 
+dist-zstd: distdir
+       tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+       $(am__post_remove_distdir)
+
 dist-tarZ: distdir
        @echo WARNING: "Support for distribution archives compressed with" \
                       "legacy program 'compress' is deprecated." >&2
@@ -672,6 +677,8 @@
          eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
        *.zip*) \
          unzip $(distdir).zip ;;\
+       *.tar.zst*) \
+         zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
        esac
        chmod -R a-w $(distdir)
        chmod u+w $(distdir)
@@ -850,18 +857,18 @@
        am--refresh check check-am clean clean-cscope clean-generic \
        clean-libtool cscope cscopelist-am ctags ctags-am dist \
        dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
-       dist-xz dist-zip distcheck distclean distclean-generic \
-       distclean-hdr distclean-libtool distclean-tags distcleancheck \
-       distdir distuninstallcheck dvi dvi-am html html-am info \
-       info-am install install-am install-data install-data-am \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
-       uninstall-am
+       dist-xz dist-zip dist-zstd distcheck distclean \
+       distclean-generic distclean-hdr distclean-libtool \
+       distclean-tags distcleancheck distdir distuninstallcheck dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-dvi install-dvi-am \
+       install-exec install-exec-am install-html install-html-am \
+       install-info install-info-am install-man install-pdf \
+       install-pdf-am install-ps install-ps-am install-strip \
+       installcheck installcheck-am installdirs installdirs-am \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+       tags tags-am uninstall uninstall-am
 
 .PRECIOUS: Makefile
 
diff -r a9662c73c1a9 -r 8743ef3e5369 external/mit/xf86-video-nouveau/dist/aclocal.m4
--- a/external/mit/xf86-video-nouveau/dist/aclocal.m4   Tue Apr 27 01:21:04 2021 +0000
+++ b/external/mit/xf86-video-nouveau/dist/aclocal.m4   Tue Apr 27 01:21:06 2021 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.2 -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -355,7 +355,7 @@
 # such as man pages and config files
 AC_DEFUN([XORG_PROG_RAWCPP],[
 AC_REQUIRE([AC_PROG_CPP])
-AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}],
+AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}],
    [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
 
 # Check for flag to avoid builtin definitions - assumes unix is predefined,
@@ -2265,7 +2265,7 @@
        fi
 ])
 
-# Copyright (C) 2002-2018 Free Software Foundation, Inc.
+# Copyright (C) 2002-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2280,7 +2280,7 @@
 [am__api_version='1.16'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.16.1], [],
+m4_if([$1], [1.16.2], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -2296,14 +2296,14 @@
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.16.1])dnl
+[AM_AUTOMAKE_VERSION([1.16.2])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2355,7 +2355,7 @@
 
 # AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# Copyright (C) 1997-2018 Free Software Foundation, Inc.
+# Copyright (C) 1997-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2386,7 +2386,7 @@
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2577,7 +2577,7 @@
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2616,7 +2616,9 @@
   done
   if test $am_rc -ne 0; then
     AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
-    for automatic dependency tracking.  Try re-running configure with the
+    for automatic dependency tracking.  If GNU make was not used, consider
+    re-running the configure script with MAKE="gmake" (or whatever is
+    necessary).  You can also try re-running configure with the
     '--disable-dependency-tracking' option to at least be able to build
     the package (albeit without support for automatic dependency tracking).])
   fi
@@ -2643,7 +2645,7 @@
 
 # Do all the work for Automake.                             -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 #


Home | Main Index | Thread Index | Old Index