Hello community, here is the log from the commit of package xorg-x11-driver-video for openSUSE:Factory checked in at Mon Nov 8 12:51:56 CET 2010. -------- --- xorg-x11-driver-video/xorg-x11-driver-video.changes 2010-11-02 15:05:58.000000000 +0100 +++ xorg-x11-driver-video/xorg-x11-driver-video.changes 2010-11-06 01:23:54.000000000 +0100 @@ -1,0 +2,9 @@ +Sat Nov 6 00:10:07 UTC 2010 - sndirsch@novell.com + +- xf86-video-intel 2.13.901 + * This is an intermediate snapshot of ongoing driver development. + The primary purpose of this snapshot is to capture some recent + improvements, (particularly in Sandybridge support), for + further testing. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- xf86-video-intel-2.13.0-20101102-540c574.tar.bz2 New: ---- xf86-video-intel-2.13.901.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-driver-video.spec ++++++ --- /var/tmp/diff_new_pack.gzmIv8/_old 2010-11-08 12:51:03.000000000 +0100 +++ /var/tmp/diff_new_pack.gzmIv8/_new 2010-11-08 12:51:03.000000000 +0100 @@ -23,7 +23,7 @@ BuildRequires: Mesa-devel libdrm-devel pkgconfig xorg-x11-proto-devel xorg-x11-server-sdk Url: http://xorg.freedesktop.org/ Version: 7.5 -Release: 28 +Release: 29 License: MIT License (or similar) BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Servers/XF86_4 @@ -66,7 +66,7 @@ Source41: xf86-video-vmware-11.0.2.tar.bz2 Source42: xf86-video-voodoo-1.2.4.tar.bz2 Source44: HALlib-4.1.tar.gz -Source45: xf86-video-intel-2.13.0-20101102-540c574.tar.bz2 +Source45: xf86-video-intel-2.13.901.tar.bz2 Source46: xf86-video-ati-6.13.2.tar.bz2 Source51: xf86-video-geode-2.11.9.tar.bz2 Source54: xf86-video-mach64-6.8.2.tar.bz2 ++++++ xf86-video-intel-2.13.0-20101102-540c574.tar.bz2 -> xf86-video-intel-2.13.901.tar.bz2 ++++++ ++++ 7084 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/ChangeLog new/xf86-video-intel-2.13.901/ChangeLog --- old/xf86-video-intel-2.13.0-20101102-540c574/ChangeLog 2010-11-02 14:49:55.000000000 +0100 +++ new/xf86-video-intel-2.13.901/ChangeLog 2010-11-05 20:58:47.000000000 +0100 @@ -1,3 +1,97 @@ +commit 861ee17ae662ffec2269292f92da7833df508b1a +Author: Carl Worth <cworth@cworth.org> +Date: Fri Nov 5 12:55:02 2010 -0700 + + Update version number to 2.13.901 + + In preparation for a snapshot. + +commit aaa436b437839a80d340cc5ad598ec4b47ed2eff +Author: Carl Worth <cworth@cworth.org> +Date: Fri Nov 5 12:54:16 2010 -0700 + + NEWS: Add release notes for 2.13.901 snapshot. + + An intermediate snapshot to capture recent developments. + +commit 6b66b45b1ff207b80b81973745f42a776448f764 +Merge: a44a63d 9f232ad +Author: Carl Worth <cworth@cworth.org> +Date: Fri Nov 5 12:51:55 2010 -0700 + + Merge commit '2.13.0' + + This changes the version number and adds the 2.13.0 release notes, + (which were otherwise missing from the master branch). + +commit a44a63d2ff6c01c3dc61de6f736dd441ddd25e52 +Author: Chris Wilson <chris@chris-wilson.co.uk> +Date: Fri Nov 5 09:58:45 2010 +0000 + + Wait for any pending rendering before switching modes. + + A perennial problem we have is the accursed WAIT_FOR_EVENT hangs, which + occur when we switch the framebuffer before the WAIT_FOR_EVENT completes + and upsets the GPU. + + We have tried more subtle approaches to detected these and fix them up in + the kernel, to no avail. What we need to do is to delay the framebuffer + flip until the WAIT completes, which is quite tricky in the kernel + without new ioctls and round-trips. Instead, apply the big hammer from + userspace and synchronise all rendering before changing the framebuffer. + I expect this not to cause noticeable latency on switching modes (far + less than the actual modeswitch) and should stop these hangs once and + for all. + + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31401 (...) + Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> + +commit 52b32436b9e14a3e13818f80102150ff5bc3c002 +Author: Chris Wilson <chris@chris-wilson.co.uk> +Date: Wed Nov 3 19:42:26 2010 +0000 + + Downgrade tiling allocation failure to a warning + + We emitted this message as an error even though we fallback and attempt + to allocate a non-tiled framebuffer before failing (with an appropriate + error message). + + Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> + +commit 18839aaec505f8bbdb0690fe694162bf09a87d5c +Author: Chris Wilson <chris@chris-wilson.co.uk> +Date: Wed Nov 3 18:14:29 2010 +0000 + + Fallback to shadow for Sandybridge if we don't have access to the BLT + + If we attempt to emit BLT batches without kernel support, we just end up + with EINVAL and no rendering. Prevent this, and avoid uncached + rendering, by restoring the shadow fallback paths if there is no BLT + support. + + Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> + +commit 8ff37667bf864b771d16a58fc5041cb48408b6a8 +Author: Eric Anholt <eric@anholt.net> +Date: Tue Nov 2 10:36:03 2010 -0700 + + Remove the intermittent GEM_THROTTLE call. + + This is a holdover from early GEM work when we weren't syncing on the + DRI client side. It would keep clients from getting too far ahead and + killing their interactivity, by bringing everyone to a halt when + anyone was too far ahead. + + Now, GL clients throttle themselves to avoid the problem, and it turns + out that in the case that they don't (long rendering to buffers with + no swap), this actually reduces X Server interactivity: instead of + lagging of X rendering behind input, you get no response for seconds + at a time, then a burst of rendering, then nothing again. + + Reported by ajax. Tested with moving a window while running + cairo-perf-trace on the GL backend (improvement) and X backend (no + significant change in responsiveness). + commit 540c5742186c26c3aeccb7b5d3ff0f374722a20c Author: Xiang, Haihao <haihao.xiang@intel.com> Date: Tue Nov 2 11:05:32 2010 +0800 @@ -439,6 +533,22 @@ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30500 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> +commit 9f232ad67c72b7869dcd112207bc41dc01d7d104 +Author: Carl Worth <cworth@cworth.org> +Date: Thu Sep 30 08:45:49 2010 -0700 + + Increment version to 2.13.0 + + For the new, major release. + +commit 99ec9bb0f1eaf2e5c04614957a51624a928526e5 +Author: Carl Worth <cworth@cworth.org> +Date: Thu Sep 30 08:45:15 2010 -0700 + + Add release notes for the 2.13.0 release. + + Which is functionalliy identical to 2.12.902. + commit 345c963e443ec325f1ff530512a356ddb318ff70 Author: Zhenyu Wang <zhenyuw@linux.intel.com> Date: Thu Sep 30 10:58:49 2010 +0800 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/INSTALL new/xf86-video-intel-2.13.901/INSTALL --- old/xf86-video-intel-2.13.0-20101102-540c574/INSTALL 2010-11-02 14:49:55.000000000 +0100 +++ new/xf86-video-intel-2.13.901/INSTALL 2010-11-05 20:58:47.000000000 +0100 @@ -0,0 +1,291 @@ +Installation Instructions +************************* + +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, +2006, 2007, 2008 Free Software Foundation, Inc. + + This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + + Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following +more-detailed instructions are generic; see the `README' file for +instructions specific to this package. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. Caching is +disabled by default to prevent problems with accidental use of stale +cache files. + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You need `configure.ac' if +you want to change it or regenerate `configure' using a newer version +of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. + + Running `configure' might take a while. While running, it prints + some messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + + 6. Often, you can also type `make uninstall' to remove the installed + files again. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c99 CFLAGS=-g LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you can use GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + With a non-GNU `make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use `make distclean' before +reconfiguring for another architecture. + + On MacOS X 10.5 and later systems, you can create libraries and +executables that work on multiple system types--known as "fat" or +"universal" binaries--by specifying multiple `-arch' options to the +compiler but only a single `-arch' option to the preprocessor. Like +this: + + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CPP="gcc -E" CXXCPP="g++ -E" + + This is not guaranteed to produce working output in all cases, you +may have to build one architecture at a time and combine the results +using the `lipo' tool if you have problems. + +Installation Names +================== + + By default, `make install' installs the package's commands under +`/usr/local/bin', include files under `/usr/local/include', etc. You +can specify an installation prefix other than `/usr/local' by giving +`configure' the option `--prefix=PREFIX'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +pass the option `--exec-prefix=PREFIX' to `configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=DIR' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Particular systems +================== + + On HP-UX, the default C compiler is not ANSI C compatible. If GNU +CC is not installed, it is recommended to use the following options in +order to use an ANSI C compiler: + + ./configure CC="cc -Ae" + +and if that doesn't work, install pre-built binaries of GCC for HP-UX. + + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot +parse its `<wchar.h>' header file. The option `-nodtk' can be used as +a workaround. If GNU CC is not installed, it is therefore recommended +to try + + ./configure CC="cc" + +and if that doesn't work, try + + ./configure CC="cc -nodtk" + +Specifying the System Type +========================== + + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, `configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the option `--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified `gcc' to be used as the C compiler (unless it is +overridden in the site shell script). + +Unfortunately, this technique does not work for `CONFIG_SHELL' due to +an Autoconf bug. Until the bug is fixed you can use this workaround: + + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash + +`configure' Invocation +====================== + + `configure' recognizes the following options to control how it +operates. + +`--help' +`-h' + Print a summary of all of the options to `configure', and exit. + +`--help=short' +`--help=recursive' + Print a summary of the options unique to this package's + `configure', and exit. The `short' variant lists options used + only in the top level, while the `recursive' variant lists options + also present in any nested packages. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--prefix=DIR' + Use DIR as the installation prefix. *Note Installation Names:: + for more details, including other options available for fine-tuning + the installation locations. + +`--no-create' +`-n' + Run the configure checks, but stop before creating any output + files. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/NEWS new/xf86-video-intel-2.13.901/NEWS --- old/xf86-video-intel-2.13.0-20101102-540c574/NEWS 2010-10-01 03:38:58.000000000 +0200 +++ new/xf86-video-intel-2.13.901/NEWS 2010-11-05 20:54:04.000000000 +0100 @@ -1,3 +1,66 @@ +Snapshot 2.13.901 (2010-11-05) +============================== +This is an intermediate snapshot of ongoing driver development. The +primary purpose of this snapshot is to capture some recent +improvements, (particularly in Sandybridge support), for further +testing. + +Release 2.13.0 (2010-09-30) +=========================== +We are pleased to announce this major release of the xf86-video-intel +driver, on schedule at 3 months since 2.12.0. With the many bug fixes +in this release, we encourage everyone using 2.12 to upgrade to 2.13. + +[This release is functionally identical to the earlier 2.12.902 +release candidate.] + +New requirements compared to 2.12 +--------------------------------- + * Librdrm >= 2.4.22 + +Bug fixes +--------- + * Attempt to fix infinite MI_WAIT_FOR_EVENT while watching video + https://bugs.freedesktop.org/show_bug.cgi?id=28964 + + [Various new checks have been added to the video code here, but the + bug fix hasn't yet been verified by the original reporter.] + + * Fix buffer-object leak + https://bugs.freedesktop.org/show_bug.cgi?id=26946 + + * Fix memory leak on server reset + + * Fix crash due to unchecked pixmap allocation + https://bugs.freedesktop.org/show_bug.cgi?id=29187 + + * Fix for video artifacts when using dualscreen + https://bugs.freedesktop.org/show_bug.cgi?id=29213 + + * Fix for incorrect characters in gnome-terminal when using compiz + https://bugs.freedesktop.org/show_bug.cgi?id=28438 + + * Fix for hanging, full-screen applications, (flash, compiz, etc.) + https://bugs.freedesktop.org/show_bug.cgi?id=29584 + + * Fix selection of backlight device on multi-GPU systems + https://bugs.freedesktop.org/show_bug.cgi?id=29273 + + * Fix to avoid crash with extremely large glyphs + https://bugs.freedesktop.org/show_bug.cgi?id=29430 + + * Fix for eDP panels incorrectly being given only a single, valid mode + https://bugs.freedesktop.org/show_bug.cgi?id=30069 + + * Fix GPU hang involving clipped SRC copies + https://bugs.freedesktop.org/show_bug.cgi?id=30120 + + * Fix to compile for 1.6 series X server. + + * Fix to retry framebuffer allocation after an initial failure. + + * Fix to disable dri2 after fallbacks are forced on. + Snapshot 2.12.902 (2010-09-28) ============================== This is the second release candidate in preparation for the upcoming diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/compile new/xf86-video-intel-2.13.901/compile --- old/xf86-video-intel-2.13.0-20101102-540c574/compile 1970-01-01 01:00:00.000000000 +0100 +++ new/xf86-video-intel-2.13.901/compile 2008-06-30 22:28:04.000000000 +0200 @@ -0,0 +1,142 @@ +#! /bin/sh +# Wrapper for compilers which do not understand `-c -o'. + +scriptversion=2005-05-14.22 + +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Written by Tom Tromey <tromey@cygnus.com>. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand `-c -o'. +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file `INSTALL'. + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; +esac + +ofile= +cfile= +eat= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as `compile cc -o foo foo.c'. + # So we strip `-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no `-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # `.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` + +# Create the lock directory. +# Note: use `[/.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/configure.ac new/xf86-video-intel-2.13.901/configure.ac --- old/xf86-video-intel-2.13.0-20101102-540c574/configure.ac 2010-11-02 00:31:47.000000000 +0100 +++ new/xf86-video-intel-2.13.901/configure.ac 2010-11-05 20:54:56.000000000 +0100 @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-video-intel], - [2.12.902], + [2.13.901], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xf86-video-intel]) AC_CONFIG_SRCDIR([Makefile.am]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/missing new/xf86-video-intel-2.13.901/missing --- old/xf86-video-intel-2.13.0-20101102-540c574/missing 2010-08-31 11:53:01.000000000 +0200 +++ new/xf86-video-intel-2.13.901/missing 2008-06-30 22:28:04.000000000 +0200 @@ -1,10 +1,10 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2009-04-28.21; # UTC +scriptversion=2006-05-10.23 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, -# 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify @@ -18,7 +18,9 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -87,9 +89,6 @@ tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and -\`g' are ignored when checking the name. - Send bug reports to <bug-automake@gnu.org>." exit $? ;; @@ -107,22 +106,15 @@ esac -# normalize program name to check for. -program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect -# the program). This is about non-GNU programs, so use $1 not -# $program. +# the program). case $1 in - lex*|yacc*) + lex|yacc) # Not GNU programs, they don't have --version. ;; - tar*) + tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 @@ -146,7 +138,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case $program in +case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -156,7 +148,7 @@ touch aclocal.m4 ;; - autoconf*) + autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the @@ -165,7 +157,7 @@ touch configure ;; - autoheader*) + autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want @@ -195,7 +187,7 @@ while read f; do touch "$f"; done ;; - autom4te*) + autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the @@ -218,7 +210,7 @@ fi ;; - bison*|yacc*) + bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package @@ -248,7 +240,7 @@ fi ;; - lex*|flex*) + lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package @@ -271,7 +263,7 @@ fi ;; - help2man*) + help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the @@ -285,11 +277,11 @@ else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" - exit $? + exit 1 fi ;; - makeinfo*) + makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file @@ -318,7 +310,7 @@ touch $file ;; - tar*) + tar) shift # We have already tried tar in the generic part. @@ -371,6 +363,5 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" +# time-stamp-end: "$" # End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_batchbuffer.c new/xf86-video-intel-2.13.901/src/intel_batchbuffer.c --- old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_batchbuffer.c 2010-11-02 00:31:47.000000000 +0100 +++ new/xf86-video-intel-2.13.901/src/intel_batchbuffer.c 2010-11-05 20:50:53.000000000 +0100 @@ -283,6 +283,9 @@ { intel_screen_private *intel = intel_get_screen_private(scrn); + if (intel->last_batch_bo == NULL) + return; + /* Map it CPU write, which guarantees it's done. This is a completely * non performance path, so we don't need anything better. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_display.c new/xf86-video-intel-2.13.901/src/intel_display.c --- old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_display.c 2010-10-19 00:12:06.000000000 +0200 +++ new/xf86-video-intel-2.13.901/src/intel_display.c 2010-11-05 20:50:53.000000000 +0100 @@ -359,6 +359,8 @@ crtc->gamma_blue, crtc->gamma_size); #endif + /* drain any pending waits on the current framebuffer */ + intel_batch_wait_last(crtc->scrn); x = crtc->x; y = crtc->y; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_driver.c new/xf86-video-intel-2.13.901/src/intel_driver.c --- old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_driver.c 2010-11-02 00:31:47.000000000 +0100 +++ new/xf86-video-intel-2.13.901/src/intel_driver.c 2010-11-05 00:37:48.000000000 +0100 @@ -468,6 +468,24 @@ intel->colorKey); } +static Bool can_accelerate_2d(struct intel_screen_private *intel) +{ + if (INTEL_INFO(intel)->gen >= 60) { + drm_i915_getparam_t gp; + int value; + + /* On Sandybridge we need the BLT in order to do anything since + * it so frequently used in the acceleration code paths. + */ + gp.value = &value; + gp.param = I915_PARAM_HAS_BLT; + if (drmIoctl(intel->drmSubFD, DRM_IOCTL_I915_GETPARAM, &gp)) + return FALSE; + } + + return TRUE; +} + /** * This is called before ScreenInit to do any require probing of screen * configuration. @@ -575,6 +593,8 @@ } intel->use_shadow = FALSE; + if (!can_accelerate_2d(intel)) + intel->use_shadow = TRUE; if (xf86IsOptionSet(intel->Options, OPTION_SHADOW)) { intel->use_shadow = @@ -688,9 +708,6 @@ intel->BlockHandler = screen->BlockHandler; screen->BlockHandler = I830BlockHandler; - if (scrn->vtSema == TRUE) - drmCommandNone(intel->drmSubFD, DRM_I915_GEM_THROTTLE); - intel_uxa_block_handler(intel); intel_video_block_handler(intel); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_memory.c new/xf86-video-intel-2.13.901/src/intel_memory.c --- old/xf86-video-intel-2.13.0-20101102-540c574/src/intel_memory.c 2010-11-02 00:31:47.000000000 +0100 +++ new/xf86-video-intel-2.13.901/src/intel_memory.c 2010-11-05 00:37:48.000000000 +0100 @@ -232,7 +232,7 @@ } if (intel->tiling && tiling_mode != I915_TILING_X) { - xf86DrvMsg(scrn->scrnIndex, X_ERROR, + xf86DrvMsg(scrn->scrnIndex, X_WARNING, "Failed to set tiling on frontbuffer.\n"); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org