radeonsi: disable SDMA texture copying on Carrizo
authorMarek Olšák <marek.olsak@amd.com>
Wed, 24 Aug 2016 21:34:01 +0000 (23:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 25 Aug 2016 12:51:08 +0000 (14:51 +0200)
Cc: 12.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/cik_sdma.c

index a36bbcee3930ac3367bab9ef04dc75ff2c52c810..d15d8dc8bb3bb1cdd78f60d2e8153b651f512bfc 100644 (file)
@@ -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;