radeonsi/gfx9: enable the constant engine
authorMarek Olšák <marek.olsak@amd.com>
Fri, 12 May 2017 22:40:34 +0000 (00:40 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 21 Jun 2017 23:51:02 +0000 (01:51 +0200)
I think this kernel commit fixes it:
     drm/amdgpu:use FRAME_CNTL for new GFX ucode

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c

index d2ba8df00dbf73a038340a88d0892ad523e9b66f..a4f3c2d6149bde02d3b8b035b23a07878e4cab89 100644 (file)
@@ -204,10 +204,7 @@ 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 &&
-           /* Some CE bug is causing green screen corruption w/ MPV video
-            * playback and occasional corruption w/ 3D. */
-           sscreen->b.chip_class != GFX9) {
+           sscreen->b.family != CHIP_STONEY) {
                sctx->ce_ib = ws->cs_add_const_ib(sctx->b.gfx.cs);
                if (!sctx->ce_ib)
                        goto fail;