Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist merge xorg-server 1.20.13.



details:   https://anonhg.NetBSD.org/xsrc/rev/1b18db7b99fd
branches:  trunk
changeset: 10794:1b18db7b99fd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Aug 23 22:32:40 2021 +0000

description:
merge xorg-server 1.20.13.

diffstat:

 external/mit/xorg-server/dist/configure                                |  30 +++++-----
 external/mit/xorg-server/dist/configure.ac                             |   4 +-
 external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/present.c |   3 +
 external/mit/xorg-server/dist/randr/randr.c                            |  27 +++++++++
 external/mit/xorg-server/dist/randr/randrstr.h                         |   2 +
 5 files changed, 49 insertions(+), 17 deletions(-)

diffs (201 lines):

diff -r 914fe03b8b74 -r 1b18db7b99fd external/mit/xorg-server/dist/configure
--- a/external/mit/xorg-server/dist/configure   Mon Aug 23 22:30:44 2021 +0000
+++ b/external/mit/xorg-server/dist/configure   Mon Aug 23 22:32:40 2021 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for xorg-server 1.20.12.
+# Generated by GNU Autoconf 2.69 for xorg-server 1.20.13.
 #
 # Report bugs to <https://gitlab.freedesktop.org/xorg/xserver/issues>.
 #
@@ -651,8 +651,8 @@
 # Identity of this package.
 PACKAGE_NAME='xorg-server'
 PACKAGE_TARNAME='xorg-server'
-PACKAGE_VERSION='1.20.12'
-PACKAGE_STRING='xorg-server 1.20.12'
+PACKAGE_VERSION='1.20.13'
+PACKAGE_STRING='xorg-server 1.20.13'
 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/xserver/issues'
 PACKAGE_URL=''
 
@@ -2045,7 +2045,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures xorg-server 1.20.12 to adapt to many kinds of systems.
+\`configure' configures xorg-server 1.20.13 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -2116,7 +2116,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xorg-server 1.20.12:";;
+     short | recursive ) echo "Configuration of xorg-server 1.20.13:";;
    esac
   cat <<\_ACEOF
 
@@ -2307,10 +2307,10 @@
                           org.x)
   --with-bundle-version=VERSION
                           Version to use for X11.app's CFBundleVersion
-                          (default: 1.20.12)
+                          (default: 1.20.13)
   --with-bundle-version-string=VERSION
                           Version to use for X11.app's
-                          CFBundleShortVersionString (default: 1.20.12)
+                          CFBundleShortVersionString (default: 1.20.13)
   --with-sparkle-feed-url=URL
                           URL for the Sparkle feed (default:
                           https://www.xquartz.org/releases/sparkle/release.xml)
@@ -2567,7 +2567,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xorg-server configure 1.20.12
+xorg-server configure 1.20.13
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -3276,7 +3276,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xorg-server $as_me 1.20.12, which was
+It was created by xorg-server $as_me 1.20.13, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3624,7 +3624,7 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-RELEASE_DATE="2021-07-08"
+RELEASE_DATE="2021-07-29"
 RELEASE_NAME="Lemon Pepper Chicken"
 
 
@@ -4138,7 +4138,7 @@
 
 # Define the identity of the package.
  PACKAGE='xorg-server'
- VERSION='1.20.12'
+ VERSION='1.20.13'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -16502,7 +16502,7 @@
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        10.[012][,.]*)
          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
-       10.*)
+       10.*|11.*)
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
       esac
     ;;
@@ -23773,7 +23773,7 @@
 if test "${with_bundle_version+set}" = set; then :
   withval=$with_bundle_version;  BUNDLE_VERSION="${withval}"
 else
-   BUNDLE_VERSION="1.20.12"
+   BUNDLE_VERSION="1.20.13"
 fi
 
 
@@ -33618,7 +33618,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xorg-server $as_me 1.20.12, which was
+This file was extended by xorg-server $as_me 1.20.13, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -33684,7 +33684,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-xorg-server config.status 1.20.12
+xorg-server config.status 1.20.13
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -r 914fe03b8b74 -r 1b18db7b99fd external/mit/xorg-server/dist/configure.ac
--- a/external/mit/xorg-server/dist/configure.ac        Mon Aug 23 22:30:44 2021 +0000
+++ b/external/mit/xorg-server/dist/configure.ac        Mon Aug 23 22:32:40 2021 +0000
@@ -26,8 +26,8 @@
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ(2.60)
-AC_INIT([xorg-server], 1.20.12, [https://gitlab.freedesktop.org/xorg/xserver/issues], xorg-server)
-RELEASE_DATE="2021-07-08"
+AC_INIT([xorg-server], 1.20.13, [https://gitlab.freedesktop.org/xorg/xserver/issues], xorg-server)
+RELEASE_DATE="2021-07-29"
 RELEASE_NAME="Lemon Pepper Chicken"
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_MACRO_DIR([m4])
diff -r 914fe03b8b74 -r 1b18db7b99fd external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/present.c
--- a/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/present.c    Mon Aug 23 22:30:44 2021 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/present.c    Mon Aug 23 22:32:40 2021 +0000
@@ -257,6 +257,9 @@
         pixmap->devKind != drmmode_bo_get_pitch(&ms->drmmode.front_bo))
         return FALSE;
 
+    if (!ms->drmmode.glamor)
+        return FALSE;
+
 #ifdef GBM_BO_WITH_MODIFIERS
     /* Check if buffer format/modifier is supported by all active CRTCs */
     gbm = glamor_gbm_bo_from_pixmap(screen, pixmap);
diff -r 914fe03b8b74 -r 1b18db7b99fd external/mit/xorg-server/dist/randr/randr.c
--- a/external/mit/xorg-server/dist/randr/randr.c       Mon Aug 23 22:30:44 2021 +0000
+++ b/external/mit/xorg-server/dist/randr/randr.c       Mon Aug 23 22:32:40 2021 +0000
@@ -693,6 +693,33 @@
     return NULL;
 }
 
+RRCrtcPtr
+RRFirstEnabledCrtc(ScreenPtr pScreen)
+{
+    rrScrPriv(pScreen);
+    RROutputPtr output;
+    int i, j;
+
+    if (!pScrPriv)
+        return NULL;
+
+    if (pScrPriv->primaryOutput && pScrPriv->primaryOutput->crtc &&
+        pScrPriv->primaryOutput->pScreen == pScreen)
+        return pScrPriv->primaryOutput->crtc;
+
+    for (i = 0; i < pScrPriv->numCrtcs; i++) {
+        RRCrtcPtr crtc = pScrPriv->crtcs[i];
+
+        for (j = 0; j < pScrPriv->numOutputs; j++) {
+            output = pScrPriv->outputs[j];
+            if (output->crtc == crtc && crtc->mode)
+                return crtc;
+        }
+    }
+    return NULL;
+}
+
+
 CARD16
 RRVerticalRefresh(xRRModeInfo * mode)
 {
diff -r 914fe03b8b74 -r 1b18db7b99fd external/mit/xorg-server/dist/randr/randrstr.h
--- a/external/mit/xorg-server/dist/randr/randrstr.h    Mon Aug 23 22:30:44 2021 +0000
+++ b/external/mit/xorg-server/dist/randr/randrstr.h    Mon Aug 23 22:32:40 2021 +0000
@@ -600,6 +600,8 @@
 
 extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen);
 
+extern _X_EXPORT RRCrtcPtr RRFirstEnabledCrtc(ScreenPtr pScreen);
+
 extern _X_EXPORT Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
 
 extern _X_EXPORT CARD16



Home | Main Index | Thread Index | Old Index