Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/xf86-video-mga/dist initial import of xf86-vid...
details: https://anonhg.NetBSD.org/xsrc/rev/56a47a2d21bc
branches: xorg
changeset: 7059:56a47a2d21bc
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jul 12 01:09:13 2022 +0000
description:
initial import of xf86-video-mga-2.0.1
diffstat:
external/mit/xf86-video-mga/dist/COPYING | 2 +-
external/mit/xf86-video-mga/dist/ChangeLog | 142 +-
external/mit/xf86-video-mga/dist/Makefile.in | 55 +-
external/mit/xf86-video-mga/dist/README.md | 2 +-
external/mit/xf86-video-mga/dist/aclocal.m4 | 20355 +++++++++--------
external/mit/xf86-video-mga/dist/compile | 17 +-
external/mit/xf86-video-mga/dist/config.guess | 1683 +-
external/mit/xf86-video-mga/dist/config.h.in | 10 +-
external/mit/xf86-video-mga/dist/config.sub | 2917 +-
external/mit/xf86-video-mga/dist/configure | 14761 ++++++------
external/mit/xf86-video-mga/dist/configure.ac | 22 +-
external/mit/xf86-video-mga/dist/depcomp | 10 +-
external/mit/xf86-video-mga/dist/install-sh | 179 +-
external/mit/xf86-video-mga/dist/ltmain.sh | 906 +-
external/mit/xf86-video-mga/dist/man/Makefile.in | 16 +-
external/mit/xf86-video-mga/dist/mga_PInS.txt | 2 +-
external/mit/xf86-video-mga/dist/missing | 16 +-
external/mit/xf86-video-mga/dist/src/Makefile.in | 127 +-
external/mit/xf86-video-mga/dist/src/mga.h | 4 +-
external/mit/xf86-video-mga/dist/src/mga_bios.c | 4 +-
external/mit/xf86-video-mga/dist/src/mga_dac3026.c | 2 +-
external/mit/xf86-video-mga/dist/src/mga_dacG.c | 3 +-
external/mit/xf86-video-mga/dist/src/mga_dh.c | 2 +-
external/mit/xf86-video-mga/dist/src/mga_dri.c | 2 +-
external/mit/xf86-video-mga/dist/src/mga_driver.c | 14 +-
external/mit/xf86-video-mga/dist/src/mga_exa.c | 2 +-
external/mit/xf86-video-mga/dist/src/mga_merge.c | 16 +-
external/mit/xf86-video-mga/dist/src/mga_sarea.h | 2 +-
external/mit/xf86-video-mga/dist/src/mga_vga.c | 4 +-
external/mit/xf86-video-mga/dist/src/mgareg_flags.h | 4 +-
external/mit/xf86-video-mga/dist/util/Makefile.in | 39 +-
external/mit/xf86-video-mga/dist/util/README | 2 +-
32 files changed, 21597 insertions(+), 19725 deletions(-)
diffs (truncated from 49128 to 300 lines):
diff -r b85e3ade88c1 -r 56a47a2d21bc external/mit/xf86-video-mga/dist/COPYING
--- a/external/mit/xf86-video-mga/dist/COPYING Tue Jul 12 01:09:09 2022 +0000
+++ b/external/mit/xf86-video-mga/dist/COPYING Tue Jul 12 01:09:13 2022 +0000
@@ -108,7 +108,7 @@
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTIBILITY,
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN
diff -r b85e3ade88c1 -r 56a47a2d21bc external/mit/xf86-video-mga/dist/ChangeLog
--- a/external/mit/xf86-video-mga/dist/ChangeLog Tue Jul 12 01:09:09 2022 +0000
+++ b/external/mit/xf86-video-mga/dist/ChangeLog Tue Jul 12 01:09:13 2022 +0000
@@ -1,3 +1,67 @@
+commit 37bf1be0fbaed7578f91485a00d37db3f1c84fe3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jul 10 17:11:22 2022 -0700
+
+ xf86-video-mga 2.0.1
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 638653561df767b052e372821ffd51c457591202
+Author: Raphael Isemann <teemperor%gmail.com@localhost>
+Date: Wed Apr 13 12:14:46 2022 +0200
+
+ Fix uninitialized read in MGAEnableSecondOutPut
+
+ `MGAGRestore` allocated `ModeInfo` without initializing its memory and then
+ passes it into `MGAEnableSecondOutPut` via `MGAEnableSecondOutPut(pScrn, &ModeInfo);`.
+
+ `MGAEnableSecondOutPut` then reads the unitialized memory in the line
+ `if ( !(pModeInfo->flSignalMode & POS_HSYNC) )`.
+
+ This patch just zeroes the memory to prevent those branches to be randomly
+ taken.
+
+ Signed-off-by: Raphael Isemann <teemperor%gmail.com@localhost>
+
+commit a6ab1e08ee8c5a6dfaebe8fc331bd0811ab8d13f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jan 22 13:06:47 2022 -0800
+
+ gitlab CI: add a basic build test
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1e4dbef654bd31f5706b4b860f6b34c7e5e5f440
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jan 22 13:05:35 2022 -0800
+
+ Fix spelling/wording issues
+
+ Found by using:
+ codespell --builtin clear,rare,usage,informal,code,names
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f74f0504156f2504294cdd9c7f068ab4745a5c4e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jan 22 12:57:58 2022 -0800
+
+ Build xz tarballs instead of bzip2
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f227f2f286123a9ca64b567783825a2c18b87971
+Author: Fabrice Fontaine <fontaine.fabrice%gmail.com@localhost>
+Date: Sat May 4 20:43:26 2019 +0200
+
+ configure.ac: fix cross-compilation
+
+ AC_CHECK_FILE can't be used when cross-compiling
+
+ [Retrieved from:
+ https://git.buildroot.net/buildroot/tree/package/x11r7/xdriver_xf86-video-mga/0001-misc-fixes.patch]
+ Signed-off-by: Fabrice Fontaine <fontaine.fabrice%gmail.com@localhost>
+
commit 924c310dfecbfb916f0e81c03f1142a401bed056
Author: Kevin Brace <kevinbrace%gmx.com@localhost>
Date: Fri Dec 7 16:43:46 2018 -0800
@@ -434,8 +498,8 @@
I've had a Xserver lockup in the mga driver, examining it with gdb showed
this obviously broken loop:
- count = INREG(MGAREG_VCOUNT) + 2;
- while(INREG(MGAREG_VCOUNT) < count);
+ count = INREG(MGAREG_VCOUNT) + 2;
+ while(INREG(MGAREG_VCOUNT) < count);
It reads the line counter and waits until the counter advances by two. The
cause of the lockup is this - if the kernel reschedules the Xorg process
@@ -824,28 +888,28 @@
Delete support for MGA's proprietary HAL: unifdef USEMGAHAL.
This patch produced with:
- for f in `git grep -Fwl USEMGAHAL`; do
- unifdef -B -UUSEMGAHAL $f | sponge $f
- done
+ for f in `git grep -Fwl USEMGAHAL`; do
+ unifdef -B -UUSEMGAHAL $f | sponge $f
+ done
Adam Jackson wrote:
- Hey, so, remember back in the dark ages when dualhead was this
- insanely wild differentiating feature? Matrox thought it was so
- special, in fact, that they hid most of the implementation of it
- (and a bunch of other stuff) in a binary-only blob called the
- HALlib. As you'd expect it was pretty much a cut-and-paste of
- the relevant Windows code, and then some open glue to keep it
- working; clientlx.c is that glue.
+ Hey, so, remember back in the dark ages when dualhead was this
+ insanely wild differentiating feature? Matrox thought it was so
+ special, in fact, that they hid most of the implementation of it
+ (and a bunch of other stuff) in a binary-only blob called the
+ HALlib. As you'd expect it was pretty much a cut-and-paste of
+ the relevant Windows code, and then some open glue to keep it
+ working; clientlx.c is that glue.
- I guess the theory was that if you don't tell people which
- registers to duplicate to implement a second pipe in their own
- hardware, they won't figure it out? A pretty eyeroll-worthy
- idea even at the time, and definitely not something we should be
- condoning anymore.
+ I guess the theory was that if you don't tell people which
+ registers to duplicate to implement a second pipe in their own
+ hardware, they won't figure it out? A pretty eyeroll-worthy
+ idea even at the time, and definitely not something we should be
+ condoning anymore.
- Kill it with fire, but while you're at it, untangle the hideous
- mess of MGA_HAL() macros too.
+ Kill it with fire, but while you're at it, untangle the hideous
+ mess of MGA_HAL() macros too.
Signed-off-by: Jamey Sharp <jamey%minilop.net@localhost>
Cc: Adam Jackson <ajax%redhat.com@localhost>
@@ -858,21 +922,21 @@
Adam Jackson wrote:
- Hey, so, remember back in the dark ages when dualhead was this
- insanely wild differentiating feature? Matrox thought it was so
- special, in fact, that they hid most of the implementation of it
- (and a bunch of other stuff) in a binary-only blob called the
- HALlib. As you'd expect it was pretty much a cut-and-paste of
- the relevant Windows code, and then some open glue to keep it
- working; clientlx.c is that glue.
+ Hey, so, remember back in the dark ages when dualhead was this
+ insanely wild differentiating feature? Matrox thought it was so
+ special, in fact, that they hid most of the implementation of it
+ (and a bunch of other stuff) in a binary-only blob called the
+ HALlib. As you'd expect it was pretty much a cut-and-paste of
+ the relevant Windows code, and then some open glue to keep it
+ working; clientlx.c is that glue.
- I guess the theory was that if you don't tell people which
- registers to duplicate to implement a second pipe in their own
- hardware, they won't figure it out? A pretty eyeroll-worthy
- idea even at the time, and definitely not something we should be
- condoning anymore.
+ I guess the theory was that if you don't tell people which
+ registers to duplicate to implement a second pipe in their own
+ hardware, they won't figure it out? A pretty eyeroll-worthy
+ idea even at the time, and definitely not something we should be
+ condoning anymore.
- Kill it with fire ...
+ Kill it with fire ...
Signed-off-by: Jamey Sharp <jamey%minilop.net@localhost>
Reviewed-by: Jeremy Huddleston <jeremyhu%apple.com@localhost>
@@ -1850,7 +1914,7 @@
Conflicts:
- src/mga_macros.h
+ src/mga_macros.h
commit 4bcfca9bcf4a2be8d49a700b1a0d529f4e5ea412
Author: Tilman Sauerbeck <tilman%code-monkey.de@localhost>
@@ -2645,7 +2709,7 @@
Use sed & cpp to substitute variables in driver man pages
commit 52497dac4be07bb5a4ca1a73ec6198851173b6c4
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
Date: Tue Sep 27 20:53:19 2005 +0000
Update build system for apm, chips, cirrus, glint, i740, mga, neomagic,
@@ -2742,13 +2806,13 @@
- Update modular Xorg version
commit 73d19fde3b2c78693298b60252e1a67e28cb708a
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
Date: Thu Jul 28 15:48:19 2005 +0000
Add missing backslash, patch from Donnie Berkholz
commit 3e06876c193d945f2df0c2521a2c80ec73ce5cb8
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
Date: Wed Jul 27 21:23:29 2005 +0000
Add xf86driproto to dependencies for drivers with DRI support. Patch from
@@ -2761,7 +2825,7 @@
Include binding.h to fix make distcheck
commit a5f5f658a9875ea2dfb01200305dab54ce4115ac
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
Date: Tue Jul 26 18:29:39 2005 +0000
symlink.sh: add binding.h from mga/HALlib add nsc/gfx add nsc/panel
@@ -2769,7 +2833,7 @@
include of cfb8_32.h modularizevideodriver.sh: fix typo
commit efca764ce95094531baf14daf6e5e538cc1e9210
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
Date: Tue Jul 26 01:18:43 2005 +0000
"Build system for `basename $PWD | sed s/xf86-video-//`"
@@ -2924,7 +2988,7 @@
console.
commit f29f2239d31232e152744321c447035ede658ce2
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
Date: Fri Aug 13 18:24:08 2004 +0000
Fri Aug 13 19:53:10 2004 Soeren Sandmann <sandmann%redhat.com@localhost>
diff -r b85e3ade88c1 -r 56a47a2d21bc external/mit/xf86-video-mga/dist/Makefile.in
--- a/external/mit/xf86-video-mga/dist/Makefile.in Tue Jul 12 01:09:09 2022 +0000
+++ b/external/mit/xf86-video-mga/dist/Makefile.in Tue Jul 12 01:09:13 2022 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -154,9 +154,9 @@
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
- cscope distdir dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
- $(LISP)config.h.in
+ cscope distdir distdir-am dist dist-all distcheck
+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.
@@ -173,13 +173,10 @@
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
- ChangeLog INSTALL compile config.guess config.sub install-sh \
- ltmain.sh missing
+ ChangeLog INSTALL README.md compile config.guess config.sub \
+ install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -215,9 +212,11 @@
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
GZIP_ENV = --best
-DIST_TARGETS = dist-bzip2 dist-gzip
+DIST_TARGETS = dist-xz dist-gzip
+# Exists only to be overridden by the user if desired.
+AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -241,6 +240,8 @@
CHANGELOG_CMD = @CHANGELOG_CMD@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
CWARNFLAGS = @CWARNFLAGS@
CYGPATH_W = @CYGPATH_W@
Home |
Main Index |
Thread Index |
Old Index