radeonsi/gfx10: enable SDMA
authorMarek Olšák <marek.olsak@amd.com>
Sat, 13 Jul 2019 00:21:01 +0000 (20:21 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 20 Jul 2019 00:16:19 +0000 (20:16 -0400)
no changes since gfx9 for buffers

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/radeonsi/si_pipe.c

index 1070903fa32455b68feeb8846921570484694f57..8bd9828f8532933e2d2bbd8290bdaeb4e1a24e30 100644 (file)
@@ -446,8 +446,6 @@ 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,