diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-11 14:53:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-14 10:11:26 -0400 |
commit | bfea6a6803396c6b2240bff59c0dc80420a840f3 (patch) | |
tree | 06c7c5a760e642ec8dd2cd0ba6a0acba9272cd8a /drivers/gpu | |
parent | 072b5acc7edec1530acc0497b48616bf8dd93313 (diff) |
drm/radeon: use CP DMA on r6xx for bo moves
Lighter weight than using the 3D engine.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index ea5c52b1f445..fea997e247ba 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c | |||
@@ -1026,7 +1026,7 @@ static struct radeon_asic r600_asic = { | |||
1026 | .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX, | 1026 | .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX, |
1027 | .dma = &r600_copy_dma, | 1027 | .dma = &r600_copy_dma, |
1028 | .dma_ring_index = R600_RING_TYPE_DMA_INDEX, | 1028 | .dma_ring_index = R600_RING_TYPE_DMA_INDEX, |
1029 | .copy = &r600_copy_blit, | 1029 | .copy = &r600_copy_cpdma, |
1030 | .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX, | 1030 | .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX, |
1031 | }, | 1031 | }, |
1032 | .surface = { | 1032 | .surface = { |
@@ -1119,7 +1119,7 @@ static struct radeon_asic rv6xx_asic = { | |||
1119 | .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX, | 1119 | .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX, |
1120 | .dma = &r600_copy_dma, | 1120 | .dma = &r600_copy_dma, |
1121 | .dma_ring_index = R600_RING_TYPE_DMA_INDEX, | 1121 | .dma_ring_index = R600_RING_TYPE_DMA_INDEX, |
1122 | .copy = &r600_copy_blit, | 1122 | .copy = &r600_copy_cpdma, |
1123 | .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX, | 1123 | .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX, |
1124 | }, | 1124 | }, |
1125 | .surface = { | 1125 | .surface = { |
@@ -1229,7 +1229,7 @@ static struct radeon_asic rs780_asic = { | |||
1229 | .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX, | 1229 | .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX, |
1230 | .dma = &r600_copy_dma, | 1230 | .dma = &r600_copy_dma, |
1231 | .dma_ring_index = R600_RING_TYPE_DMA_INDEX, | 1231 | .dma_ring_index = R600_RING_TYPE_DMA_INDEX, |
1232 | .copy = &r600_copy_blit, | 1232 | .copy = &r600_copy_cpdma, |
1233 | .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX, | 1233 | .copy_ring_index = RADEON_RING_TYPE_GFX_INDEX, |
1234 | }, | 1234 | }, |
1235 | .surface = { | 1235 | .surface = { |