drm/radeon: plug in blit copy routine for SI
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2013 20:17:14 +0000 (16:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Nov 2013 16:43:15 +0000 (12:43 -0400)
Uses CP DMA packet just like previous asics.
Useful for debugging and benchmarking.  Uses
same packet format as prior asics.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_asic.c

index 8f7e04538fd624a5ecb1c302e8b9d5f2455f808a..eee5c4a2f166bcd1dce0e27267dfd4ca58f0be41 100644 (file)
@@ -1879,7 +1879,7 @@ static struct radeon_asic si_asic = {
                .hdmi_setmode = &evergreen_hdmi_setmode,
        },
        .copy = {
-               .blit = NULL,
+               .blit = &r600_copy_cpdma,
                .blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
                .dma = &si_copy_dma,
                .dma_ring_index = R600_RING_TYPE_DMA_INDEX,