Hello community, here is the log from the commit of package xf86-video-omap for openSUSE:Factory checked in at 2013-03-08 09:57:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-video-omap (Old) and /work/SRC/openSUSE:Factory/.xf86-video-omap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-omap", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-video-omap/xf86-video-omap.changes 2012-10-19 08:53:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-omap.new/xf86-video-omap.changes 2013-03-08 09:57:06.000000000 +0100 @@ -1,0 +2,10 @@ +Thu Mar 7 10:02:46 UTC 2013 - [email protected] + +- Update to release 0.4.3: + * DRI2: Fix some potential leaks + * Fix modesetting issue on kernels prior to rotation support + * Remove unnecessary DRI1 check in configure.ac + * DRI2: Fix potential triple-buffer loop in SwapComplete + + +------------------------------------------------------------------- Old: ---- xf86-video-omap-0.4.2.tar.bz2 New: ---- xf86-video-omap-0.4.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-video-omap.spec ++++++ --- /var/tmp/diff_new_pack.oX3Y4Y/_old 2013-03-08 09:57:07.000000000 +0100 +++ /var/tmp/diff_new_pack.oX3Y4Y/_new 2013-03-08 09:57:07.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package xf86-video-omap # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Summary: X.Org X server -- Omapdrm display driver License: MIT Group: System/X11/Servers/XF86_4 -Version: 0.4.2 +Version: 0.4.3 Release: 0.0 ExclusiveArch: armv7l armv7hl Url: https://github.com/robclark/xf86-video-omap ++++++ xf86-video-omap-0.4.2.tar.bz2 -> xf86-video-omap-0.4.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/Makefile.in new/xf86-video-omap-0.4.3/Makefile.in --- old/xf86-video-omap-0.4.2/Makefile.in 2012-10-18 17:19:25.000000000 +0200 +++ new/xf86-video-omap-0.4.3/Makefile.in 2013-03-07 11:28:33.000000000 +0100 @@ -182,8 +182,6 @@ DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ DRIVER_NAME = @DRIVER_NAME@ -DRI_CFLAGS = @DRI_CFLAGS@ -DRI_LIBS = @DRI_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/NEWS new/xf86-video-omap-0.4.3/NEWS --- old/xf86-video-omap-0.4.2/NEWS 2012-10-18 13:07:47.000000000 +0200 +++ new/xf86-video-omap-0.4.3/NEWS 2013-01-11 18:07:42.000000000 +0100 @@ -31,3 +31,14 @@ * fix 'make dist' issue that would result in distribution tarballs missing the header files +Release 0.4.3 (2012-01-11) +========================== + +* DRI2: Fix some potential leaks + +* Fix modesetting issue on kernels prior to rotation support + +* Remove unnecessary DRI1 check in configure.ac + +* DRI2: Fix potential triple-buffer loop in SwapComplete + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/config.h.in new/xf86-video-omap-0.4.3/config.h.in --- old/xf86-video-omap-0.4.2/config.h.in 2012-10-18 17:19:19.000000000 +0200 +++ new/xf86-video-omap-0.4.3/config.h.in 2013-03-07 11:28:26.000000000 +0100 @@ -77,9 +77,3 @@ /* Enable debug support */ #undef VIDEO_DEBUG - -/* Enable DRI driver support */ -#undef XF86DRI - -/* Enable developmental DRI driver support */ -#undef XF86DRI_DEVEL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/configure new/xf86-video-omap-0.4.3/configure --- old/xf86-video-omap-0.4.2/configure 2012-10-18 17:19:33.000000000 +0200 +++ new/xf86-video-omap-0.4.3/configure 2013-03-07 11:28:41.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for xf86-video-omap 0.4.2. +# Generated by GNU Autoconf 2.69 for xf86-video-omap 0.4.3. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='xf86-video-omap' PACKAGE_TARNAME='xf86-video-omap' -PACKAGE_VERSION='0.4.2' -PACKAGE_STRING='xf86-video-omap 0.4.2' +PACKAGE_VERSION='0.4.3' +PACKAGE_STRING='xf86-video-omap 0.4.3' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi' PACKAGE_URL='' @@ -640,10 +640,6 @@ DRIVER_NAME VIDEO_DEBUG_FALSE VIDEO_DEBUG_TRUE -DRI_LIBS -DRI_CFLAGS -DRI_FALSE -DRI_TRUE XORG_LIBS XORG_CFLAGS OTOOL64 @@ -813,9 +809,7 @@ PKG_CONFIG_PATH PKG_CONFIG_LIBDIR XORG_CFLAGS -XORG_LIBS -DRI_CFLAGS -DRI_LIBS' +XORG_LIBS' # Initialize some variables set by options. @@ -1356,7 +1350,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 xf86-video-omap 0.4.2 to adapt to many kinds of systems. +\`configure' configures xf86-video-omap 0.4.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1426,7 +1420,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of xf86-video-omap 0.4.2:";; + short | recursive ) echo "Configuration of xf86-video-omap 0.4.3:";; esac cat <<\_ACEOF @@ -1483,8 +1477,6 @@ path overriding pkg-config's built-in search path XORG_CFLAGS C compiler flags for XORG, overriding pkg-config XORG_LIBS linker flags for XORG, overriding pkg-config - DRI_CFLAGS C compiler flags for DRI, overriding pkg-config - DRI_LIBS linker flags for DRI, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1552,7 +1544,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -xf86-video-omap configure 0.4.2 +xf86-video-omap configure 0.4.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1967,7 +1959,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by xf86-video-omap $as_me 0.4.2, which was +It was created by xf86-video-omap $as_me 0.4.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2795,7 +2787,7 @@ # Define the identity of the package. PACKAGE='xf86-video-omap' - VERSION='0.4.2' + VERSION='0.4.3' cat >>confdefs.h <<_ACEOF @@ -18802,181 +18794,6 @@ fi -save_CFLAGS="$CFLAGS" -CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS" -CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5 -$as_echo_n "checking whether to include DRI support... " >&6; } -if test x$DRI != xno; then - as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5 -$as_echo_n "checking for ${sdkdir}/dri.h... " >&6; } -if eval \${$as_ac_File+:} false; then : - $as_echo_n "(cached) " >&6 -else - test "$cross_compiling" = yes && - as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 -if test -r "${sdkdir}/dri.h"; then - eval "$as_ac_File=yes" -else - eval "$as_ac_File=no" -fi -fi -eval ac_res=\$$as_ac_File - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_File"\" = x"yes"; then : - have_dri_h="yes" -else - have_dri_h="no" -fi - - as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5 -$as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; } -if eval \${$as_ac_File+:} false; then : - $as_echo_n "(cached) " >&6 -else - test "$cross_compiling" = yes && - as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 -if test -r "${sdkdir}/dristruct.h"; then - eval "$as_ac_File=yes" -else - eval "$as_ac_File=no" -fi -fi -eval ac_res=\$$as_ac_File - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_File"\" = x"yes"; then : - have_dristruct_h="yes" -else - have_dristruct_h="no" -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5 -$as_echo_n "checking whether to include DRI support... " >&6; } -if test x$DRI = xauto; then - if test "$have_dri_h" = yes -a \ - "$have_dristruct_h" = yes; then - DRI="yes" - else - DRI="no" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5 -$as_echo "$DRI" >&6; } -CFLAGS="$save_CFLAGS $DEBUGFLAGS" - - if test x$DRI = xyes; then - DRI_TRUE= - DRI_FALSE='#' -else - DRI_TRUE='#' - DRI_FALSE= -fi - -if test "$DRI" = yes; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5 -$as_echo_n "checking for DRI... " >&6; } - -if test -n "$DRI_CFLAGS"; then - pkg_cv_DRI_CFLAGS="$DRI_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86driproto glproto\""; } >&5 - ($PKG_CONFIG --exists --print-errors "xf86driproto glproto") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "xf86driproto glproto" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$DRI_LIBS"; then - pkg_cv_DRI_LIBS="$DRI_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86driproto glproto\""; } >&5 - ($PKG_CONFIG --exists --print-errors "xf86driproto glproto") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "xf86driproto glproto" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86driproto glproto" 2>&1` - else - DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86driproto glproto" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$DRI_PKG_ERRORS" >&5 - - as_fn_error $? "Package requirements (xf86driproto glproto) were not met: - -$DRI_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables DRI_CFLAGS -and DRI_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details." "$LINENO" 5 -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables DRI_CFLAGS -and DRI_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see <http://pkg-config.freedesktop.org/>. -See \`config.log' for more details" "$LINENO" 5; } -else - DRI_CFLAGS=$pkg_cv_DRI_CFLAGS - DRI_LIBS=$pkg_cv_DRI_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -fi - -$as_echo "#define XF86DRI 1" >>confdefs.h - - -$as_echo "#define XF86DRI_DEVEL 1" >>confdefs.h - -fi - if test x$VIDEO_DEBUG = xyes; then VIDEO_DEBUG_TRUE= VIDEO_DEBUG_FALSE='#' @@ -18991,8 +18808,6 @@ fi - - DRIVER_NAME=omap @@ -19140,10 +18955,6 @@ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then - as_fn_error $? "conditional \"DRI\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${VIDEO_DEBUG_TRUE}" && test -z "${VIDEO_DEBUG_FALSE}"; then as_fn_error $? "conditional \"VIDEO_DEBUG\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -19545,7 +19356,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by xf86-video-omap $as_me 0.4.2, which was +This file was extended by xf86-video-omap $as_me 0.4.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19611,7 +19422,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -xf86-video-omap config.status 0.4.2 +xf86-video-omap config.status 0.4.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/configure.ac new/xf86-video-omap-0.4.3/configure.ac --- old/xf86-video-omap-0.4.2/configure.ac 2012-10-18 13:07:47.000000000 +0200 +++ new/xf86-video-omap-0.4.3/configure.ac 2013-01-11 18:07:42.000000000 +0100 @@ -5,7 +5,7 @@ # XXX bug URL should be https://bugs.freedesktop.org/enter_bug.cgi?product=xorg # but this makes autoheader choke.. AC_INIT([xf86-video-omap], - [0.4.2], + [0.4.3], [https://bugs.freedesktop.org/enter_bug.cgi], [xf86-video-omap]) AC_CONFIG_SRCDIR([Makefile.am]) @@ -50,42 +50,11 @@ # Checks for header files. AC_HEADER_STDC -save_CFLAGS="$CFLAGS" -CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS" -CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS" -AC_MSG_CHECKING([whether to include DRI support]) -if test x$DRI != xno; then - AC_CHECK_FILE([${sdkdir}/dri.h], - [have_dri_h="yes"], [have_dri_h="no"]) - AC_CHECK_FILE([${sdkdir}/dristruct.h], - [have_dristruct_h="yes"], [have_dristruct_h="no"]) -fi -AC_MSG_CHECKING([whether to include DRI support]) -if test x$DRI = xauto; then - if test "$have_dri_h" = yes -a \ - "$have_dristruct_h" = yes; then - DRI="yes" - else - DRI="no" - fi -fi -AC_MSG_RESULT([$DRI]) -CFLAGS="$save_CFLAGS $DEBUGFLAGS" - -AM_CONDITIONAL(DRI, test x$DRI = xyes) -if test "$DRI" = yes; then - PKG_CHECK_MODULES(DRI, [xf86driproto glproto]) - AC_DEFINE(XF86DRI,1,[Enable DRI driver support]) - AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support]) -fi - AM_CONDITIONAL(VIDEO_DEBUG, test x$VIDEO_DEBUG = xyes) if test "$VIDEO_DEBUG" = yes; then AC_DEFINE(VIDEO_DEBUG,1,[Enable debug support]) fi -AC_SUBST([DRI_CFLAGS]) - DRIVER_NAME=omap AC_SUBST([DRIVER_NAME]) AC_SUBST([moduledir]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/man/Makefile.in new/xf86-video-omap-0.4.3/man/Makefile.in --- old/xf86-video-omap-0.4.2/man/Makefile.in 2012-10-18 17:19:25.000000000 +0200 +++ new/xf86-video-omap-0.4.3/man/Makefile.in 2013-03-07 11:28:33.000000000 +0100 @@ -153,8 +153,6 @@ DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ DRIVER_NAME = @DRIVER_NAME@ -DRI_CFLAGS = @DRI_CFLAGS@ -DRI_LIBS = @DRI_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/src/Makefile.in new/xf86-video-omap-0.4.3/src/Makefile.in --- old/xf86-video-omap-0.4.2/src/Makefile.in 2012-10-18 17:19:26.000000000 +0200 +++ new/xf86-video-omap-0.4.3/src/Makefile.in 2013-03-07 11:28:34.000000000 +0100 @@ -194,8 +194,6 @@ DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ DRIVER_NAME = @DRIVER_NAME@ -DRI_CFLAGS = @DRI_CFLAGS@ -DRI_LIBS = @DRI_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/src/drmmode_display.c new/xf86-video-omap-0.4.3/src/drmmode_display.c --- old/xf86-video-omap-0.4.2/src/drmmode_display.c 2012-10-18 13:07:47.000000000 +0200 +++ new/xf86-video-omap-0.4.3/src/drmmode_display.c 2013-01-11 18:07:42.000000000 +0100 @@ -225,9 +225,11 @@ { #if XF86_CRTC_VERSION >= 4 ScrnInfoPtr pScrn = crtc->scrn; + OMAPPtr pOMAP = OMAPPTR(pScrn); drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; - if (!(rotation & ~SUPPORTED_ROTATIONS)) { + if (has_rotation(pOMAP) && + !(rotation & ~SUPPORTED_ROTATIONS)) { int ret; ret = drmModeObjectSetProperty(drmmode_crtc->drmmode->fd, @@ -616,6 +618,7 @@ static void drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) { + OMAPPtr pOMAP = OMAPPTR(pScrn); drmModeObjectPropertiesPtr props; xf86CrtcPtr crtc; drmmode_crtc_private_ptr drmmode_crtc; @@ -631,6 +634,7 @@ drmmode->mode_res->crtcs[num]); drmmode_crtc->drmmode = drmmode; drmmode_crtc->rotation = RR_Rotate_0; + drmmode_crtc->prop_rotation = 0; /* find properties that we care about: */ props = drmModeObjectGetProperties(drmmode->fd, @@ -642,6 +646,7 @@ prop = drmModeGetProperty(drmmode->fd, props->props[i]); if (!strcmp(prop->name, "rotation")) { drmmode_crtc->prop_rotation = prop->prop_id; + pOMAP->rotation_supported = TRUE; } drmModeFreeProperty(prop); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/src/omap_dri2.c new/xf86-video-omap-0.4.3/src/omap_dri2.c --- old/xf86-video-omap-0.4.2/src/omap_dri2.c 2012-10-18 13:07:47.000000000 +0200 +++ new/xf86-video-omap-0.4.3/src/omap_dri2.c 2013-01-11 18:07:42.000000000 +0100 @@ -515,8 +515,9 @@ } if (pPriv->cmd) { /* dispatch queued flip: */ - OMAPDRI2SwapDispatch(pDraw, pPriv->cmd); + OMAPDRISwapCmd *cmd = pPriv->cmd; pPriv->cmd = NULL; + OMAPDRI2SwapDispatch(pDraw, cmd); } pPriv->pending_swaps--; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-omap-0.4.2/src/omap_driver.h new/xf86-video-omap-0.4.3/src/omap_driver.h --- old/xf86-video-omap-0.4.2/src/omap_driver.h 2012-10-18 13:07:47.000000000 +0200 +++ new/xf86-video-omap-0.4.3/src/omap_driver.h 2013-01-11 18:07:42.000000000 +0100 @@ -149,6 +149,9 @@ int scanout_w, scanout_h; Bool scanout_rotate; + /** Does kernel support rotation? */ + Bool rotation_supported; + /** Pointer to the options for this screen. */ OptionInfoPtr pOptionInfo; @@ -187,8 +190,7 @@ static inline Bool has_rotation(OMAPPtr pOMAP) { #if XF86_CRTC_VERSION >= 4 - // TODO .. should somehow check if driver has rotation property.. - return has_dmm(pOMAP); + return has_dmm(pOMAP) && pOMAP->rotation_supported; #else return FALSE; #endif -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
