radeonsi/gfx10: disable SDMA
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 13 Nov 2017 16:23:15 +0000 (17:23 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:13 +0000 (15:51 -0400)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_pipe.c

index e25c65abda887ef2d58cc5aed66fc47538955945..d5906fa22333deaff5d18ff11891ba3196d430e1 100644 (file)
@@ -448,6 +448,8 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
        if (!sctx->ctx)
                goto fail;
 
+       if (sscreen->info.chip_class == GFX10)
+               sscreen->debug_flags |= DBG(NO_ASYNC_DMA); /* TODO-GFX10: implement this */
        if (sscreen->info.num_sdma_rings && !(sscreen->debug_flags & DBG(NO_ASYNC_DMA))) {
                sctx->dma_cs = sctx->ws->cs_create(sctx->ctx, RING_DMA,
                                                   (void*)si_flush_dma_cs,