diff options
author | Marek Olšák <[email protected]> | 2013-02-21 17:06:26 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-03-01 13:46:32 +0100 |
commit | 58bd926d9e555e7be4af576fae60a65774d9d743 (patch) | |
tree | 114f61b33219cf3499e3fcbf3e623c4c9c577b49 /src/gallium/drivers/r600/r600_hw_context.c | |
parent | 89e2898e9ecfcf93c337b99542b06892a8e30cbe (diff) |
r600g: don't require dword alignment with CP DMA for buffer transfers
which is a leftover from the days when we used streamout to copy buffers
Tested-by: Andreas Boll <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_hw_context.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_hw_context.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index c2f3aab7813..677c6fca4f4 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -1087,12 +1087,7 @@ void r600_cp_dma_copy_buffer(struct r600_context *rctx, struct radeon_winsys_cs *cs = rctx->rings.gfx.cs; assert(size); - assert(rctx->chip_class != R600); - - /* CP DMA doesn't work on R600 (flushing seems to be unreliable). */ - if (rctx->chip_class == R600) { - return; - } + assert(rctx->screen->has_cp_dma); dst_offset += r600_resource_va(&rctx->screen->screen, dst); src_offset += r600_resource_va(&rctx->screen->screen, src); |