Hello community,

here is the log from the commit of package xorg-x11-driver-video for 
openSUSE:Factory
checked in at Fri Mar 18 10:09:31 CET 2011.



--------
--- xorg-x11-driver-video/xorg-x11-driver-video.changes 2011-03-16 
18:46:17.000000000 +0100
+++ 
/mounts/work_src_done/STABLE/xorg-x11-driver-video/xorg-x11-driver-video.changes
    2011-03-17 19:00:12.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Mar 17 17:51:37 UTC 2011 - [email protected]
+
+- xf86-video-ati-kms-don-t-rotate-if-acceleration-is-not-enabled.patch
+  * kms: don't rotate if acceleration is not enabled (bnc #675453)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  xf86-video-ati-kms-don-t-rotate-if-acceleration-is-not-enabled.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xorg-x11-driver-video.spec ++++++
--- /var/tmp/diff_new_pack.cf0wdq/_old  2011-03-18 10:08:29.000000000 +0100
+++ /var/tmp/diff_new_pack.cf0wdq/_new  2011-03-18 10:08:29.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.6
-Release:        57
+Release:        58
 License:        MIT License (or similar)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Group:          System/X11/Servers/XF86_4
@@ -106,6 +106,7 @@
 Patch150:       xf86-video-intel-dell_backlight.diff
 Patch155:       xf86-video-intel-copyfb.diff
 Patch156:       
xf86-video-intel-uxa-Undo-damage-translation-before-appending.patch
+Patch157:       
xf86-video-ati-kms-don-t-rotate-if-acceleration-is-not-enabled.patch
 
 %description
 This package contains X.Org video drivers.
@@ -152,6 +153,7 @@
 %patch68 -p2
 %patch69 -p2
 %patch131 -p1
+%patch157 -p1
 popd
 pushd xf86-video-fbdev-*
 %patch71

++++++ xf86-video-ati-kms-don-t-rotate-if-acceleration-is-not-enabled.patch 
++++++
>From 88304fe9c0ce69012d44a77a5368c35236511dac Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Mon, 28 Feb 2011 11:29:19 -0500
Subject: [PATCH] kms: don't rotate if acceleration is not enabled

Signed-off-by: Alex Deucher <[email protected]>
---
 src/drmmode_display.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index a972389..7873d57 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -445,6 +445,8 @@ drmmode_show_cursor (xf86CrtcPtr crtc)
 static void *
 drmmode_crtc_shadow_allocate(xf86CrtcPtr crtc, int width, int height)
 {
+       ScrnInfoPtr pScrn = crtc->scrn;
+       RADEONInfoPtr info = RADEONPTR(pScrn);
        drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
        drmmode_ptr drmmode = drmmode_crtc->drmmode;
        int size;
@@ -453,6 +455,13 @@ drmmode_crtc_shadow_allocate(xf86CrtcPtr crtc, int width, 
int height)
        unsigned long rotate_pitch;
        int base_align;
 
+       /* rotation requires acceleration */
+       if (info->r600_shadow_fb) {
+               xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+                          "Rotation requires acceleration!\n");
+               return NULL;
+       }
+
        rotate_pitch =
                RADEON_ALIGN(width, drmmode_get_pitch_align(crtc->scrn, 
drmmode->cpp, 0)) * drmmode->cpp;
        height = RADEON_ALIGN(height, drmmode_get_height_align(crtc->scrn, 0));
-- 
1.7.4.1


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to