diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-11 20:48:05 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-14 16:11:26 +0200 |
commit | 072b5acc7edec1530acc0497b48616bf8dd93313 (patch) | |
tree | 900a7f7a647a6bee38a13eeea8aebadd9917dc84 /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | drm/radeon: Disable dma rings for bo moves on r6xx (diff) | |
download | linux-072b5acc7edec1530acc0497b48616bf8dd93313.tar.xz linux-072b5acc7edec1530acc0497b48616bf8dd93313.zip |
drm/radeon: implement bo copy callback using CP DMA (v2)
Lighter weight than using the 3D engine.
v2: fix ring count
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index 45d0693cddd5..b04b5789f4a8 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -340,6 +340,9 @@ int r600_uvd_ring_test(struct radeon_device *rdev, struct radeon_ring *ring); int r600_copy_blit(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence); +int r600_copy_cpdma(struct radeon_device *rdev, + uint64_t src_offset, uint64_t dst_offset, + unsigned num_gpu_pages, struct radeon_fence **fence); int r600_copy_dma(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence); |