Mesa (master): radeonsi: disable SDMA texture copying on Carrizo

Marek Olšák mareko at kemper.freedesktop.org
Thu Aug 25 12:55:59 UTC 2016


Module: Mesa
Branch: master
Commit: 3ff0b67e1b6b492d5793c1580f4be0c6f58a1bc2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ff0b67e1b6b492d5793c1580f4be0c6f58a1bc2

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Aug 24 23:34:01 2016 +0200

radeonsi: disable SDMA texture copying on Carrizo

Cc: 12.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

---

 src/gallium/drivers/radeonsi/cik_sdma.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c
index a36bbce..d15d8dc 100644
--- a/src/gallium/drivers/radeonsi/cik_sdma.c
+++ b/src/gallium/drivers/radeonsi/cik_sdma.c
@@ -520,6 +520,12 @@ static void cik_sdma_copy(struct pipe_context *ctx,
 		return;
 	}
 
+	/* Carrizo SDMA texture copying is very broken for some users.
+	 * https://bugs.freedesktop.org/show_bug.cgi?id=97029
+	 */
+	if (sctx->b.family == CHIP_CARRIZO)
+		goto fallback;
+
 	if (cik_sdma_copy_texture(sctx, dst, dst_level, dstx, dsty, dstz,
 				  src, src_level, src_box))
 		return;




More information about the mesa-commit mailing list