drm/radeon: use DMA engine for VM page table updates on cayman/TN
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Oct 2012 16:22:39 +0000 (12:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Dec 2012 22:21:42 +0000 (17:21 -0500)
DMA engine has special packets to facilitate this and it also keeps
the 3D engine free for other things.

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

index 850506061a80d1a65b4952866ad8ff4994b74ad6..8b8f218626ad6bf9e7e95ab7cdf55d5ea47cb03d 100644 (file)
@@ -1445,7 +1445,7 @@ static struct radeon_asic cayman_asic = {
        .vm = {
                .init = &cayman_vm_init,
                .fini = &cayman_vm_fini,
-               .pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
+               .pt_ring_index = R600_RING_TYPE_DMA_INDEX,
                .set_page = &cayman_vm_set_page,
        },
        .ring = {
@@ -1570,7 +1570,7 @@ static struct radeon_asic trinity_asic = {
        .vm = {
                .init = &cayman_vm_init,
                .fini = &cayman_vm_fini,
-               .pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
+               .pt_ring_index = R600_RING_TYPE_DMA_INDEX,
                .set_page = &cayman_vm_set_page,
        },
        .ring = {