[Mesa-dev] [PATCH 3/8] radeonsi: enable SDMA on CIK
Marek Olšák
maraeo at gmail.com
Thu Aug 18 19:46:39 UTC 2016
From: Marek Olšák <marek.olsak at amd.com>
It passes R600_DEBUG=testdma on Bonaire/radeon.
---
src/gallium/drivers/radeonsi/cik_sdma.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c
index a36bbce..2eade50 100644
--- a/src/gallium/drivers/radeonsi/cik_sdma.c
+++ b/src/gallium/drivers/radeonsi/cik_sdma.c
@@ -158,24 +158,20 @@ static bool cik_sdma_copy_texture(struct si_context *sctx,
assert(src_level <= src->last_level);
assert(dst_level <= dst->last_level);
assert(rdst->surface.level[dst_level].offset +
dst_slice_pitch * bpp * (dstz + src_box->depth) <=
rdst->resource.buf->size);
assert(rsrc->surface.level[src_level].offset +
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;
dstx /= rdst->surface.blk_w;
dsty /= rdst->surface.blk_h;
if (srcx >= (1 << 14) ||
srcy >= (1 << 14) ||
srcz >= (1 << 11) ||
--
2.7.4
More information about the mesa-dev
mailing list