summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-10-22 18:34:39 +0200
committerAlex Deucher <alexander.deucher@amd.com>2012-12-10 23:21:43 +0100
commitbf66a786c92488dfc99cc7f19bc9eda7b4c98fa6 (patch)
tree76320140b5130273fc81a760f92c4bacfd89c80a /drivers/gpu/drm/radeon
parentdrm/radeon: add dma engine support for vm pt updates on si (v2) (diff)
downloadlinux-bf66a786c92488dfc99cc7f19bc9eda7b4c98fa6.tar.xz
linux-bf66a786c92488dfc99cc7f19bc9eda7b4c98fa6.zip
drm/radeon: use DMA engine for VM page table updates on SI
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>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 8b8f218626ad..3ea0475f9a95 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -1695,7 +1695,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 = {