summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-02-21 17:06:26 +0100
committerMarek Olšák <[email protected]>2013-03-01 13:46:32 +0100
commit58bd926d9e555e7be4af576fae60a65774d9d743 (patch)
tree114f61b33219cf3499e3fcbf3e623c4c9c577b49 /src/gallium/drivers/r600/r600_pipe.c
parent89e2898e9ecfcf93c337b99542b06892a8e30cbe (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_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index a0504d14291..e81856c5f33 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -1123,6 +1123,8 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
break;
}
+ rscreen->has_cp_dma = rscreen->info.drm_minor >= 27 && rscreen->chip_class >= R700;
+
if (r600_init_tiling(rscreen)) {
FREE(rscreen);
return NULL;