Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
we've had a patch for #775264 sitting in git since January. This should
go in jessie. Diff below, imagine its version is fixed and
s/UNRELEASED/jessie/.
Cheers,
Julien
diff --git a/debian/changelog b/debian/changelog
index 4828bbb..df3f044 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mesa (10.3.2-2) UNRELEASED; urgency=medium
+
+ * radeonsi-disable-asynchronous-dma.diff: Disable asynchronous DMA
+ on radeonsi which can cause lockups. (Closes: #775264)
+
+ -- Timo Aaltonen <tjaalton@debian.org> Wed, 14 Jan 2015 16:40:19 +0200
+
mesa (10.3.2-1) unstable; urgency=medium
[ Sven Joachim ]
diff --git a/debian/patches/radeonsi-disable-asynchronous-dma.diff b/debian/patches/radeonsi-disable-asynchronous-dma.diff
new file mode 100644
index 0000000..1e94814
--- /dev/null
+++ b/debian/patches/radeonsi-disable-asynchronous-dma.diff
@@ -0,0 +1,45 @@
+commit ae4536b4f71cbe76230ea7edc7eb4d6041e651b4
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Tue Nov 11 16:10:20 2014 +0900
+
+ radeonsi: Disable asynchronous DMA except for PIPE_BUFFER
+
+ Using the asynchronous DMA engine for multi-dimensional operations seems
+ to cause random GPU lockups for various people. While the root cause for
+ this might need to be fixed in the kernel, let's disable it for now.
+
+ Before re-enabling this, please make sure you can hit all newly enabled
+ paths in your testing, preferably with both piglit and real world apps,
+ and get in touch with people on the bug reports below for stability
+ testing.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85647
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83500
+ Cc: "10.3 10.4" <mesa-stable@lists.freedesktop.org>
+ Reviewed-by: Marek Olšák <marek.olsak@amd.com>
+ Reviewed-by: Grigori Goronzy <greg@chown.ath.cx>
+
+--- a/src/gallium/drivers/radeonsi/si_dma.c
++++ b/src/gallium/drivers/radeonsi/si_dma.c
+@@ -270,6 +270,21 @@ void si_dma_copy(struct pipe_context *ct
+ return;
+ }
+
++ /* XXX: Using the asynchronous DMA engine for multi-dimensional
++ * operations seems to cause random GPU lockups for various people.
++ * While the root cause for this might need to be fixed in the kernel,
++ * let's disable it for now.
++ *
++ * Before re-enabling this, please make sure you can hit all newly
++ * enabled paths in your testing, preferably with both piglit and real
++ * world apps, and get in touch with people on the bug reports below
++ * for stability testing.
++ *
++ * https://bugs.freedesktop.org/show_bug.cgi?id=85647
++ * https://bugs.freedesktop.org/show_bug.cgi?id=83500
++ */
++ goto fallback;
++
+ if (src->format != dst->format || src_box->depth > 1 ||
+ rdst->dirty_level_mask != 0) {
+ goto fallback;
diff --git a/debian/patches/series b/debian/patches/series
index 9f0749f..d37557a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
07_gallium-fix-build-failure-on-powerpcspe.diff
+radeonsi-disable-asynchronous-dma.diff
Attachment:
signature.asc
Description: Digital signature