drm/radeon: switch back to using the DMA ring for VM PT updates
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Jan 2013 21:26:02 +0000 (16:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Feb 2013 18:57:10 +0000 (13:57 -0500)
Now that we have switched to using IBs for page table updates,
we can switch back the using the DMA ring.

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

index 82b5ef0..60edad7 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 = {
@@ -1572,7 +1572,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 = {
@@ -1699,7 +1699,7 @@ static struct radeon_asic si_asic = {
        .vm = {
                .init = &si_vm_init,
                .fini = &si_vm_fini,
-               .pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
+               .pt_ring_index = R600_RING_TYPE_DMA_INDEX,
                .set_page = &si_vm_set_page,
        },
        .ring = {