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

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

radeonsi: disable SDMA texture copying on Carrizo

Cc: 12.0 <mesa-sta...@lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daen...@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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to