Hello community,

here is the log from the commit of package xf86-video-intel for 
openSUSE:Factory checked in at 2014-12-17 19:15:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-intel (Old)
 and      /work/SRC/openSUSE:Factory/.xf86-video-intel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-video-intel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-video-intel/xf86-video-intel.changes        
2014-09-26 10:51:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xf86-video-intel.new/xf86-video-intel.changes   
2014-12-17 19:14:26.000000000 +0100
@@ -1,0 +2,14 @@
+Fri Dec 12 11:57:16 CET 2014 - [email protected]
+
+- U_uxa-Stub-out-intel_sync_init-fini-when-not-compiled-.patch
+  Fix the missing intel_sync_close() w/o DRI3 (bnc#908323)
+
+-------------------------------------------------------------------
+Thu Dec  4 09:48:55 CET 2014 - [email protected]
+
+- U_Disable-DRI3-by-default.patch
+  Disable DRI3 (bnc#908323)
+- U_sna-gen8-BLT-broken-when-address-has-bit-4-set.patch
+  Fix SNA BLT on BDW/CHV (bnc#908326)
+
+-------------------------------------------------------------------

New:
----
  U_Disable-DRI3-by-default.patch
  U_sna-gen8-BLT-broken-when-address-has-bit-4-set.patch
  U_uxa-Stub-out-intel_sync_init-fini-when-not-compiled-.patch

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

Other differences:
------------------
++++++ xf86-video-intel.spec ++++++
--- /var/tmp/diff_new_pack.Lx3Axt/_old  2014-12-17 19:14:30.000000000 +0100
+++ /var/tmp/diff_new_pack.Lx3Axt/_new  2014-12-17 19:14:30.000000000 +0100
@@ -89,6 +89,9 @@
 
 Patch0:         U_sna_dri3_mesa_relies_upon_implicit_fences.patch
 Patch1:         U_sna-Validate-framebuffer-tiling-before-creation.patch
+Patch2:         U_Disable-DRI3-by-default.patch
+Patch3:         U_sna-gen8-BLT-broken-when-address-has-bit-4-set.patch
+Patch4:         U_uxa-Stub-out-intel_sync_init-fini-when-not-compiled-.patch
 
 %x11_abi_videodrv_req
 
@@ -108,6 +111,9 @@
 
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 autoreconf -fi

++++++ U_Disable-DRI3-by-default.patch ++++++
>From b6eeb7a1f7efa591504070b606be655e27e6e9c2 Mon Sep 17 00:00:00 2001
From: Chris Wilson <[email protected]>
Date: Wed, 5 Nov 2014 13:03:41 +0000
Subject: [PATCH] Disable DRI3 by default
Git-commit: b6eeb7a1f7efa591504070b606be655e27e6e9c2
References: bnc#908323

The external libraries, both in git, and especially shipping already
enabled in distributions, are buggy and lead to server crashes and
lockups. Caveat emptor.

Signed-off-by: Chris Wilson <[email protected]>
Acked-by: Takashi Iwai <[email protected]>

---
 configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/configure.ac
+++ b/configure.ac
@@ -339,10 +339,10 @@ AC_ARG_ENABLE(dri2,
              [DRI2=$enableval],
              [DRI2=yes])
 AC_ARG_ENABLE(dri3,
-             AS_HELP_STRING([--disable-dri3],
-                            [Disable DRI3 support [[default=yes]]]),
+             AS_HELP_STRING([--enable-dri3],
+                            [Enable DRI3 support [[default=no]]]),
              [DRI3=$enableval],
-             [DRI3=yes])
+             [DRI3=no])
 
 AC_ARG_ENABLE(xvmc, AS_HELP_STRING([--disable-xvmc],
                                   [Disable XvMC support [[default=yes]]]),
++++++ U_sna-gen8-BLT-broken-when-address-has-bit-4-set.patch ++++++
>From 3a22b6f6d55a5b1e0a1c0a3d597996268ed439ad Mon Sep 17 00:00:00 2001
From: Mika Kuoppala <[email protected]>
Date: Wed, 19 Nov 2014 15:10:05 +0200
Subject: [PATCH] sna: gen8 BLT broken when address has bit 4 set
Git-commit: 3a22b6f6d55a5b1e0a1c0a3d597996268ed439ad
References: bnc#908326

With bit 4 set in address, the gen8 blitter fails and blits errorneously
into the cacheline preceeding the destination and similarly when reading from
the source, corrupting memory.

V2: Update the destination base offset pattern as revealed
    by igt/tests/gem_userptr_blits/destination-bo-align

V3: Check base address as well

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79053
Cc: Chris Wilson <[email protected]>
Tested-by: [email protected] [v2]
Signed-off-by: Mika Kuoppala <[email protected]>
Acked-by: Takashi Iwai <[email protected]>

---
 src/sna/kgem.h |   13 +++++++++++++
 1 file changed, 13 insertions(+)

--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -548,6 +548,13 @@ static inline bool kgem_bo_blt_pitch_is_
                                           struct kgem_bo *bo)
 {
        int pitch = bo->pitch;
+
+       if (kgem->gen >= 0100 && pitch & (1 << 4)) { /* bdw is broken */
+               DBG(("%s: can not blt to handle=%d, pitch=%d\n",
+                    __FUNCTION__, bo->handle, pitch));
+               return false;
+       }
+
        if (kgem->gen >= 040 && bo->tiling)
                pitch /= 4;
        if (pitch > MAXSHORT) {
@@ -570,6 +577,12 @@ static inline bool kgem_bo_can_blt(struc
                return false;
        }
 
+       if (kgem->gen >= 0100 && bo->proxy && bo->delta & (1 << 4)) {
+               DBG(("%s: can not blt to handle=%d, delta=%d\n",
+                    __FUNCTION__, bo->handle, bo->delta));
+               return false;
+       }
+
        return kgem_bo_blt_pitch_is_ok(kgem, bo);
 }
 
++++++ U_uxa-Stub-out-intel_sync_init-fini-when-not-compiled-.patch ++++++
>From 067115a51b2646538a38ba603c688233c61e23cd Mon Sep 17 00:00:00 2001
From: Chris Wilson <[email protected]>
Date: Mon, 15 Sep 2014 08:44:41 +0100
Subject: [PATCH] uxa: Stub out intel_sync_init|fini when not compiled in

In order to fix the build without DRI3, we need to stub out the
functions not compiled in, such as intel_sync_fini().

Reported-by: Sedat Dilek <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
---
 src/uxa/intel.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/uxa/intel.h
+++ b/src/uxa/intel.h
@@ -742,7 +742,7 @@ Bool intel_sync_init(ScreenPtr screen);
 void intel_sync_close(ScreenPtr screen);
 #else
 static inline Bool intel_sync_init(ScreenPtr screen) { return 0; }
-void intel_sync_close(ScreenPtr screen);
+static inline void intel_sync_close(ScreenPtr screen) { }
 #endif
 
 /*
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to