summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/cik_sdma.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-08-24 23:34:01 +0200
committerMarek Olšák <[email protected]>2016-08-25 14:51:08 +0200
commit3ff0b67e1b6b492d5793c1580f4be0c6f58a1bc2 (patch)
tree7d138a0c1eee681d43590fdf07f6559c5ed1aecc /src/gallium/drivers/radeonsi/cik_sdma.c
parent1276316d67b3a663175a26802536b8fd6addc9b0 (diff)
radeonsi: disable SDMA texture copying on Carrizo
Cc: 12.0 <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/cik_sdma.c')
-rw-r--r--src/gallium/drivers/radeonsi/cik_sdma.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c
index a36bbcee393..d15d8dc8bb3 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;