radeonsi/gfx9: disable CE
authorMarek Olšák <marek.olsak@amd.com>
Mon, 20 Mar 2017 15:22:16 +0000 (16:22 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 31 Mar 2017 19:41:57 +0000 (21:41 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c

index 19c9a17..dfe0c25 100644 (file)
@@ -189,7 +189,10 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
            sscreen->b.chip_class != SI &&
            /* These can't use CE due to a power gating bug in the kernel. */
            sscreen->b.family != CHIP_CARRIZO &&
-           sscreen->b.family != CHIP_STONEY) {
+           sscreen->b.family != CHIP_STONEY &&
+           /* Some CE bug is causing green screen corruption w/ MPV video
+            * playback and occasional corruption w/ 3D. */
+           sscreen->b.chip_class != GFX9) {
                sctx->ce_ib = ws->cs_add_const_ib(sctx->b.gfx.cs);
                if (!sctx->ce_ib)
                        goto fail;