summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-10-22 12:22:39 -0400
committerAlex Deucher <alexander.deucher@amd.com>2012-12-10 17:21:42 -0500
commit33e5467871b3007c4e6deea95b2cac38a55ff9f5 (patch)
tree3fe759b9fabe30e9abd656aeb968bd9e4765f8fe /drivers
parent3b6b59b610f0c0f351e68ec3eff9ab51ef75fb1a (diff)
downloadlinux-stable-33e5467871b3007c4e6deea95b2cac38a55ff9f5.tar.gz
linux-stable-33e5467871b3007c4e6deea95b2cac38a55ff9f5.tar.bz2
linux-stable-33e5467871b3007c4e6deea95b2cac38a55ff9f5.zip
drm/radeon: use DMA engine for VM page table updates on cayman/TN
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')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 850506061a80..8b8f218626ad 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -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 = {