radeonsi: enable SDMA on CIK
authorMarek Olšák <marek.olsak@amd.com>
Thu, 18 Aug 2016 11:03:26 +0000 (13:03 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 26 Aug 2016 13:50:10 +0000 (15:50 +0200)
It passes R600_DEBUG=testdma on Bonaire/radeon.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/cik_sdma.c

index d15d8dc8bb3bb1cdd78f60d2e8153b651f512bfc..e1fd050339005123a0be74016d819c6d3fec0758 100644 (file)
@@ -165,10 +165,6 @@ static bool cik_sdma_copy_texture(struct si_context *sctx,
               src_slice_pitch * bpp * (srcz + src_box->depth) <=
               rsrc->resource.buf->size);
 
-       /* Test CIK with radeon and amdgpu before enabling this. */
-       if (sctx->b.chip_class == CIK)
-               return false;
-
        if (!r600_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty,
                                        dstz, rsrc, src_level, src_box))
                return false;